diff --git a/ec2.py b/ec2.py index 0dbaf0d..be6d080 100644 --- a/ec2.py +++ b/ec2.py @@ -167,6 +167,12 @@ def create_security_group(ec2_client, vpc_id): 'FromPort': 8080, 'ToPort': 8080, 'IpRanges': [{'CidrIp': '0.0.0.0/0', 'Description': 'HTTP access'}] + }, + { + 'IpProtocol': 'tcp', + 'FromPort': 80, + 'ToPort': 80, + 'IpRanges': [{'CidrIp': '0.0.0.0/0', 'Description': 'HTTP access'}] } ] )