Arif Ali
1ca320e672
* Now with cross-model relations * Added infra and controller model * Fixed lma model * Updated variables and linking to model juju_model resource instead
21 lines
492 B
HCL
21 lines
492 B
HCL
resource "juju_model" "openstack" {
|
|
name = var.openstack-model-name
|
|
|
|
cloud {
|
|
name = var.cloud
|
|
}
|
|
|
|
config = {
|
|
cloudinit-userdata = file("user-data.yaml")
|
|
|
|
apt-mirror = "http://${var.apt_mirror}/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"
|
|
}
|
|
}
|