Cloudwatch failedinvocation error no logs available

后端 未结 8 1473
感动是毒
感动是毒 2020-12-29 04:31

I have set up a Cloudwatch rule event where an ECS task definition is started when a previous task definition is completed.

I can see the event triggers the task de

8条回答
  •  醉话见心
    2020-12-29 05:07

    CloudTrail logs helped. event Name is RunTask. The issue was: "errorCode": "InvalidParameterException", "errorMessage": "Override for container named rds-task is not a container in the TaskDefinition.",

    The AWS documentation for debugging CloudWatch events is here:
    https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CWE_Troubleshooting.html

    I opened a PR to add documentation for debugging failed ECS Task Invocations from CloudWatch Events:
    https://github.com/awsdocs/amazon-cloudwatch-events-user-guide/pull/12/files

提交回复
热议问题