Skip to content

dcos-terraform/terraform-aws-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DC/OS VPC

This is an module to create a AWS VPC specially used for DC/OS

This modules creates a subnet for every .

EXAMPLE

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"
  # }
}

Inputs

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

Outputs

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