Add missing fields to Cloud Storage bucket (#1745)

* Add new featrures

* Terraform fmt

* Fix README.md

* Delete not allowed validation

* Fix README.md

* Fix README.md

* update var

* update var

* Update var
This commit is contained in:
devuonocar
2023-10-10 22:40:30 +02:00
committed by GitHub
parent 64d88d90d1
commit 4f91523a08
3 changed files with 50 additions and 19 deletions

View File

@@ -25,6 +25,18 @@ variable "cors" {
default = null
}
variable "custom_placement_config" {
type = list(string)
default = null
description = "The bucket's custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated as REGIONAL or MULTI_REGIONAL, the parameters are empty."
}
variable "default_event_based_hold" {
description = "Enable event based hold to new objects added to specific bucket, defaults to false."
type = bool
default = null
}
variable "encryption_key" {
description = "KMS key that will be used for encryption."
type = string
@@ -203,6 +215,12 @@ variable "project_id" {
type = string
}
variable "requester_pays" {
description = "Enables Requester Pays on a storage bucket."
type = bool
default = null
}
variable "retention_policy" {
description = "Bucket retention policy."
type = object({