From 227469435a7f523ded33f22b1f6743dd96aa41f4 Mon Sep 17 00:00:00 2001 From: Jermeiah S Date: Sun, 15 Jun 2025 17:15:18 -0400 Subject: [PATCH 1/2] update provider config for prod --- providers.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/providers.tf b/providers.tf index 6a62ccd..6131e2e 100644 --- a/providers.tf +++ b/providers.tf @@ -1,6 +1,6 @@ terraform { cloud { - hostname = "localhost:9000" + hostname = "tofu.skdevstudios.com" organization = "skdevs" workspaces { @@ -14,7 +14,7 @@ terraform { } } } -variable "token" { +variable "incus_token" { type = string } provider "incus" { @@ -23,10 +23,10 @@ provider "incus" { remote { default = true - name = "otf" + name = "tofu-prod" scheme = "https" address = "olympus.tailfc9f5.ts.net" - token = var.token + token = var.incus_token } } From f4fe4e7625fc137878efad1486267609f0e53598 Mon Sep 17 00:00:00 2001 From: Jermeiah S Date: Sun, 15 Jun 2025 17:15:40 -0400 Subject: [PATCH 2/2] items managed by tofu should be delcared as such in some way --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index b0e9db2..cac49a3 100644 --- a/main.tf +++ b/main.tf @@ -1,4 +1,4 @@ -# resource "incus_instance" "demo" { +# resource "incus_instance" "demo-tofu" { # name = "demo" # image = "images:fedora/42" # config = {