terraform/juju/local-lxd/01-cloud.tf
Arif Ali 47b58e8c65
More terraform plans
* Add all the ceph juju resources
* Initial start of the MAAS resources
* test of a local-lxd juju environment
2023-11-29 08:13:37 +00:00

22 lines
481 B
HCL

resource "juju_model" "default" {
name = "default"
cloud {
name = "localhost"
region = "localhost"
}
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"
}
}