Add the default outboud rule for security groups

This commit is contained in:
Yann Lambret 2016-04-19 23:50:46 +02:00
commit de68c94a0a
2 changed files with 4 additions and 3 deletions

View file

@ -1102,6 +1102,7 @@ class SecurityGroup(TaggedEC2Resource):
self.enis = {}
self.vpc_id = vpc_id
self.owner_id = "123456789012"
self.egress_rules.append(SecurityRule(-1, -1, -1, ['0.0.0.0/0'], []))
@classmethod
def create_from_cloudformation_json(cls, resource_name, cloudformation_json, region_name):