modules.tf 758 Bytes
Newer Older
drechsau's avatar
drechsau committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# varaibles below come out of the base variables.tf file

module "vpc" {
  # downlaod the module - use 'terraform get' to download
  #                       use 'terraform get -update' to update
  # but it kind of sucks
  #source = "github.com/terraform-community-modules/tf_aws_vpc"
  source = "git::https://grot.geeks.org/tf/tf_aws_vpc.git"

  # this is used throughout to name resources
  name    = "drone-deploy"
  product = "drone-deploy"
  owner   = "mike@geeks.org"
  env     = "prod"

  # base CIDR for the VPC
  cidr = "${var.first-2-octets}.0.0/16"

drechsau's avatar
drechsau committed
19
20
  #private_propagating_vgws = ["vgw-xxxxxxxx"]
  #public_propagating_vgws = ["vgw-xxxxxxxx"]
drechsau's avatar
drechsau committed
21
22

  enable_nat_gateway = "true"
drechsau's avatar
drechsau committed
23
  enable_ipv6_cidr_block = "true"
drechsau's avatar
drechsau committed
24
25
  azs                = ["${var.azs}"]
}