terraform-google-modules/terraform-google-cloud-storage

bucket_lifecycle_rules cannot be used without specifying lifecycle_rules

Closed this issue · 0 comments

Hi There,

I wanted to use only bucket_lifecyle_rules variable for multiple buckets by specifying the bucket_name and necessary lifecycle rules, but in this module, I am unable to use this alone as it requires lifecycle_rules variable to be specified which is not required in my case as I wanted lifecycle rules for only specific buckets.

Also can we have a separate resource for lifecycle rules where we can specify bucket name and required rules instead of embedding it inside google_storage_bucket resource.

Please let me know your thoughts.

Thanks,
Sunil