What is the AWS CLI Command to Determine the VPC ID?

Problem scenario
You are now administering an AWS account. You have the AWS CLI installed and configured. How do you find out what the VPC IDs are?

Run this command:

aws ec2 describe-vpcs | grep VpcId

Leave a comment

Your email address will not be published. Required fields are marked *