Compare commits
No commits in common. "f4fe4e7625fc137878efad1486267609f0e53598" and "49016f3456a38b1f011be29a4396f3e26ab6743f" have entirely different histories.
f4fe4e7625
...
49016f3456
2 changed files with 5 additions and 5 deletions
2
main.tf
2
main.tf
|
|
@ -1,4 +1,4 @@
|
||||||
# resource "incus_instance" "demo-tofu" {
|
# resource "incus_instance" "demo" {
|
||||||
# name = "demo"
|
# name = "demo"
|
||||||
# image = "images:fedora/42"
|
# image = "images:fedora/42"
|
||||||
# config = {
|
# config = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
terraform {
|
terraform {
|
||||||
cloud {
|
cloud {
|
||||||
hostname = "tofu.skdevstudios.com"
|
hostname = "localhost:9000"
|
||||||
organization = "skdevs"
|
organization = "skdevs"
|
||||||
|
|
||||||
workspaces {
|
workspaces {
|
||||||
|
|
@ -14,7 +14,7 @@ terraform {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
variable "incus_token" {
|
variable "token" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
provider "incus" {
|
provider "incus" {
|
||||||
|
|
@ -23,10 +23,10 @@ provider "incus" {
|
||||||
|
|
||||||
remote {
|
remote {
|
||||||
default = true
|
default = true
|
||||||
name = "tofu-prod"
|
name = "otf"
|
||||||
scheme = "https"
|
scheme = "https"
|
||||||
address = "olympus.tailfc9f5.ts.net"
|
address = "olympus.tailfc9f5.ts.net"
|
||||||
token = var.incus_token
|
token = var.token
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue