diff --git a/lambda_functions/bgg_cleaner_fargate_trigger.py b/lambda_functions/bgg_cleaner_fargate_trigger.py index 82c0d29..16294d9 100644 --- a/lambda_functions/bgg_cleaner_fargate_trigger.py +++ b/lambda_functions/bgg_cleaner_fargate_trigger.py @@ -61,6 +61,7 @@ def lambda_handler(event, context): "securityGroups": [ terraform_state_file["outputs"]["sg_ec2_ssh_access"]["value"] ], + "assignPublicIp": "ENABLED", }, }, ) diff --git a/lambda_functions/bgg_scraper_fargate_trigger.py b/lambda_functions/bgg_scraper_fargate_trigger.py index 86f9e4b..743e4e8 100644 --- a/lambda_functions/bgg_scraper_fargate_trigger.py +++ b/lambda_functions/bgg_scraper_fargate_trigger.py @@ -82,6 +82,7 @@ def lambda_handler(event, context): terraform_state_file["outputs"]["sg_ec2_ssh_access"]["value"] ], }, + "assignPublicIp": "ENABLED", }, overrides={ "containerOverrides": [