Actual Behavior
The condition “after 0 days since the object was created” is set in the object’s conditions, even though it is not specified. Please advise how to delete this condition.
Terraform Version
1.37
Terraform Configuration Files
# Maximum number of versions per object
lifecycle_rule {
action {
type = var.gcs_param_con.type
}
condition {
num_newer_versions = each.value.num_newer_versions
with_state = var.gcs_param_con.with_state_ver
}
}
# Non-Current Version Expiration Date
lifecycle_rule {
action {
type = var.gcs_param_con.type
}
condition {
days_since_noncurrent_time = each.value.days_since_noncurrent_time
}
}
# Current Version Expiration Date
lifecycle_rule {
action {
type = var.gcs_param_con.type
}
condition {
age = each.value.age
}
}