-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
56 lines (46 loc) · 1.16 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
variable "cluster_name" {
description = "Name of the ECS cluster"
}
variable "ami" {
description = "Name of the AMI image to use"
default = "amzn2-ami-ecs-hvm-*-x86_64-ebs"
}
variable "cpu_unlimited" {
description = "Whether or not enable t2/t3 cpu unlimited (if true, might incur additional charges)"
default = false
}
variable "ec2_key_name" {
description = "EC2 key name to attach to newly created EC2 instances"
default = ""
}
variable "instance_type" {
description = "EC2 instance type"
default = "t3.micro"
}
variable "instances_desired" {
description = "Number of EC2 instances desired"
default = 1
}
variable "security_group_ids" {
description = "list of security group IDs"
type = list
default = []
}
variable "subnet_ids" {
description = "list of subnet IDs"
type = list
default = []
}
variable "spot" {
description = "Whether or not use Spot instances. Warning: most likely not suitable for production!"
default = false
}
variable "vpc_id" {
description = "VPC id to use"
default = ""
}
variable "tags" {
type = map
description = "AWS tags"
default = {}
}