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.

已提问 7 个月前260 查看次数
1 回答
1
已接受的回答

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
已回答 7 个月前
profile pictureAWS
专家
已审核 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则