Default VPC subnets

0

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.

demandé il y a 7 mois260 vues
1 réponse
1
Réponse acceptée

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 https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html

AWS
TonyG
répondu il y a 7 mois
profile pictureAWS
EXPERT
vérifié il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions