File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 11variable "central_account_resource_name_prefix" {
2+ type = string
23 description = " Central account resource name prefix, e.g. aws-backup-"
34
45 validation {
@@ -8,11 +9,13 @@ variable "central_account_resource_name_prefix" {
89}
910
1011variable "kms_key_arn" {
12+ type = string
1113 description = " ARN of KMS key for S3 bucket encryption, if omitted, S3 managed key will be used"
1214 default = " "
1315}
1416
1517variable "log_bucket" {
18+ type = string
1619 description = " Enter name of log bucket to enable access logs"
1720 default = " "
1821}
@@ -23,6 +26,7 @@ variable "force_destroy" {
2326}
2427
2528variable "object_ownership" {
29+ type = string
2630 description = " manage S3 bucket ownership controls"
2731 default = " BucketOwnerEnforced"
2832 validation {
@@ -32,27 +36,37 @@ variable "object_ownership" {
3236}
3337
3438variable "block_public_acls" {
35- default = true
39+ type = bool
40+ description = " Block public ACLs on the S3 bucket"
41+ default = true
3642}
3743
3844variable "block_public_policy" {
39- default = true
45+ type = bool
46+ description = " Block public bucket policies on the S3 bucket"
47+ default = true
4048}
4149
4250variable "ignore_public_acls" {
43- default = true
51+ type = bool
52+ description = " Ignore public ACLs on the S3 bucket"
53+ default = true
4454}
4555
4656variable "restrict_public_buckets" {
47- default = true
57+ type = bool
58+ description = " Restrict public bucket policies on the S3 bucket"
59+ default = true
4860}
4961
5062variable "bpa_skip_destroy" {
63+ type = bool
5164 description = " Skip destroy of S3 block public access configuration"
5265 default = true
5366}
5467
5568variable "versioning" {
69+ type = string
5670 description = " Enable versioning"
5771 default = " Enabled"
5872 validation {
You can’t perform that action at this time.
0 commit comments