Reputation: 1115
I've created 3 tasks on a cluster. 1 is running fine but I'm getting
CannotStartContainerError: Error response from daemon: failed to initialize logging driver: failed to create Cloudwatch log stream: ResourceNotFoundException: The specified log group does not exist. status code: 400, request id: 3bf76715-2188-40d6-8bed-4
on the other 2. I shouldn't be getting this error since I've been following tutorial.
It says "the specified log group doesn't exist" but:
Any insight into this much appreciated.
Upvotes: 15
Views: 24286
Reputation: 22903
I had the correct Cloudwatch log group name but had to remove it and re-create it before it works.
Upvotes: 0
Reputation: 1631
The more important part of the error is: ResourceNotFoundException: The specified log group does not exist. The log group you have specified might have been deleted. Make sure the log group exists and try again.
Edit: You can select the Auto-configure CloudWatch Logs
option to avoid this error.
Upvotes: 22