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?
Solution
Run this command:
aws ec2 describe-vpcs | grep VpcId
A Technical I.T./DevOps Blog
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?
Solution
Run this command:
aws ec2 describe-vpcs | grep VpcId