summaryrefslogtreecommitdiff
path: root/final/debian.tf
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-08-18 11:22:14 +0200
committerjerome <jerome@xlinfo.fr>2025-08-18 11:22:14 +0200
commit4293df73e636a3bb9097d4cbe80ae8c194862f6b (patch)
treec7cbf89deac7fcbc85850938b7c926778999c9bc /final/debian.tf
downloadincus-4293df73e636a3bb9097d4cbe80ae8c194862f6b.tar.gz
incus-4293df73e636a3bb9097d4cbe80ae8c194862f6b.zip
commit initial
Diffstat (limited to 'final/debian.tf')
-rw-r--r--final/debian.tf14
1 files changed, 14 insertions, 0 deletions
diff --git a/final/debian.tf b/final/debian.tf
new file mode 100644
index 0000000..013977f
--- /dev/null
+++ b/final/debian.tf
@@ -0,0 +1,14 @@
+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}"
+ }
+ depends_on = [
+ incus_profile.lamp
+ ]
+}