I'm trying to create Beanstalk app with Network load balancer in new VPC (one public, one private subnet, internet gateway, nat gateway...)
I can create successfully in my personal aws account.
With account of my organization, I have this error "VPC does not exist":
eb create Dev-Price-Availability-API-App-Dev -i t2.micro --vpc --vpc.id vpc-e753b89d
Do you want to associate a public IP address? (Y/n): n
Enter a comma-separated list of Amazon EC2 subnets: subnet-2903f417
Enter a comma-separated list of Amazon ELB subnets: subnet-2903f417
Enter a comma-separated list of Amazon VPC security groups: sg-c382d588
Do you want the load balancer to be public? (Select no for internal) (Y/n): n
NOTE: The current directory does not contain any source code. Elastic Beanstalk is launching the sample application instead.
ERROR: ServiceError - Configuration validation exception: The VPC 'vpc-e753b89d' does not exist.
I try to reproduce many times (create new VPC...), and the script always run successfully in my personal AWS but having the same error in organization AWS. All subnet of vpc and beanstalk are in the same region (us-east-1).
Sometimes, the script throws "subnet does not exist", "securitygroups does not exists" Does anyone have the same issue, could you give me some ideas?