-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
58 lines (45 loc) · 1.57 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
variable "region" {
description = "AWS region to deploy to (e.g. ap-southeast-2)"
}
variable "name" {
description = "Name of project (used in AWS resource names)"
}
variable "kms_key_arns" {
description = "Array of KMS Key ARNs used to decrypt secrets specified via ssm_parameter_arns variable"
}
variable "ssm_parameter_arns" {
description = "Array of SSM Parameter ARNs used to set secret build environment variables via SSM Parameter Store"
}
variable "build_docker_image" {
description = "Docker image to use as build environment"
}
variable "build_docker_tag" {
description = "Docker image tag to use as build environment"
}
variable "source_type" {
description = "Type of repository that contains the source code to be built. Valid values for this parameter are: CODECOMMIT, CODEPIPELINE, GITHUB or S3."
default = "GITHUB"
}
variable "buildspec" {
description = "The CodeBuild build spec declaration path - see https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html"
}
variable "source_location" {
description = "HTTPS URL of CodeCommit repo or S3 bucket to use as project source"
}
variable "cache_bucket" {
description = "S3 bucket to use as build cache, the value must be a valid S3 bucket name/prefix"
default = ""
}
variable "bucket_name" {
description = "Name of deployment S3 bucket"
}
variable "dns_names" {
description = "List of DNS names for app"
type = list(string)
}
variable "route53_zone_id" {
description = "Route 53 Hosted Zone ID"
}
variable "acm_arn" {
description = "ARN of ACM SSL certificate"
}