Reputation: 9193
I have inherited an aws project with the following cloudformation settings for a vpc security group.
SecurityGroupEgress:
- IpProtocol: -1
FromPort: -1
ToPort: -1
CidrIp: 0.0.0.0/0
I am not an expert in networking or VPC, could someone explain to me what the following means, specifically the -1.
Upvotes: 0
Views: 60
Reputation: 269284
It means:
0.0.0.0/0
)From AWS::EC2::SecurityGroupEgress - AWS CloudFormation:
You can use
-1
for the type or code to mean all types or all codes.
Upvotes: 1