-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
95 lines (75 loc) · 2.52 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 "aws_region" {
default = "eu-central-1"
description = "AWS Region to be used for Atlantis"
}
variable "aws_partition" {
default = "aws"
description = "AWS Partition to use to build the Assume Role ARN"
}
variable "aws_account_id" {
description = "AWS Account ID to use to build the Assume Role ARN"
}
variable "aws_assume_role_name" {
description = "Name of a Role to assume"
}
variable "aws_sts_external_id" {
default = ""
description = "External ID to avoid Confused Deputy Problem"
}
variable "aws_identity_account_id" {
description = "AWS Account ID with a Role to create a Trust Relationship with"
}
variable "aws_trusted_role_name" {
description = "Name of a Role to create a Trust Relationship with"
}
variable "aws_server_role_policies" {
type = list(any)
description = "List of Policies to grant Permissions to the Server Role. By default the Server only has Access to the State Bucket and Lock Table."
}
variable "name" {
default = "atlantis-aws"
description = "Name of Release"
}
variable "k8s_namespace" {
description = "Kubernetes Namespace to deploy the Helm Release into"
}
variable "namespace" {
description = "Organization Namespace or Prefix"
}
variable "region" {
description = "Custom Region Names to use for Labels and Naming"
}
variable "tf_state_bucket" {
description = "An AWS S3 Bucket containing Terraform State imported by this Module"
}
variable "dns_module_state" {
description = "Reference to an existing DNS Module State"
}
variable "git_host" {
default = "github.com"
description = "Host to the Git Platform"
}
variable "git_type" {
default = "github"
description = "Supported values are github, gitlab or bitbucket"
}
variable "git_token" {
description = "Token to be used for Atlantis and to generate Repositories and Webhooks"
}
variable "git_organization" {
description = "Organization or Group to allow Webhooks from and create Resources in"
}
variable "git_app_username" {
type = string
default = "goci-atlantis-bot"
description = "Git User/App Name used for Authentication. Required for BitBucket App Passwords"
}
variable "repositories" {
type = list(object({ name = string, create = bool, private = bool, branch_protection = bool }))
description = "List of Repositories and additional Repository Configuration"
}
variable "apply_requirements" {
type = list(string)
default = ["mergable", "approved"]
description = "Requirements which must be met before allowing atlantis apply"
}