Skip to content

Commit

Permalink
Missing "no_age" param
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnunogarcia committed Jun 6, 2024
1 parent 1e7e541 commit f8baddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/simple_bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ resource "google_storage_bucket" "bucket" {
}
condition {
age = lookup(lifecycle_rule.value.condition, "age", null)
no_age = lookup(lifecycle_rule.value.condition, "no_age", null)
created_before = lookup(lifecycle_rule.value.condition, "created_before", null)
with_state = lookup(lifecycle_rule.value.condition, "with_state", contains(keys(lifecycle_rule.value.condition), "is_live") ? (lifecycle_rule.value.condition["is_live"] ? "LIVE" : null) : null)
matches_storage_class = contains(keys(lifecycle_rule.value.condition), "matches_storage_class") ? split(",", lifecycle_rule.value.condition["matches_storage_class"]) : null
Expand Down

0 comments on commit f8baddf

Please sign in to comment.