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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user