Default VPC subnets


I messed up with my VPC, and now whenever I want to launch ec2 instance from terraform, it says there is no subnets in my default vpc, but actually there is? I don't understand what the problem is.

asked 7 months ago267 views
1 Answer
Accepted Answer

What do you mean when you say you messed up with default VPC? If you deleted it, you can recreate it with all its default components. The same applies to recreating a default subnet. Have a look here

answered 7 months ago
profile pictureAWS
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions