module "networking" {
source = "./modules/terraform-openstack-modules/terraform-openstack-networking"
name = "my-vpc"
cidr = "192.168.0.0/24"
public_network_name = "public"
tags = ["staging", "web"]
}
Name | Version |
---|---|
terraform | >= 0.14.0 |
openstack | >= 1.35.0 |
Name | Version |
---|---|
openstack | >= 1.35.0 |
No modules.
Name | Type |
---|---|
openstack_networking_network_v2.this | resource |
openstack_networking_router_interface_v2.this | resource |
openstack_networking_router_v2.this | resource |
openstack_networking_subnet_v2.this | resource |
openstack_compute_availability_zones_v2.all | data source |
openstack_networking_network_v2.public | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cidr | The CIDR block for the network. Default value is a valid CIDR, but can be changed by means | string |
"192.168.0.0/24" |
no |
name | Name of private network | string |
n/a | yes |
public_connected | Connect to public network | bool |
false |
no |
public_network_name | Name of the public network | string |
"" |
no |
tags | A list of strings as tags to add to all resources | list(string) |
[] |
no |
Name | Description |
---|---|
network_id | The ID of the network |
router_id | The ID of the created router (if enabled) |
subnet_id | The ID of the subnet |
subnet_pool_end | The end IP address of the allocated subnet |
subnet_pool_start | The start IP address of the allocated subnet |