-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
68 lines (57 loc) · 2.18 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
variable "trusted_accounts" {
type = list(string)
description = "List of AWS accounts that are trusted to publish assets and deploy stacks to this environment"
default = []
}
variable "trusted_accounts_for_lookup" {
type = list(string)
description = "List of AWS accounts that are trusted to look up values in this environment"
default = []
}
variable "cloudformation_execution_policies" {
type = list(string)
description = "List of the ManagedPolicy ARN(s) to attach to the CloudFormation deployment role"
default = []
}
variable "file_assets_bucket_name" {
type = string
description = "Name of the S3 bucket used for file assets"
default = ""
}
variable "file_assets_bucket_kms_key_id" {
type = string
description = "Empty to create a new key (default), 'AWS_MANAGED_KEY' to use a managed S3 key, or the ID/ARN of an existing key."
default = ""
}
variable "container_assets_repository_name" {
type = string
description = "User-provided custom name to use for the container assets ECR repository"
default = ""
}
variable "qualifier" {
type = string
description = "Identifier to distinguish multiple bootstrap stacks in the same environment"
validation {
condition = can(regex("^[-_a-zA-Z0-9]+$", var.qualifier))
error_message = "Qualifier must be an alphanumeric identifier of at most 10 characters"
}
}
# variable "public_access_block_configuration" {
# type = bool
# description = "Whether or not to enable S3 Staging Bucket Public Access Block Configuration"
# default = true
# }
variable "input_permissions_boundary" {
type = string
description = "Whether or not to use either the CDK supplied or custom permissions boundary"
default = ""
}
variable "use_example_permissions_boundary" {
type = bool
default = false
}
# variable "bootstrap_variant" {
# type = string
# description = "Describe the provenance of the resources in this bootstrap stack. Change this when you customize the template. To prevent accidents, the CDK CLI will not overwrite bootstrap stacks with a different variant."
# default = "Grendel Consulting"
# }