forked from tmclaugh/straycat-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.global.tf
52 lines (39 loc) · 1.13 KB
/
variables.global.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Define our global vars and any other setup elements.
*
* TODO: Handle multi-region in some manner
*/
variable "aws_profile" {}
variable "aws_account" {}
variable "aws_account_id" {}
variable "environment" {}
variable "domain" {}
variable "aws_region" {
default = "us-east-1"
}
# FIXME: replace hard coding with an aws provider var if I can figure out how
# to limit the list size.
variable "aws_availability_zones" {
default = ["us-east-1a", "us-east-1b", "us-east-1c"]
}
# VPC setup
variable "vpc_public_cidr_block" {
type = "string"
description = "CIDR block fro public VPC"
}
variable "vpc_public_public_subnets" {
type = "list"
description = "List of subnet CIDR blocks. Should be as many as there ar AZs used."
}
variable "vpc_private_cidr_block" {
type = "string"
description = "CIDR block fro public VPC"
}
variable "vpc_private_private_subnets" {
type = "list"
description = "List of subnet CIDR blocks. Should be as many as there ar AZs used."
}
variable "vpc_private_public_subnets" {
type = "list"
description = "List of subnet CIDR blocks. NAT gateways will live here with path to internet gateway"
}