mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Fix subnet part of OS network example
This fixes the hard coded network id and also fixes the fixed_ip address to be one on the network that is specified above.
This commit is contained in:
parent
4353832f6a
commit
efc6bf01b0
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ resource "openstack_networking_port_v2" "port_1" {
|
|||
security_group_ids = ["${openstack_compute_secgroup_v2.secgroup_1.id}"]
|
||||
|
||||
fixed_ip {
|
||||
"subnet_id" = "008ba151-0b8c-4a67-98b5-0d2b87666062"
|
||||
"ip_address" = "172.24.4.2"
|
||||
"subnet_id" = "${openstack_networking_subnet_v2.subnet_1.id}"
|
||||
"ip_address" = "192.168.199.10"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue