forked from trussworks/terraform-aws-ecs-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
65 lines (54 loc) · 1.43 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
variable "name" {
description = "The ECS cluster name this will launching instances for."
type = string
}
variable "environment" {
description = "Environment tag."
type = string
}
variable "image_id" {
description = "Amazon ECS-Optimized AMI."
type = string
}
variable "instance_type" {
description = "The instance type to use."
type = string
default = "t2.micro"
}
variable "vpc_id" {
description = "The id of the VPC to launch resources in."
}
variable "subnet_ids" {
description = "A list of subnet IDs to launch resources in."
type = list(string)
}
variable "desired_capacity" {
description = "Desired instance count."
type = string
default = 2
}
variable "max_size" {
description = "Maxmimum instance count."
type = string
default = 2
}
variable "min_size" {
description = "Minimum instance count."
type = string
default = 2
}
variable "use_AmazonEC2ContainerServiceforEC2Role_policy" {
description = "Attaches the AWS managed AmazonEC2ContainerServiceforEC2Role policy to the ECS instance role."
type = string
default = true
}
variable "security_group_ids" {
description = "A list of security group ids to attach to the autoscaling group"
type = list(string)
default = []
}
variable "user_data" {
description = "Additional user data scripts to execute"
type = string
default = ""
}