stepfunctions2processing icon indicating copy to clipboard operation
stepfunctions2processing copied to clipboard

Log group does not exist

Open sauln opened this issue 5 years ago • 1 comments

When running the StepFunctionFargate, I get an error that

CannotStartContainerError: Error response from daemon: failed to initialize logging driver: failed to create Cloudwatch log stream: ResourceNotFoundException: The specified log group does not exist.

If I manually create the log group, the step function works fine.

Is it possible to have the log group automatically created?

sauln avatar Nov 18 '20 21:11 sauln

@sauln Thank you for the feedback. I've updated the configuration file and included cloudwatch group creation so it would be created during first deploy: https://github.com/ryfeus/stepfunctions2processing/blob/master/aws-fargate/serverless.yml#L315-L318 I've also added Task Role for code level permissions and FARGATE SPOT mode

ryfeus avatar Nov 19 '20 06:11 ryfeus