* Add support for lifecycle_rule in gcs module (#288) Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com> * fix docs * rename unrelated interconnect module tests * fix doc example test Co-authored-by: iury <1934268+IuryAlves@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
598e4f5ee1
commit
202892b344
@@ -110,3 +110,25 @@ variable "cors" {
|
||||
})
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "lifecycle_rule" {
|
||||
description = "Bucket lifecycle rule"
|
||||
type = object({
|
||||
action = object({
|
||||
type = string
|
||||
storage_class = string
|
||||
})
|
||||
condition = object({
|
||||
age = number
|
||||
created_before = string
|
||||
with_state = string
|
||||
matches_storage_class = list(string)
|
||||
num_newer_versions = string
|
||||
custom_time_before = string
|
||||
days_since_custom_time = string
|
||||
days_since_noncurrent_time = string
|
||||
noncurrent_time_before = string
|
||||
})
|
||||
})
|
||||
default = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user