Open arif-ali opened 3 days ago
Below is what I get with terraform apply
terraform apply
# juju_application.nova-cloud-controller will be updated in-place ~ resource "juju_application" "nova-cloud-controller" { ~ config = { ~ "cpu-allocation-ratio" = "2" -> "2.0" ~ "ram-allocation-ratio" = "1" -> "1.0" ~ "worker-multiplier" = "0" -> "0.25" # (8 unchanged elements hidden) }
I double checked, the variables that I am using are strings
Annoying bug in our test suite
0.12.0
1.9.0
3.4.3
variable worker-multiplier { type = string default = "0.25" } variable cpu-allocation-ratio { type = string default = "16.0" } variable ram-allocation-ratio { type = string default = "2.0" } resource "juju_application" "nova-cloud-controller" { name = "nova-cloud-controller" model = var.model-name charm { name = "nova-cloud-controller" channel = var.openstack-channel base = var.default-base } units = var.num_units placement = "${join(",", sort([ for res in juju_machine.ncc : res.machine_id ]))}" endpoint_bindings = [{ space = var.oam-space },{ endpoint = "public" space = var.public-space },{ endpoint = "admin" space = var.admin-space },{ endpoint = "internal" space = var.internal-space },{ endpoint = "shared-db" space = var.internal-space },{ endpoint = "memcache" space = var.internal-space }] config = { worker-multiplier = var.worker-multiplier openstack-origin = var.openstack-origin region = var.openstack-region vip = var.vips["nova-cc"] network-manager = "Neutron" console-access-protocol = "novnc" console-proxy-ip = "local" use-internal-endpoints = "true" ram-allocation-ratio = var.ram-allocation-ratio cpu-allocation-ratio = var.cpu-allocation-ratio config-flags = "scheduler_max_attempts=20" } }
terraform apply then terraform plan or apply will try to change those 3 values
No response
Description
Below is what I get with
terraform apply
I double checked, the variables that I am using are strings
Urgency
Annoying bug in our test suite
Terraform Juju Provider version
0.12.0
Terraform version
1.9.0
Juju version
3.4.3
Terraform Configuration(s)
Reproduce / Test
Debug/Panic Output
No response
Notes & References
No response