Skip to content

Commit 979b4fa

Browse files
committed
re add egress rules to scheduler and workers
1 parent 3e94d28 commit 979b4fa

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

cloudformation/84_airflow-scheduler.yml.j2

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Resources:
66
Properties:
77
GroupDescription: Security group for Airflow Scheduler
88
GroupName: "{{ serviceName }}-{{ ENVIRONMENT }}-scheduler-security-group"
9+
SecurityGroupEgress:
10+
- CidrIp: 0.0.0.0/0
11+
FromPort: 0
12+
IpProtocol: -1
13+
ToPort: 0
914
VpcId: !ImportValue network-VpcId
1015
Tags:
1116
- Key: Name

cloudformation/86_airflow-workers.yml.j2

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Resources:
66
Properties:
77
GroupDescription: Security group for Airflow workers
88
GroupName: "{{ serviceName }}-{{ ENVIRONMENT }}-workers-security-group"
9+
SecurityGroupEgress:
10+
- CidrIp: 0.0.0.0/0
11+
FromPort: 0
12+
IpProtocol: -1
13+
ToPort: 0
914
SecurityGroupIngress:
1015
- CidrIp: "{{ service.cidrBlock }}/16"
1116
FromPort: "{{ service.workers.port }}"

0 commit comments

Comments
 (0)