From d015161e2be3295255e7dcd1053721b5ec5cfa67 Mon Sep 17 00:00:00 2001 From: dzikafoczka Date: Sun, 22 Dec 2024 19:10:23 +0100 Subject: [PATCH] test --- ec2.py | 6 ++++++ 1 file changed, 6 insertions(+) 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'}] } ] )