The below error was on 2.3.2.0
 I just upgraded to 2.4.0.0 and got the following -

The error was: Unknown parameter in Targets[0]: "EcsParameters", must be 
one of: Id, Arn, Input, InputPath

So is this maybe a bugged/broken feature?


On Thursday, 21 September 2017 10:05:59 UTC+2, Derek Gibson wrote:
>
> 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/38338fed-3a22-4ddc-a8d0-144f53d3c517%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to