-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathvariables.tf
63 lines (53 loc) · 1.69 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
variable "region" {
type = string
description = "Target region"
default = "us-east-1"
}
variable "global_resource_deploy_from_region" {
type = string
description = "Region from which to deploy global resources in our pipeline"
default = "us-east-1"
}
variable "account" {
type = string
description = "Target AWS account number"
}
variable "env" {
type = string
description = "Environment name"
default = "dev"
}
variable "tag_prefix_list" {
type = list(string)
description = "List of tag prefixes"
default = ["dev", "qa", "staging", "prod"]
}
# Required for provisioning assume_role perms for cross account access
variable "target_accounts" {
type = list(string)
description = "List of target accounts"
}
variable "number_of_azs" {
type = number
description = "Number of azs to deploy to"
default = 3
}
variable "tf_backend_config_prefix" {
type = string
description = "A name to prefix the S3 bucket for terraform state files and the DynamoDB table for terraform state locks for backend config"
}
variable "source_repo_bucket_prefix" {
type = string
description = "A prefix for S3 bucket name to house the src code in the Source stage post tagging"
default = "awsome-cb-repo"
}
variable "codebuild_artifacts_prefix" {
type = string
description = "A prefix for S3 bucket name to house the AWS CodeBuild artifacts for cache, etc."
default = "awsome-cb-artifact"
}
variable "codepipeline_artifacts_prefix" {
type = string
description = "A prefix for S3 bucket name to house the AWS CodePipeline artifacts for cache, etc."
default = "awsome-cp-artifact"
}