Skip to content

Commit

Permalink
workaround for terraform bug related to no_floating and extra_groups (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rptaylor authored Jan 22, 2024
1 parent 54fb75f commit 6497ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/terraform/openstack/modules/compute/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6497ecc

Please sign in to comment.