1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
Conteúdo relevante
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 2 meses
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!