From fee89b838c205ff604fcd510baabcf806da62fdd Mon Sep 17 00:00:00 2001 From: devuonocar Date: Tue, 31 Oct 2023 10:47:28 +0100 Subject: [PATCH] Update default value --- modules/gcs/README.md | 2 +- modules/gcs/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gcs/README.md b/modules/gcs/README.md index 326baa19c3..993e0435ff 100644 --- a/modules/gcs/README.md +++ b/modules/gcs/README.md @@ -196,7 +196,7 @@ module "bucket" { | [notification_config](variables.tf#L169) | GCS Notification configuration. | object({…}) | | null | | [objects_to_upload](variables.tf#L183) | Objects to be uploaded to bucket. | map(object({…})) | | {} | | [prefix](variables.tf#L209) | Optional prefix used to generate the bucket name. | string | | null | -| [public_access_prevention](variables.tf#L224) | Prevents public access to a bucket. Acceptable values are inherited or enforced. If inherited, the bucket uses public access prevention, only if the bucket is subject to the public access prevention organization policy constraint. | string | | "inherited" | +| [public_access_prevention](variables.tf#L224) | Prevents public access to a bucket. Acceptable values are inherited or enforced. If inherited, the bucket uses public access prevention, only if the bucket is subject to the public access prevention organization policy constraint. | string | | null | | [requester_pays](variables.tf#L230) | Enables Requester Pays on a storage bucket. | bool | | null | | [retention_policy](variables.tf#L236) | Bucket retention policy. | object({…}) | | null | | [storage_class](variables.tf#L245) | Bucket storage class. | string | | "MULTI_REGIONAL" | diff --git a/modules/gcs/variables.tf b/modules/gcs/variables.tf index 4f7b9274ee..de8a6abd83 100644 --- a/modules/gcs/variables.tf +++ b/modules/gcs/variables.tf @@ -224,7 +224,7 @@ variable "project_id" { variable "public_access_prevention" { description = "Prevents public access to a bucket. Acceptable values are inherited or enforced. If inherited, the bucket uses public access prevention, only if the bucket is subject to the public access prevention organization policy constraint." type = string - default = "inherited" + default = null } variable "requester_pays" {