Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ZUNA

Zap Unused and Non-permanent Assets (Dutch version: Zet Uwe Nest Af)

Cloud native system to decommission Google Cloud test resources. Resources should be labeled with autodelete:true.

Features

Core

  • List active dataflow jobs
  • Drain dataflow jobs
  • List BigQuery datasets
  • Delete BigQuery datasets
  • Pub/Sub subscription list
  • Pub/Sub subscription deletion
  • Pub/Sub topic list
  • Pub/Sub topic deletion
  • GCS bucket list
  • GCS bucket deletion

Basic

  • Main script with ordered execution
  • Local invocation possible
  • BigQuery table deletion
  • BigQuery non-EU datasets
  • Dataflow drain/cancel wait
  • Dataflow cancel option (env var)

Usage

  • Pass in project id (env var)
  • Cloud function support
  • Cloud scheduler support
  • Installer: resource creation script
  • Dedicated service account
  • Standard roles on service account (project-level)
  • Dockerize
  • Publish to docker hub
  • Flag to override input (Y/n)

Installation

export GCP_PROJECT_ID=<your projecy id>
bash ./scripts/001_deploy.sh

About

Cloud native system to decommission Google Cloud resources when they aren't needed anymore.

Topics

Resources

Releases

No releases published

Packages

No packages published