Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
openstack/neutron: Fix worker floating IP association (#715)
Browse files Browse the repository at this point in the history
openstack_compute_floatingip_associate_v2.worker was incorrrectly using the
tectonic_master_count instead of the tectonic_worker_count
  • Loading branch information
coreypobrien authored and Sergiusz Urbaniak committed May 17, 2017
1 parent 383105a commit 6405c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/openstack/neutron/nodes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ resource "openstack_compute_instance_v2" "worker_node" {
}

resource "openstack_compute_floatingip_associate_v2" "worker" {
count = "${var.tectonic_master_count}"
count = "${var.tectonic_worker_count}"

floating_ip = "${openstack_networking_floatingip_v2.worker.*.address[count.index]}"
instance_id = "${openstack_compute_instance_v2.worker_node.*.id[count.index]}"
Expand Down

0 comments on commit 6405c9f

Please sign in to comment.