stratumctl vpcs
Manage VPCs
stratumctl vpcs [flags]Aliases: vpc
Subcommands
Section titled “Subcommands”stratumctl vpcs associate-cidr: Associate a secondary IPv4 CIDR block with a VPCstratumctl vpcs create: Create a VPC (returns 202; pollvpcs getuntil state=available)stratumctl vpcs create-default: Ask for the project’s default VPC (AWS create-default-vpc); 202, built by the reconcilerstratumctl vpcs default: Show the project’s default VPC (creating, available, declined, deleted, error)stratumctl vpcs delete: Soft-delete a VPC (must have IGW disabled + no children)stratumctl vpcs disassociate-cidr: Disassociate a secondary IPv4 CIDR block from a VPCstratumctl vpcs get: Describe a VPCstratumctl vpcs list: List VPCs in a projectstratumctl vpcs set-dns-hostnames: Enable or disable auto instance DNS hostnames on a VPCstratumctl vpcs set-igw: Enable or disable the Internet Gateway on a VPC
stratumctl vpcs associate-cidr
Section titled “stratumctl vpcs associate-cidr”Associate a secondary IPv4 CIDR block with a VPC
stratumctl vpcs associate-cidr <vpc-id> [flags]Examples
Section titled “Examples”stratumctl vpcs associate-cidr vpc-9k2m4x7q --project p-team-a --cidr-block 10.1.0.0/16| Flag | Type | Default | Description |
|---|---|---|---|
--cidr-block |
string | IPv4 CIDR block (required) | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs create
Section titled “stratumctl vpcs create”Create a VPC (returns 202; poll vpcs get until state=available)
stratumctl vpcs create <name> [flags]Examples
Section titled “Examples”stratumctl vpcs create web-vpcstratumctl vpcs create web-vpc --cidr-block 198.18.0.0/16 --internet-gateway| Flag | Type | Default | Description |
|---|---|---|---|
--cidr-block |
string | CIDR block (/16-/28 RFC1918); omitted = the next free /16 of 10.0.0.0/8 in the project | |
--description |
string | Free-form description | |
--display-name |
string | Human-friendly display name | |
--internet-gateway |
bool | false |
Internet Gateway at create time; without the flag the API’s default applies (on), –internet-gateway=false creates the VPC without one |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--region |
string | Region override |
stratumctl vpcs create-default
Section titled “stratumctl vpcs create-default”Ask for the project’s default VPC (AWS create-default-vpc); 202, built by the reconciler
stratumctl vpcs create-default [flags]Examples
Section titled “Examples”stratumctl vpcs create-default| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs default
Section titled “stratumctl vpcs default”Show the project’s default VPC (creating, available, declined, deleted, error)
stratumctl vpcs default [flags]Examples
Section titled “Examples”stratumctl vpcs defaultstratumctl vpcs default --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs delete
Section titled “stratumctl vpcs delete”Soft-delete a VPC (must have IGW disabled + no children)
stratumctl vpcs delete <vpc-id> [flags]Examples
Section titled “Examples”stratumctl vpcs delete vpc-9k2m4x7q| Flag | Type | Default | Description |
|---|---|---|---|
--force |
bool | false |
delete a platform-owned resource anyway (needs platform:ManageInternal; audited; the platform re-creates it) |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs disassociate-cidr
Section titled “stratumctl vpcs disassociate-cidr”Disassociate a secondary IPv4 CIDR block from a VPC
stratumctl vpcs disassociate-cidr <vpc-id> [flags]Examples
Section titled “Examples”stratumctl vpcs disassociate-cidr vpc-9k2m4x7q --project p-team-a --cidr-block 10.1.0.0/16| Flag | Type | Default | Description |
|---|---|---|---|
--cidr-block |
string | IPv4 CIDR block (required) | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs get
Section titled “stratumctl vpcs get”Describe a VPC
stratumctl vpcs get <vpc-id> [flags]Examples
Section titled “Examples”stratumctl vpcs get vpc-9k2m4x7qstratumctl vpcs get vpc-9k2m4x7q --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs list
Section titled “stratumctl vpcs list”List VPCs in a project
stratumctl vpcs list [flags]Examples
Section titled “Examples”stratumctl vpcs liststratumctl vpcs list --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs set-dns-hostnames
Section titled “stratumctl vpcs set-dns-hostnames”Enable or disable auto instance DNS hostnames on a VPC
stratumctl vpcs set-dns-hostnames <vpc-id> [flags]Examples
Section titled “Examples”stratumctl vpcs set-dns-hostnames vpc-9k2m4x7q --enablestratumctl vpcs set-dns-hostnames vpc-9k2m4x7q --disable| Flag | Type | Default | Description |
|---|---|---|---|
--disable |
bool | false |
Disable auto instance DNS hostnames |
--enable |
bool | false |
Enable auto instance DNS hostnames |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl vpcs set-igw
Section titled “stratumctl vpcs set-igw”Enable or disable the Internet Gateway on a VPC
stratumctl vpcs set-igw <vpc-id> [flags]Examples
Section titled “Examples”stratumctl vpcs set-igw vpc-9k2m4x7q --enablestratumctl vpcs set-igw vpc-9k2m4x7q --disable| Flag | Type | Default | Description |
|---|---|---|---|
--disable |
bool | false |
Disable the IGW |
--enable |
bool | false |
Enable the IGW |
--force |
bool | false |
disable the IGW of a platform-owned VPC anyway (needs platform:ManageInternal; audited) |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
