|
|
|
|
@ -21,7 +21,6 @@ resource "openstack_networking_network_v2" "network_1" {
|
|
|
|
|
resource "openstack_networking_subnet_v2" "subnet_1" {
|
|
|
|
|
network_id = "${openstack_networking_network_v2.network_1.id}"
|
|
|
|
|
cidr = "192.168.199.0/24"
|
|
|
|
|
ip_version = 4
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
@ -40,7 +39,7 @@ The following arguments are supported:
|
|
|
|
|
* `cidr` - (Required) CIDR representing IP range for this subnet, based on IP
|
|
|
|
|
version. Changing this creates a new subnet.
|
|
|
|
|
|
|
|
|
|
* `ip_version` - (Required) IP version, either 4 or 6. Changing this creates a
|
|
|
|
|
* `ip_version` - (Optional) IP version, either 4 (default) or 6. Changing this creates a
|
|
|
|
|
new subnet.
|
|
|
|
|
|
|
|
|
|
* `name` - (Optional) The name of the subnet. Changing this updates the name of
|
|
|
|
|
|