Closed diogonicoleti closed 1 month ago
5.2.0
I defined the following commands in a job:
deploy-ecs-scheduled-task: parameters: task_name: type: string docker: - image: 'cimg/python:3.10.5' steps: - aws-cli/setup: role_arn: "${AWS_ROLE_ARN}" role_session_name: "CircleCI-${CIRCLE_JOB}" - aws-ecs/update_task_definition: family: '${CIRCLE_BRANCH}-app-<< parameters.task_name >>' container-image-name-updates: 'container=app-<< parameters.task_name >>,tag=${CIRCLE_SHA1}' - aws-ecs/deploy_ecs_scheduled_task: rule_name: << pipeline.git.branch >>-app-<< parameters.task_name >>-event-rule
but even defining the rule_name I got the following error in the deploy_ecs_scheduled_task command:
rule_name
deploy_ecs_scheduled_task
To deploy with an scheduled task, you must provide a rule name Exited with code exit status 1
Successfully deploy rule with the updated task definition
N/A
Thanks for the heads up and your solution, the new version has this fix already.
Nice! Thanks @marboledacci I upgraded the orb version in my pipeline and it's working fine!
Orb version:
5.2.0
What happened:
I defined the following commands in a job:
but even defining the
rule_name
I got the following error in thedeploy_ecs_scheduled_task
command:Expected behavior:
Successfully deploy rule with the updated task definition
Additional Information:
N/A