Skip to content
Snippets Groups Projects
Unverified Commit 6497ecc7 authored by R. P. Taylor's avatar R. P. Taylor Committed by GitHub
Browse files

workaround for terraform bug related to no_floating and extra_groups (#10764)

parent 54fb75f0
No related branches found
No related tags found
No related merge requests found
......@@ -883,7 +883,7 @@ resource "openstack_compute_instance_v2" "k8s_nodes" {
metadata = {
ssh_user = var.ssh_user
kubespray_groups = "kube_node,k8s_cluster,%{if each.value.floating_ip == false}no_floating,%{endif}${var.supplementary_node_groups}${each.value.extra_groups != null ? ",${each.value.extra_groups}" : ""}"
kubespray_groups = "kube_node,k8s_cluster,%{if !each.value.floating_ip}no_floating,%{endif}${var.supplementary_node_groups}${each.value.extra_groups != null ? ",${each.value.extra_groups}" : ""}"
depends_on = var.network_router_id
use_access_ip = var.use_access_ip
}
......
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