Skip to content

Commit 0ffe0c1

Browse files
authored
Merge branch 'main' into ci/image-description
2 parents a64ac7a + bb8789e commit 0ffe0c1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ansible/roles/cluster_infra/templates/providers.tf.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ terraform {
55
required_providers {
66
openstack = {
77
source = "terraform-provider-openstack/openstack"
8+
# TODO we must upgrade to 3.0.0
9+
# but only after we stop using the deprecated
10+
# openstack_compute_floatingip_associate_v2
11+
version = "~>2.1.0"
812
}
913
}
1014
}

ansible/roles/cluster_infra/templates/resources.tf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ data "openstack_networking_floatingip_v2" "cluster_floating_ip" {
572572
{% endif %}
573573
}
574574

575-
resource "openstack_compute_floatingip_associate_v2" "login_floatingip_assoc" {
575+
resource "openstack_networking_floatingip_associate_v2" "login_floatingip_assoc" {
576576
floating_ip = "${data.openstack_networking_floatingip_v2.cluster_floating_ip.address}"
577-
instance_id = "${openstack_compute_instance_v2.login.id}"
577+
port_id = "${openstack_networking_port_v2.login.id}"
578578
}

0 commit comments

Comments
 (0)