Error in Pygrid cli aws deployment
Nilanshrajput opened this issue · comments
Nilansh Rajput commented
Description
A clear and concise description of the bug.
How to Reproduce
- pygrid deploy --provider aws --app node
after filling all configs I face the following issue.
I have removed the ids from below trace
Error: Error launching source instance: InvalidSubnetID.NotFound: The subnet ID 'aws_subnet.main_subnet.id' does not exist
status code: 400, request id:
Error: error attaching EC2 Internet Gateway (): Error attaching internet gateway: InvalidVpcID.NotFound: The vpc ID 'aws_vpc.main_vpc.id' does not exist
status code: 400, request id:
Error: Error creating Security Group: InvalidVpcID.NotFound: The vpc ID 'aws_vpc.main_vpc.id' does not exist
status code: 400, request id:
Error: error creating route table: InvalidVpcID.NotFound: The vpc ID 'aws_vpc.main_vpc.id' does not exist
status code: 400, request id:
Error: error creating subnet: InvalidVpcID.NotFound: The vpc ID 'aws_vpc.main_vpc.id' does not exist
status code: 400, request id:
Error: Error creating route table association: InvalidRouteTableID.NotFound: The routeTable ID 'aws_route_table.route_table.id' does not exist
status code: 400, request id:
Screenshots
If applicable, add screenshots to help explain your problem.
System Information
- OS: Ubuntu
- OS Version: Ubuntu 20.04.1 LTS (Focal Fossa)
- Language Version: Python 3.7
- Package Manager Version: conda
Additional Context
Add any other context about the problem here.
Madhava Jay commented
Fixed