Skip to content

runbooks vpc vpce-cleanupΒΆ

Auto-generated from runbooks vpc vpce-cleanup --help on 2026-05-21. Source of truth: runbooks PyPI package v1.3.22

Usage: runbooks vpc vpce-cleanup [OPTIONS]

  Analyze VPC endpoint cleanup candidates and calculate savings.

Options:
  --profile TEXT          AWS profile for single-account operations.

                          πŸ“‹ Profile Selection Guide:
                          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

                          Single Account β†’ Use --profile YOUR_PROFILE
                          Example: --profile dev-account   When:
                          Developer/operator working in one AWS account

                          Multi-Account LZ β†’ Use --all-profiles (see inventory
                          commands)   Example: --all-profiles   When: Platform
                          team discovering across organization

                          πŸ” Enrichment Profiles (Automatic):   β€’
                          Organizations: MANAGEMENT_PROFILE   β€’ Costs:
                          BILLING_PROFILE   Note: Separate from discovery
                          profile

                          Decision: Single account = --profile | Multi-account
                          = --all-profiles
  --region TEXT           AWS region override (default: ap-southeast-2)
  --dry-run               Safe analysis mode - no resource modifications
                          (enterprise default)
  --csv-file PATH         CSV file with VPCE cleanup data  [required]
  --validate              Validate VPCEs exist via AWS API
  --generate-commands     Generate cleanup script
  --claimed-annual FLOAT  Claimed annual savings for comparison
  --output-dir PATH       Output directory
  --help                  Show this message and exit.

ExamplesΒΆ