0
0
llucycodes42
The code creates a new OpenStack Networking Subnet resource with the given name and description. The network_id parameter sets the network ID for the subnet. The cidr parameter sets the cidr for the subnet.
Shortcut: tf_openstack_networking_subnet_v2
resource "openstack_networking_subnet_v2" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
network_id = "\${openstack_networking_network_v2.network_1.id}"
cidr = "192.168.199.0/24"
}