Skip to content

Commit a872b5e

Browse files
committed
Fix unintentional diff between steps.
1 parent ed0db89 commit a872b5e

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

labs/aws/in-person/python/lab-03/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ alb = aws.lb.LoadBalancer("app-lb",
5454

5555
atg = aws.lb.TargetGroup("app-tg",
5656
port=80,
57-
deregistration_delay=0,
5857
protocol="HTTP",
5958
target_type="ip",
6059
vpc_id=default_vpc.id

labs/aws/in-person/python/lab-03/code/step2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{ 'protocol': 'tcp', 'from_port': 80, 'to_port': 80, 'cidr_blocks': ['0.0.0.0/0'] }
1616
],
1717
egress=[
18-
{ 'protocol': 'tcp', 'from_port': 80, 'to_port': 80, 'cidr_blocks': ['0.0.0.0/0'] }
18+
{ 'protocol': "-1", 'from_port': 0, 'to_port': 0, 'cidr_blocks': ['0.0.0.0/0'] }
1919
])
2020

2121
alb = aws.lb.LoadBalancer("app-lb",
@@ -27,7 +27,6 @@
2727

2828
atg = aws.lb.TargetGroup("app-tg",
2929
port=80,
30-
deregistration_delay=0,
3130
protocol="HTTP",
3231
target_type="ip",
3332
vpc_id=default_vpc.id

labs/aws/in-person/python/lab-03/code/step3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
vpc_id=default_vpc.id,
1313
description='Enable HTTP access',
1414
ingress=[
15+
{ 'protocol': 'icmp', 'from_port': 8, 'to_port': 0, 'cidr_blocks': ['0.0.0.0/0'] },
1516
{ 'protocol': 'tcp', 'from_port': 80, 'to_port': 80, 'cidr_blocks': ['0.0.0.0/0'] }
1617
],
1718
egress=[

labs/aws/in-person/python/lab-03/code/step5.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
vpc_id=default_vpc.id,
1313
description='Enable HTTP access',
1414
ingress=[
15+
{ 'protocol': 'icmp', 'from_port': 8, 'to_port': 0, 'cidr_blocks': ['0.0.0.0/0'] },
1516
{ 'protocol': 'tcp', 'from_port': 80, 'to_port': 80, 'cidr_blocks': ['0.0.0.0/0'] }
1617
],
1718
egress=[

0 commit comments

Comments
 (0)