terraform/juju/home-maas/01-cloud.tf

21 lines
461 B
Terraform
Raw Normal View History

resource "juju_model" "openstack" {
name = var.model-name
cloud {
2024-05-02 20:44:41 +00:00
name = "home-maas"
}
config = {
cloudinit-userdata = file("user-data.yaml")
apt-mirror = "http://192.168.1.12/archive.ubuntu.com/ubuntu"
lxd-snap-channel = "5.0/stable"
container-image-metadata-url = "http://192.168.1.12/lxd/"
container-image-stream = "released"
agent-metadata-url = "http://192.168.1.12/juju/tools/"
agent-stream = "released"
}
}