Skip to content
Snippets Groups Projects
Unverified Commit dc8ad782 authored by Cyclinder's avatar Cyclinder Committed by GitHub
Browse files

fix: incorrect condition type (#8822)

parent 48e93866
No related branches found
No related tags found
No related merge requests found
......@@ -455,7 +455,7 @@ resource "openstack_compute_instance_v2" "etcd" {
}
dynamic "scheduler_hints" {
for_each = var.etcd_server_group_policy ? [openstack_compute_servergroup_v2.k8s_etcd[0]] : []
for_each = var.etcd_server_group_policy != "" ? [openstack_compute_servergroup_v2.k8s_etcd[0]] : []
content {
group = openstack_compute_servergroup_v2.k8s_etcd[0].id
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment