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.
pull/7847/head
Clayton O'Neill 10 years ago
parent 4353832f6a
commit efc6bf01b0

@ -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…
Cancel
Save