Skip to main content
Version: Weekly Build

oms beta bootstrap-gcp cleanup

Generated from OMS version v2.113.0.

Clean up GCP infrastructure created by bootstrap-gcp

Synopsis​

Deletes a GCP project that was previously created using the bootstrap-gcp command.

oms beta bootstrap-gcp cleanup [flags]

Examples​

# Clean up using project ID from the local infra file
$ oms beta bootstrap-gcp cleanup

# Clean up a specific project
$ oms beta bootstrap-gcp cleanup --project-id my-project-abc123

# Force cleanup without confirmation (skips OMS-managed check)
$ oms beta bootstrap-gcp cleanup --project-id my-project-abc123 --force

# Skip DNS record cleanup
$ oms beta bootstrap-gcp cleanup --skip-dns-cleanup

# Clean up with manual DNS settings (when infra file is not available)
$ oms beta bootstrap-gcp cleanup --project-id my-project --base-domain example.com --dns-zone-name my-zone --dns-project-id dns-project

Options​

--base-domain string Base domain for DNS cleanup (optional, will use infra file if not provided)
--dns-project-id string GCP Project ID for DNS zone (optional, will use infra file if not provided)
--dns-zone-name string DNS zone name for DNS cleanup (optional, will use infra file if not provided)
--force Skip confirmation prompt and OMS-managed check
-h, --help help for cleanup
--project-id string GCP Project ID to delete (optional, will use infra file if not provided)
--skip-dns-cleanup Skip cleaning up DNS records
--timer Show how long each step took after it finishes

Options inherited from parent commands​

--verbose Enable verbose output

SEE ALSO​