diff --git a/modules/inception/gcp/backups-bucket.tf b/modules/inception/gcp/backups-bucket.tf index 08470227..d21ecc6d 100644 --- a/modules/inception/gcp/backups-bucket.tf +++ b/modules/inception/gcp/backups-bucket.tf @@ -8,6 +8,16 @@ resource "google_storage_bucket" "backups" { is_locked = true retention_period = 2592000 } + + lifecycle_rule { + action { + type = "Delete" + } + + condition { + age = 90 + } + } } resource "google_service_account" "backups" {