Skip to content
tcloud networking vpcs delete

networking vpcs delete

tcloud networking vpcs delete

Delete VPC(s)

Synopsis

Delete VPC(s) by identity or label selector. This command will delete the VPC(s) and all associated resources.

tcloud networking vpcs delete [flags]

Examples

tcloud networking vpcs delete vpc-123
tcloud networking vpcs delete vpc-123 vpc-456 --wait
tcloud networking vpcs delete --selector environment=test --force

Options

      --force                   Force the deletion and skip the confirmation
  -h, --help                    help for delete
  -l, --selector string         Label selector to filter VPCs (format: key1=value1,key2=value2)
      --wait                    Wait for the VPC(s) to be deleted
      --wait-timeout duration   Maximum time to wait for the VPC(s) to be deleted (default 20m0s)

Options inherited from parent commands

      --access-token string    Access Token authentication (overrides context)
      --api string             API endpoint (overrides context)
      --client-id string       OIDC client ID for OIDC authentication (overrides context)
      --client-secret string   OIDC client secret for OIDC authentication (overrides context)
  -c, --context string         Context name
      --debug                  Debug mode
      --ignore-dir-config      Ignore directory-local .thalassa defaults
  -O, --organisation string    Organisation slug or identity (overrides context)
  -P, --project string         Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
      --token string           Personal access token (overrides context)

SEE ALSO