diff --git a/terraform/main.tf b/terraform/main.tf index 8e9edcf7..ca127af7 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -1,2 +1,17 @@ provider "lxd" { } + +resource "lxd_container" "test1" { + name = "test1" + remote = "images" + image = "ubuntu/18.04" + ephemeral = false + + config = { + "boot.autostart" = true + } + + limits = { + cpu = 2 + } +}