updated terraform provider
This commit is contained in:
parent
8e04716b00
commit
df52b44db6
2 changed files with 4 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ terraform {
|
||||||
required_providers {
|
required_providers {
|
||||||
openstack = {
|
openstack = {
|
||||||
source = "terraform-provider-openstack/openstack"
|
source = "terraform-provider-openstack/openstack"
|
||||||
version = "1.53.0"
|
version = "2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -67,8 +67,7 @@ resource "openstack_networking_floatingip_v2" "fip" {
|
||||||
pool = "floating-net"
|
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
|
floating_ip = openstack_networking_floatingip_v2.fip.address
|
||||||
instance_id = openstack_compute_instance_v2.instance_fw.id
|
port_id = openstack_networking_port_v2.wan_port_1.id
|
||||||
fixed_ip = openstack_compute_instance_v2.instance_fw.network.0.fixed_ip_v4
|
}
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue