summaryrefslogtreecommitdiff
path: root/final/debian.tf
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-08-29 15:44:31 +0200
committerjerome <jerome@xlinfo.fr>2025-08-29 15:44:31 +0200
commit724ac3e34834c62a4875df8ae5b9deda4f90d6c2 (patch)
treeec29c272f7b8f930bd28ff176077b0c3cbc00b0f /final/debian.tf
parent65ae07a224af9ccec066ea4f6bed826ee45641f8 (diff)
downloadincus-master.tar.gz
incus-master.zip
Diffstat (limited to 'final/debian.tf')
-rw-r--r--final/debian.tf26
1 files changed, 0 insertions, 26 deletions
diff --git a/final/debian.tf b/final/debian.tf
deleted file mode 100644
index c7dfe51..0000000
--- a/final/debian.tf
+++ /dev/null
@@ -1,26 +0,0 @@
-resource "incus_instance" "debian" {
- name = "webserver1"
- project = "lamp"
- image = "images:debian/12/cloud"
- wait_for {
- type = "ipv4"
- }
- provisioner "local-exec" {
- command = "./local_script ${self.ipv4_address} ${self.name}"
- }
- connection {
- type = "ssh"
- host = self.ipv4_address
- user = "ansible"
- private_key = file("~/.ssh/id_rsa")
-
- }
- provisioner "remote-exec" {
- inline = [
- "cloud-init status || true"
- ]
- }
- depends_on = [
- incus_profile.lamp
- ]
-}