From cb08d9edbb0fa24920e41fadf98757d9ddcdc057 Mon Sep 17 00:00:00 2001 From: Zakaria Date: Wed, 28 Aug 2024 03:16:42 +0000 Subject: [PATCH] stilltryingtofigureitout --- credentials.auto.tfvars | 1 - lxc_Demo.tf | 2 +- providers.tf | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/credentials.auto.tfvars b/credentials.auto.tfvars index a7b0048..c12afab 100644 --- a/credentials.auto.tfvars +++ b/credentials.auto.tfvars @@ -3,4 +3,3 @@ proxmox_api_token_id= "root@pam!TerraDemo" proxmox_api_token_secret= "bde46db3-defa-4dd6-b2d8-958ab6d202ba" root_password = "Zakaria1986!!!" ssh_public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO65p1xPly/h1Pso+G44zFnIBX2x7OfrZkXIb22JmW8J k_ansible" -instance_id = 9999 \ No newline at end of file diff --git a/lxc_Demo.tf b/lxc_Demo.tf index fc9d14e..d4fa8f5 100644 --- a/lxc_Demo.tf +++ b/lxc_Demo.tf @@ -1,6 +1,6 @@ resource "proxmox_lxc" "TerraPhore" { target_node = "ThePearl" - hostname = "lxc-secondDemo-${var.instance_id}" + hostname = "lxc-secondDemo" ostemplate = "local:vztmpl/ubuntu-24.04-standard_24.04-2_amd64.tar.zst" password = var.root_password unprivileged = true diff --git a/providers.tf b/providers.tf index 7ace352..21807c1 100644 --- a/providers.tf +++ b/providers.tf @@ -8,10 +8,6 @@ terraform { } } -variable "instance_id" { - type = number -} - variable "root_password" { type = string sensitive = true