updated terraform provider

This commit is contained in:
BackInBash 2024-06-27 11:11:02 +02:00
parent 8e04716b00
commit df52b44db6
2 changed files with 4 additions and 5 deletions

View file

@ -12,7 +12,7 @@ terraform {
required_providers {
openstack = {
source = "terraform-provider-openstack/openstack"
version = "1.53.0"
version = "2.0.0"
}
}
}

View file

@ -67,8 +67,7 @@ resource "openstack_networking_floatingip_v2" "fip" {
pool = "floating-net"
}
resource "openstack_compute_floatingip_associate_v2" "fip" {
resource "openstack_networking_floatingip_associate_v2" "fip" {
floating_ip = openstack_networking_floatingip_v2.fip.address
instance_id = openstack_compute_instance_v2.instance_fw.id
fixed_ip = openstack_compute_instance_v2.instance_fw.network.0.fixed_ip_v4
}
port_id = openstack_networking_port_v2.wan_port_1.id
}