-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
101 lines (82 loc) · 2.56 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
variable "region" {
type = "string"
description = "The AWS region to deploy into (e.g. us-east-1)"
}
variable "name" {
type = "string"
description = "What to name the resources being created"
}
variable "project" {
type = "string"
description = "Name of the project these resources are being created for"
}
variable "purpose" {
type = "string"
description = "The role the resources will play"
}
variable "creator" {
type = "string"
description = "Person creating these resources"
}
variable "environment" {
type = "string"
description = "Context these resources will be used in, e.g. production"
}
variable "freetext" {
type = "string"
description = "Information that does not fit in the other tags"
}
variable "duty" {
type = "string"
description = "Special tag value used to locate specific running instances, e.g. Docker or Bastion"
}
variable "ami_regexp" {
type = "string"
description = "Regular expression to use when looking up an AMI in the specified region"
}
variable "ebs_optimized" {
type = "string"
description = "Boolean indicating if the instance should enable EBS optimization or not"
}
variable "instance_type" {
type = "string"
description = "They instance type to build the instances from"
}
variable "ssh_key_name" {
type = "string"
description = "Name of the SSH key to install onto the instances"
}
variable "security_group_ids" {
type = "list"
description = "List of security groups to apply to the instances"
}
variable "subnet_ids" {
type = "list"
description = "List of subnets to create the instances in"
}
variable "instance_profile" {
type = "string"
description = "ID of the IAM profile to associate with the instances"
}
variable "scheduled" {
type = "string"
description = "If set to Yes, the instances will be parked on a schedule"
}
variable "instance_limit" {
type = "string"
description = "A number indicating how many instances to create. A value of 0 creates one instance per subnet."
default = "0"
}
variable "spot_price" {
type = "string"
description = "The maximum hourly price (bid) you are willing to pay for the instance, e.g. 0.10"
}
variable "launch_group" {
type = "string"
description = "Group name to assign the instances to so they can be started/stopped in unison, e.g. purple-plutonium"
default = "defaulted"
}
variable "instance_interruption_behaviour" {
type = "string"
description = "whether a Spot instance stops or terminates when it is interrupted, can be stop or terminate"
}