1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
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!