-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
58 lines (49 loc) · 2.19 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
variable "application_name" {
description = "CodeDeploy Application Name. If an existing Application is being associated, 'create_application' should be set to false"
type = "string"
}
variable "autoscaling_groups" {
description = "A List of Autoscaling Group names to associate with the Deployment Group"
type = "list"
default = []
}
variable "create_application" {
description = "Boolean variable controlling if a new CodeDeploy application should be created."
type = "string"
default = true
}
variable "clb_name" {
description = "The name of the CLB to associate with this Deployment Group. If associated, the instances will be taken out of service while the application is deployed. This variable cannot be used in conjunction with target_group_name."
type = "string"
default = ""
}
variable "deployment_config_name" {
description = "CodeDeploy Deployment Config Name to use as the default for this Deployment Group. Valid values include 'CodeDeployDefault.OneAtATime', 'CodeDeployDefault.HalfAtATime', and 'CodeDeployDefault.AllAtOnce'"
type = "string"
default = "CodeDeployDefault.OneAtATime"
}
variable "deployment_group_name" {
description = "CodeDeploy Deployment Group Name. If omitted, name will be based on Application Group and Environment"
type = "string"
default = ""
}
variable "ec2_tag_key" {
description = "Tag key for the Deployment Groups EC2 Tag Filter. If omitted, no EC2 Tag Filter will be applied."
type = "string"
default = ""
}
variable "ec2_tag_value" {
description = "Tag value for the Deployment Groups EC2 Tag Filter."
type = "string"
default = ""
}
variable "environment" {
description = "Application environment for which this infrastructure is being created. e.g. Development/Production."
type = "string"
default = "Production"
}
variable "target_group_name" {
description = "The name of the Target Group to associate with this Deployment Group. If associated, the instances will be taken out of service while the application is deployed. This variable cannot be used in conjunction with clb_name."
type = "string"
default = ""
}