Remove useless statement
This commit is contained in:
parent
232b832563
commit
5a5f2f12c7
@ -1098,11 +1098,10 @@ class SecurityGroup(TaggedEC2Resource):
|
|||||||
self.name = name
|
self.name = name
|
||||||
self.description = description
|
self.description = description
|
||||||
self.ingress_rules = []
|
self.ingress_rules = []
|
||||||
self.egress_rules = []
|
self.egress_rules = [SecurityRule(-1, -1, -1, ['0.0.0.0/0'], [])]
|
||||||
self.enis = {}
|
self.enis = {}
|
||||||
self.vpc_id = vpc_id
|
self.vpc_id = vpc_id
|
||||||
self.owner_id = "123456789012"
|
self.owner_id = "123456789012"
|
||||||
self.egress_rules.append(SecurityRule(-1, -1, -1, ['0.0.0.0/0'], []))
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create_from_cloudformation_json(cls, resource_name, cloudformation_json, region_name):
|
def create_from_cloudformation_json(cls, resource_name, cloudformation_json, region_name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user