csuermann / virtual-smart-home

Virtual Smart Home Skill for Amazon Alexa and Node-RED
27 stars 18 forks source link

Unresolved resource dependencies [vshClientPolicy2] #8

Closed ghost closed 1 year ago

ghost commented 1 year ago

hi

getting this error while serverless deploy is running

Error:
The CloudFormation template is invalid: Template format error: Unresolved resource dependencies [vshClientPolicy2] in the Resources block of the template
csuermann commented 1 year ago

You are probably trying to deploy to the wrong region. Try running serverless deploy --region eu-west-1 or take a look at the GitHub Action for inspiration.

ghost commented 1 year ago

I did think if the IOT_ENDPOINT has xxxxxxx.ats.iot.us-east-1.amazonaws.com that setting the default region to us-east-1

changing the export for region to eu-west-1 and run deploy again it ran :)

thanks