Policy Packs
Enforce GCP Storage Buckets Are Not Older Than 7 Days

Policy Setting: GCP > Storage > Bucket > Active > Age

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "gcp_storage_bucket_active_age" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/gcp-storage#/policy/types/bucketActiveAge"
value = "Force inactive if age > 7 days"
}