terraform/juju/local-lxd/01-cloud.tf

22 lines
481 B
Terraform
Raw Normal View History

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"
}
}