Skip to content
Snippets Groups Projects
Commit 77d3da3b authored by Rob Kooper's avatar Rob Kooper
Browse files

no more ext-net nodes left

parent 944bb762
No related branches found
No related tags found
No related merge requests found
......@@ -53,14 +53,6 @@ resource "openstack_networking_floatingip_v2" "controlplane_ip" {
port_id = element(openstack_networking_port_v2.controlplane_ip.*.id, count.index)
}
# TODO once all clusters are switch to floating IP, remove this code block
resource "openstack_networking_port_v2" "controlplane_ip_public" {
count = var.controlplane_count
name = local.controlplane[count.index]
network_id = data.openstack_networking_network_v2.ext_net.id
security_group_ids = [openstack_networking_secgroup_v2.cluster_security_group.id]
}
# ----------------------------------------------------------------------
# floating IP
# ----------------------------------------------------------------------
......
......@@ -52,8 +52,7 @@ resource "openstack_compute_instance_v2" "controlplane" {
ignore_changes = [
key_pair,
block_device,
user_data,
network
user_data
]
}
}
......
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