I am struggling hard to find the VPC-ID for an Elastic Beanstalk created via eb create:
aws elasticbeanstalk describe-environments --application-name myapplication
I can fetch the Environment ID but found no command to fetch the VPC-ID for that environment.
I would need a solution that is either able to:
A. Tag the VPC on Beanstalk creation so i can find it by
aws ec2 describe-vpcs --filters Name=tag:Name,Values=myVPCTAG
B. Find VPC-ID for the Beanstalk Environment ID
C. However goal is to get the VPC ID for a Beanstalk Environment, no matter how.