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.

gefragt vor 7 Monaten260 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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
beantwortet vor 7 Monaten
profile pictureAWS
EXPERTE
überprüft vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen