-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
73 lines (59 loc) · 1.59 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
variable "vpc" {
description = "the vpc name"
default = "tf-ecs"
}
variable "region" {
description = "the region"
default = "us-east-1"
}
variable "availability-zones" {
description = "The availability-zones to create"
default = "us-east-1a,us-east-1b,us-east-1d,us-east-1e"
}
variable "instance_type" {
description = "The EC2 instance type for ECS container instances"
default = "t2.nano"
}
variable "image_id" {
description = "The AMI to use for ECS container instances, see http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html"
default = "ami-67a3a90d"
}
variable "cluster_min" {
description = "Minimum cluster size"
default = 2
}
variable "cluster_max" {
description = "Maximum cluster size"
default = 3
}
variable "cluster_desired_size" {
description = "Desired cluster size"
default = 2
}
variable "from_port" {
description = "the ingress from port range"
default = 8000
}
variable "to_port" {
description = "the ingress to port range"
default = 8010
}
variable "newrelic_license_key" {
description = "new relic license key (only needed for newrelic support)"
default = "none"
}
variable "ruxit_account" {
description = "the ruxit account number (only needed for ruxit support)"
default = "none"
}
variable "ruxit_token" {
description = "the ruxit token (only needed for ruxit support)"
default = "none"
}
variable "sysdig_access_key" {
description = "the sysdig access key (only needed for sysdig support)"
default = "none"
}
variable "ssh_public_key" {
description = "public key to allow ssh to cluster instances"
}