This is an module to create a AWS VPC specially used for DC/OS
This modules creates a subnet for every .
module "dcos-vpc" {
source = "dcos-terraform/vpc/aws"
version = "~> 0.2.0"
cluster_name = "production"
availability_zones = ["us-east-1b"]
subnet_range = "172.16.0.0/16"
# providers {
# aws = "aws.my-provider"
# }
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
cluster_name | Name of the DC/OS cluster | string | n/a | yes |
availability_zones | List of availability_zones to be used as the same format that are required by the platform/cloud providers. i.e ['RegionZone'] |
list | <list> |
no |
subnet_range | Private IP space to be used in CIDR format | string | "172.31.0.0/16" |
no |
tags | Add custom tags to all resources | map | <map> |
no |
Name | Description |
---|---|
aws_main_route_table_id | AWS main route table id |
cidr_block | Output the cidr_block used within this network |
subnet_ids | List of subnet IDs created in this network |
subnets | List of subnet IDs created in this Network |
vpc_id | AWS VPC ID |