aws-samples / amazon-rekognition-video-analyzer

A working prototype for capturing frames off of a live MJPEG video stream, identifying objects in near real-time using deep learning, and triggering actions based on an objects watch list.
Other
368 stars 158 forks source link

deploylambda error: Invalid stage identifier specified #30

Closed pabloheimplatz closed 6 years ago

pabloheimplatz commented 6 years ago

Hi,

I got an error while deploying my CloudFormation Script.

botocore.exceptions.WaiterError: Waiter StackCreateComplete failed: Waiter encountered a terminal failure state

The Issue is somewhere around the VidAnalyzerApiKey scope, because I got this error: CREATE_FAILED | AWS::ApiGateway::ApiKey | VidAnalyzerApiKey | Invalid stage identifier specified

Any ideas on this? screen shot 2018-04-24 at 14 15 10

pabloheimplatz commented 6 years ago

just deleted my cloudFormation script and restarted it. However it works now... Sorry!

moanany commented 6 years ago

Hello Pablo,

It seems that there is some sort of a race condition that causes this issue to sometimes happen and sometimes not. I've added a dependency from VidAnalyzerApiKey to DevStage in the cloudformation script to solve this. From a few rounds of testing, the change seems to have mitigated the issue. Get the latest commit, and let me know if it happens again.

Thanks!

pabloheimplatz commented 6 years ago

Thanks for your feedback and for your fix! I think that will help so thanks a lot for your fast answer.