-
Notifications
You must be signed in to change notification settings - Fork 593
Open
Labels
enhancementNew feature or requestNew feature or request
Description
TL;DR
The api supports isLive, while the terraform lifecycle_rule does not have the is_live property.
Docs: https://cloud.google.com/storage/docs/lifecycle#islive
Api: https://cloud.google.com/storage/docs/json_api/v1/buckets#lifecycle.rule.condition.isLive
Terraform Resources
Detailed design
I think the is_live property should be easy to add, but there might be a reason this is not the case or an unwanted feature. It should be at least mentioned in the docs for the terraform resource.
Additional information
As far as I understood the docs, you can emulate the isLive: false with new numNewerVersions: 1 (or a higher number). However, isLive: true is not expressible by numNewerVersions.
christhegrand
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request