-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
77 lines (65 loc) · 1.78 KB
/
variables.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# main creds for AWS connection
variable "aws_access_key_id" {
description = "AWS access key"
}
variable "aws_secret_access_key" {
description = "AWS secret access key"
}
variable "region" {
description = "AWS region"
default = "us-east-1"
}
variable "availability_zone" {
description = "availability zone used for the demo, based on region"
default = {
us-east-1 = "us-east-1a"
us-west-1 = "us-west-1a"
us-west-2 = "us-west-2a"
}
}
# AMIs optimized for use with ECS Container Service
# Note: changes occur regularly to the list of recommended AMIs. Verify at
# http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html
variable "ecsAmi" {
description = "optimized ECS AMIs"
default = {
us-east-1 = "ami-8f7687e2"
us-west-1 = "ami-bb473cdb"
us-west-2 = "ami-84b44de4"
}
}
# this is a keyName for key pairs
variable "aws_key_name" {
description = "Key Pair Name used to login to the box"
default = "demo-key"
}
# this is a PEM key for key pairs
variable "aws_key_filename" {
description = "Key Pair FileName used to login to the box"
default = "demo-key.pem"
}
variable "cluster_name" {
description = "cluster name to register instances to"
default = "default"
}
# all variables related to VPC
variable "vpc_name" {
description = "VPC for the cluster system"
default = "demoVPC"
}
variable "networkCIDR" {
description = "Uber IP addressing for the Network"
default = "200.0.0.0/16"
}
variable "public0-0CIDR" {
description = "Public 0.0 CIDR for externally accesible subnet"
default = "200.0.0.0/24"
}
variable "dockerAuthType" {
description = "type of authentication for ECS pull"
default = "dockercfg"
}
variable "dockerAuthData" {
description = "actual Auth to use to login"
default = "enter Key Here"
}