-
Notifications
You must be signed in to change notification settings - Fork 15
/
variables.tf
124 lines (104 loc) · 3.49 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 "organization" {
type = string
description = "The GitHub organization or user where the repo lives."
}
variable "repo" {
type = string
description = "The name of the repo that the Amplify App will be created around."
}
variable "amplify_service_role_enabled" {
default = false
type = bool
description = "Whether to enable the IAM Service Role for Amplify or not. See https://docs.aws.amazon.com/amplify/latest/userguide/how-to-service-role-amplify-console.html for full details."
}
variable "global_environment_variables" {
default = {}
type = map(string)
description = "Environment variables that are set across all branches."
}
variable "master_environment_variables" {
default = {}
type = map(string)
description = "Environment variables for the master branch."
}
variable "develop_environment_variables" {
default = {}
type = map(string)
description = "Environment variables for the develop branch."
}
variable "master_backend_environment_enabled" {
default = false
type = bool
description = "Whether to create the backend environment for master or not."
}
variable "develop_backend_environment_enabled" {
default = false
type = bool
description = "Whether to create the backend environment for develop or not."
}
variable "master_branch_name" {
default = "master"
type = string
description = "The name of the 'master'-like branch that you'd like to use."
}
variable "develop_branch_name" {
default = "develop"
type = string
description = "The name of the 'develop'-like branch that you'd like to use."
}
variable "gh_access_token" {
type = string
description = "Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key. Token is not stored."
}
variable "description" {
type = string
description = "The description to associate with the Amplify App."
}
variable "build_spec_content" {
default = ""
type = string
description = "Your build spec file contents. If not provided then it will use the `amplify.yml` at the root of your project / branch."
}
variable "enable_basic_auth_globally" {
default = false
type = bool
description = "To enable basic auth for all branches or not."
}
variable "enable_basic_auth_on_master" {
default = false
type = bool
description = "To enable basic auth the root subdomain or not."
}
variable "enable_basic_auth_on_develop" {
default = true
type = bool
description = "To enable basic auth on the develop branch subdomain or not."
}
variable "basic_auth_username" {
type = string
description = "The username to use for the basic auth configuration."
}
variable "basic_auth_password" {
type = string
description = "The password to use for the basic auth configuration."
}
variable "develop_pull_request_preview" {
default = true
type = bool
description = "Whether to enable preview on PR's into develop."
}
variable "domain_name" {
default = ""
type = string
description = "The Custom Domain Name to associate with this Amplify App."
}
variable "custom_rules" {
default = []
type = list(object({
source = string # Required
target = string # Required
status = any # Use null if not passing
condition = any # Use null if not passing
}))
description = "The custom rules to apply to the Amplify App."
}