1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Is there a way to get this to be the default? Looking at the documentation it appears that the answer to that is no
Hi. Unfortunately, you can’t.
Can I make an existing VPC the default VPC or restore a deleted default VPC in Amazon VPC? You can't select an existing non-default VPC as your new default VPC. You also can't restore a previous default VPC that you deleted.
https://repost.aws/knowledge-center/deleted-default-vpc
probably, you must specify security group id to overcome the issue.
For security groups in a nondefault VPC, you must specify the security group ID
https://docs.aws.amazon.com/powershell/latest/reference/items/Grant-EC2SecurityGroupIngress.html
関連するコンテンツ
- 質問済み 6年前
So I understand that I am not able to make a VPC the default but how do I overcome the error that I am getting in that case?
Sorry. I‘ve updated my answer.
Thank you. That did seem to fix it. Before I was using the groupName parameter to specify the security group. When I switched to groupId it worked. Bit of a misleading error message!