Files
terraform/juju/home-maas-focal/lma/20-model.tf
Arif Ali 1ca320e672 update the focal tf templates
* Now with cross-model relations
* Added infra and controller model
* Fixed lma model
* Updated variables and linking to model juju_model resource instead
2024-11-19 22:25:21 +00:00

19 lines
413 B
HCL

resource "juju_model" "lma" {
name = var.lma-model-name
cloud {
name = var.cloud
}
config = {
apt-mirror = "http://archive.ubuntu.com/ubuntu"
lxd-snap-channel = var.lxd-snap-channel
container-image-metadata-url = "http://${var.apt_mirror}/lxd/"
container-image-stream = "released"
agent-metadata-url = "http://${var.apt_mirror}/juju/tools/"
agent-stream = "released"
}
}