Skip to content

Commit

Permalink
Change ECSRunTask Operator's network config to use public subnets
Browse files Browse the repository at this point in the history
  • Loading branch information
amywieliczka committed Oct 10, 2024
1 parent 9f08eb5 commit 0112975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/shared_tasks/content_harvest_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_awsvpc_config():
.get('Outputs', [])
)
for output in cf_outputs:
if output['OutputKey'] in ['PrivateSubnet1', 'PrivateSubnet2']:
if output['OutputKey'] in ['PublicSubnet1', 'PublicSubnet2']:
awsvpcConfig['subnets'].append(output['OutputValue'])
if output['OutputKey'] == 'SecurityGroup':
awsvpcConfig['securityGroups'].append(output['OutputValue'])
Expand Down

0 comments on commit 0112975

Please sign in to comment.