Lists all EC2 VPC subnets available for all accounts.
This command outputs a list of all the private subnets associated with your EC2 accounts, which can be used when creating an EC2 instance. By default it produces a human-readable table, but you can switch to a more parsable output format with the --multiline
flag. Or to just get a list of subnet IDs,
use the --name-only
flag.
Example usage
cloudmin list-ec2-subnets Subnet ID Network Zone Account -------------------- -------------------- -------------------- ------------ subnet-b7c734df 10.0.0.0/24 us-east-1a 093590521311
Command Line Help
Lists all EC2 VPC subnets available for all accounts. cloudmin list-ec2-subnets [--multiline | --name-only] [--account number]