diff --git a/main.tf b/main.tf index cac49a3..b0e9db2 100644 --- a/main.tf +++ b/main.tf @@ -1,4 +1,4 @@ -# resource "incus_instance" "demo-tofu" { +# resource "incus_instance" "demo" { # name = "demo" # image = "images:fedora/42" # config = { diff --git a/providers.tf b/providers.tf index 6131e2e..6a62ccd 100644 --- a/providers.tf +++ b/providers.tf @@ -1,6 +1,6 @@ terraform { cloud { - hostname = "tofu.skdevstudios.com" + hostname = "localhost:9000" organization = "skdevs" workspaces { @@ -14,7 +14,7 @@ terraform { } } } -variable "incus_token" { +variable "token" { type = string } provider "incus" { @@ -23,10 +23,10 @@ provider "incus" { remote { default = true - name = "tofu-prod" + name = "otf" scheme = "https" address = "olympus.tailfc9f5.ts.net" - token = var.incus_token + token = var.token } }