-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
98 lines (77 loc) · 2.66 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
variable "name" {
default = "atlantis"
}
variable "tags" {
description = "A map of tags to use on all resources"
default = {}
}
variable "atlantis_port" {
default = "4141"
}
variable "ecs_task_cpu" {
description = "The number of cpu units used by the task"
default = 256
}
variable "ecs_task_memory" {
description = "The amount (in MiB) of memory used by the task"
default = 512
}
variable "container_memory_reservation" {
description = "The amount of memory (in MiB) to reserve for the container"
default = 128
}
variable "ecs_service_deployment_maximum_percent" {
description = "The upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment"
default = 200
}
variable "ecs_service_deployment_minimum_healthy_percent" {
description = "The lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment"
default = 50
}
variable "ecs_service_desired_count" {
description = "The number of instances of the task definition to place and keep running"
default = 1
}
variable "cloudwatch_log_retention_in_days" {
description = "Retention period of Atlantis CloudWatch logs"
default = 7
}
variable "policies_arn" {
description = "A list of the ARN of the policies you want to apply"
type = "list"
default = ["arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"]
}
variable "atlantis_repo_whitelist" {
description = "List of allowed repositories Atlantis can be used with"
type = "list"
}
variable "atlantis_allowed_repo_names" {
description = "Github repositories where webhook should be created"
type = "list"
default = []
}
# Github
variable "atlantis_github_user" {
description = "GitHub username that is running the Atlantis command"
default = ""
}
variable "atlantis_github_user_token" {
description = "GitHub token of the user that is running the Atlantis command"
default = ""
}
variable "alb_ingress_cidr_blocks" {
description = "List of IPv4 CIDR ranges to use on all ingress rules of the ALB."
type = "list"
default = ["0.0.0.0/0"]
}
variable "atlantis_github_user_token_ssm_parameter_name" {
description = "Name of SSM parameter to keep atlantis_github_user_token"
default = "/atlantis/github/user/token"
}
variable "route53_zone_name" {
description = "The route53 host zone name to use"
}
variable "webhook_ssm_parameter_name" {
description = "Name of SSM parameter to keep webhook secret"
default = "/atlantis/webhook/secret"
}