-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
58 lines (46 loc) · 1.8 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
variable "build_command" {
description = "The command that is run via CodeBuild to generate the site"
default = "if [ -f ./build ]; then chmod 700 ./build && ./build; fi"
}
variable "cert_arn" {
description = "The ARN of the certification for the site - should include *.example.com and example.com"
}
variable "code_build_docker_image_identifier" {
description = "Docker Image Identifier: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html"
default = "aws/codebuild/standard:7.0"
}
variable "repo_branch" {
description = "The branch which will trigger deployments"
default = "master"
}
variable "repo_name" {
description = "The name of the repository hosting the site; if using AWS CodeStar for Github or Bitbucket repositories, this should be the full repository id eg. someuser/myrepo"
default = "website"
}
variable "code_star_connection_arn" {
description = "The CodeStar connection ARN retrieved by manually creating the connection to a repository using the AWS console"
default = ""
}
variable "custom_error_response_page_path" {
description = "The path to an HTML page to use for 403 and 404 errors"
default = ""
}
variable "debug" {
description = "Set to 'true' to turn on debugging. Currently this just sets the TTL for CloudFront to 0"
default = "false"
}
variable "domain" {
description = "The URL or domain for the site, without the 'www', i.e. example.com"
}
variable "env" {
description = "The name of the environment, i.e. dev, test, prod; will be used to prefix CloudFormation stack names"
}
variable "notification_email" {
description = "Email address which should receive deploy notifications"
default = ""
}
variable "whitelisted_ips" {
description = "The list of whitelisted IPs to use for the WAF IPSet"
type = list
default = []
}