New to Kestra?
Use blueprints to kickstart your first workflows.
Audits Google Cloud Storage bucket lifecycle configurations to detect missing object expiration rules and prevent cost leaks.
This workflow executes gcloud storage buckets describe to inspect the lifecycle.rule block of the target GCS bucket. In cloud data architectures, buckets designated for intermediate staging, access logs, or temporary pipeline exports often lack lifecycle management. Without automated Delete actions after 30 or 90 days, terabytes of dead data accumulate, driving up recurring cloud storage bills. Slack is alerted when expiration rules are absent.
GCP_SERVICE_ACCOUNT and SLACK_WEBHOOK configured in Kestra.gcloud storage buckets update.