fine tuning the landscape bits
This commit is contained in:
parent
92995e5ebc
commit
62831a4e81
@ -31,6 +31,33 @@ variable apt_mirror {
|
||||
default = "192.168.1.12"
|
||||
}
|
||||
|
||||
variable "all_services" {
|
||||
type = list(string)
|
||||
default = [
|
||||
"easyrsa",
|
||||
"etcd",
|
||||
"ceilometer",
|
||||
"ceph-mon",
|
||||
# "ceph-osd",
|
||||
"ceph-radosgw",
|
||||
"cinder",
|
||||
"glance",
|
||||
"gnocchi",
|
||||
"heat",
|
||||
"keystone",
|
||||
"memcached",
|
||||
"mysql-innodb-cluster",
|
||||
"neutron-api",
|
||||
"neutron-gateway",
|
||||
"nova-compute-kvm",
|
||||
"nova-cloud-controller",
|
||||
"openstack-dashboard",
|
||||
"placement",
|
||||
"rabbitmq-server",
|
||||
"vault",
|
||||
]
|
||||
}
|
||||
|
||||
######## vars unlikely to be changed
|
||||
variable "machines" {
|
||||
type = list(object({
|
||||
|
@ -72,47 +72,8 @@ resource "juju_application" "landscape-client" {
|
||||
}
|
||||
}
|
||||
|
||||
variable "openstack_services" {
|
||||
type = list(string)
|
||||
default = [
|
||||
"ceilometer",
|
||||
"ceph-mon",
|
||||
"ceph-radosgw",
|
||||
"cinder",
|
||||
"glance",
|
||||
"gnocchi",
|
||||
"heat",
|
||||
"keystone",
|
||||
"memcached",
|
||||
"mysql-innodb-cluster",
|
||||
"neutron-api",
|
||||
"neutron-gateway",
|
||||
"nova-cloud-controller",
|
||||
"openstack-dashboard",
|
||||
"placement",
|
||||
"rabbitmq-server",
|
||||
"vault",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
resource "juju_integration" "landscape-nova-compute-kvm" {
|
||||
|
||||
model = var.model-name
|
||||
|
||||
application {
|
||||
name = juju_application.landscape-client.name
|
||||
endpoint = "container"
|
||||
}
|
||||
|
||||
application {
|
||||
name = juju_application.nova-compute-kvm.name
|
||||
endpoint = "juju-info"
|
||||
}
|
||||
}
|
||||
|
||||
resource "juju_integration" "landscape-client-integration" {
|
||||
for_each = toset(var.openstack_services)
|
||||
for_each = toset(var.all_services)
|
||||
|
||||
model = var.model-name
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user