forked from terraform-aws-modules/terraform-aws-atlantis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
124 lines (101 loc) · 3.44 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
variable "name" {
description = "Name to use on all resources created (VPC, ALB, etc)"
default = "atlantis"
}
variable "vpc_id" {
description = "ID of an existing VPC where resources will be created"
default = ""
}
variable "public_subnet_ids" {
description = "A list of IDs of existing public subnets inside the VPC"
type = "list"
default = []
}
variable "private_subnet_ids" {
description = "A list of IDs of existing private subnets inside the VPC"
type = "list"
default = []
}
variable "cidr" {
description = "The CIDR block for the VPC which will be created if `vpc_id` is not specified"
default = ""
}
variable "azs" {
description = "A list of availability zones in the region"
type = "list"
default = []
}
variable "public_subnets" {
description = "A list of public subnets inside the VPC"
type = "list"
default = []
}
variable "private_subnets" {
description = "A list of private subnets inside the VPC"
type = "list"
default = []
}
variable "certificate_arn" {
description = "ARN of certificate issued by AWS ACM. If empty, a new ACM certificate will be created and validated using Route53 DNS"
default = ""
}
variable "acm_certificate_domain_name" {
description = "Route53 domain name to use for ACM certificate. Route53 zone for this domain should be created in advance. Specify if it is different from value in `route53_zone_name`"
default = ""
}
variable "route53_zone_name" {
description = "Route53 zone name to create ACM certificate in and main A-record"
default = ""
}
variable "create_route53_record" {
description = "Whether to create Route53 record for Atlantis"
default = true
}
variable "ecs_service_assign_public_ip" {
description = "Should be true, if ECS service is using public subnets (more info: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_cannot_pull_image.html)"
default = false
}
variable "cloudwatch_log_retention_in_days" {
description = "Retention period of Atlantis CloudWatch logs"
default = 7
}
variable "atlantis_image" {
description = "Docker image to run Atlantis with. If not specified, official Atlantis image will be used"
default = ""
}
variable "atlantis_version" {
description = "Verion of Atlantis to run. If not specified latest will be used"
default = "latest"
}
variable "atlantis_github_user" {
description = "GitHub username of the user that is running the Atlantis command"
}
variable "atlantis_github_user_token" {
description = "GitHub token of the user that is running the Atlantis command"
}
variable "atlantis_repo_whitelist" {
description = "List of allowed repositories Atlantis can be used with"
type = "list"
}
variable "create_github_repository_webhook" {
description = "Whether to create Github repository webhook for Atlantis. This requires valid Github credentials specified as `github_token` and `github_organization`."
default = true
}
variable "github_token" {
description = "Github token"
default = ""
}
variable "github_organization" {
description = "Github organization"
default = ""
}
variable "github_repo_names" {
description = "Github repositories where webhook should be created"
type = "list"
default = []
}
variable "allow_repo_config" {
description = "When true allows the use of atlantis.yaml config files within the source repos."
type = "string"
default = "false"
}