fix: incorrect condition type (#8822)
Signed-off-by: cyclinder qifeng.guo@daocloud.io
This commit is contained in:
parent
48e938660d
commit
dc8ad78206
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ resource "openstack_compute_instance_v2" "etcd" {
|
||||||
}
|
}
|
||||||
|
|
||||||
dynamic "scheduler_hints" {
|
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 {
|
content {
|
||||||
group = openstack_compute_servergroup_v2.k8s_etcd[0].id
|
group = openstack_compute_servergroup_v2.k8s_etcd[0].id
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue