I want to be able to update ecs scheduled tasks via ansible, using - cloudwatchevent_rule: name: ansitest schedule_expression: "cron(0 20 * * ? *)" description: test from ansible targets: - id: ansitest arn: arn:aws:ecs:us-east-1:111111111:cluster/ecs-cluster-test ecs_parameters: task_definition_arn: arn:aws:ecs:us-east-1:11111111:task-definition/some-app:123 task_count: 1
am getting the following error: ClientError: An error occurred (ValidationException) when calling the PutTargets operation: TaskDefinitionArn is empty for target ansitest My questions - Firstly, is cloudwatchevent_rule the correct command for updating ecs scheduled tasks? Secondly, is the format above correct? thanks Derek -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b81665f3-4728-4bae-a0b8-b80d3d542179%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.