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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南