Closed mskrajnowski closed 3 years ago
Added dependencies to ecs/task/role outputs that ensure the task is not used before the policies are attached.
ecs/task/role
Proved not enough to guarantee that provisioning aws ecs run-task commands don't fail, because ECS doesn't have access to SSM parameters for fetching secrets. Had to add a delay with a time_sleep resource.
aws ecs run-task
Added dependencies to
ecs/task/role
outputs that ensure the task is not used before the policies are attached.