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