init commit
This commit is contained in:
parent
cd78d5b172
commit
1a9746a773
7 changed files with 158 additions and 2 deletions
18
main.tf
Normal file
18
main.tf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
locals {
|
||||
default_remote = "lappy"
|
||||
instances = {
|
||||
"tofu-example" = {
|
||||
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
resource "incus_instance" "demo" {
|
||||
name = "demo"
|
||||
image = "images:fedora/42"
|
||||
config = {
|
||||
"boot.autostart" = true
|
||||
"limits.cpu" = 2
|
||||
"limits.memory" = "4GiB"
|
||||
}
|
||||
}
|
||||
Reference in a new issue