-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
148 lines (123 loc) · 3.48 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
variable "hostname" {
type = string
description = "Hostname to use for the Atlantis server"
}
variable "keypair_name" {
type = string
description = "Name of the keypair to use for the Atlantis server"
}
variable "ami_id" {
type = string
description = "AMI ID to use for the Atlantis server"
}
variable "instance_type" {
type = string
description = "Instance type to use for the Atlantis server"
default = "t3.nano"
}
variable "iam_instance_profile" {
type = string
description = "IAM instance profile to use for the Atlantis server"
default = null
}
variable "disable_api_stop" {
type = bool
description = "Disable the API stop endpoint"
default = true
}
variable "disable_api_termination" {
type = bool
description = "Disable the API termination endpoint"
default = true
}
variable "vpc_security_group_ids" {
type = list(string)
description = "List of security group IDs to attach to the Atlantis server"
}
variable "subnet_id" {
type = string
description = "Subnet ID to deploy the Atlantis server to"
}
variable "associate_public_ip_address" {
type = bool
description = "Associate a public IP address with the Atlantis server"
default = true
}
variable "github_app_id" {
type = string
description = "GitHub app ID to use for the Atlantis server"
}
variable "github_app_key" {
type = string
description = "GitHub app key to use for the Atlantis server"
}
variable "github_webhook_secret" {
type = string
description = "GitHub webhook secret to use for the Atlantis server"
}
variable "atlantis_web_username" {
type = string
description = "Atlantis web username to use for the Atlantis server"
}
variable "atlantis_web_password" {
type = string
description = "Atlantis web password to use for the Atlantis server"
}
variable "repo_allowlist" {
type = string
description = "List of repos to allow for the Atlantis server"
default = "*"
}
variable "atlantis_version" {
type = string
description = "Atlantis version to use for the Atlantis server"
default = "v0.30.0"
}
variable "atlantis_checksum" {
type = string
description = "Atlantis checksum to use for the Atlantis binary"
default = "ff341186e001100cb295407b423ef447377d71e8cd90087afb687daec85c977c"
}
variable "github_org" {
type = string
description = "GitHub org to use for the Atlantis server"
}
variable "certbot_email" {
type = string
description = "Email to use for the certbot certificate"
}
variable "additional_tags" {
description = "Additional tags to apply to the instance"
type = map(string)
default = {}
}
variable "volume_size" {
description = "Size of the EBS volume in GB"
type = number
default = 10
}
variable "repo_config_json" {
description = "JSON string of the repo config to use for the Atlantis server"
type = string
default = null
}
variable "test_cert" {
description = "Use a test cert for the Atlantis server"
type = bool
default = false
}
variable "spot_instance" {
description = "Use a spot instance for the Atlantis server"
type = bool
default = false
}
variable "azure_auth" {
description = "Azure auth to use for the Atlantis server"
type = object({
client_id = string
client_secret = string
subscription_id = string
tenant_id = string
})
default = null
}