cagataygurturk / lambadaframework

Build serverless REST API's with JAVA. It implements the JAX-RS API and deploys your application easily to AWS Lambda and API Gateway
MIT License
244 stars 48 forks source link

deployment errors (boilerplate project, first time user) #47

Closed refacktor closed 6 years ago

refacktor commented 6 years ago

After creating a bucket and setting permissions in IAM, execution of mvn deploy fails with this error message:

[ERROR] Failed to execute goal org.lambadaframework:lambada-maven-plugin:0.0.6:d eploy (default) on project boilerplate: Exception at deployment: Cloudformation failed. Please check AWS Console for details -> [Help 1]

I checked AWS Console - Lambda, CloudFormation, and Cloud Watch Logs areas - and could not find any indication of what went wrong.

cagataygurturk commented 6 years ago

Thanks for reporting. One more user reported a deployment problem, I'll check as soon as possible.

refacktor commented 6 years ago

I figured it out! This was actually caused by insufficient permissions in the default region "EU-WEST-1", which took me some time to realize was not my preferred region of "US-WEST-1". I once I realized I was looking in the wrong region, I was able to locate the logs in CloudFormation and fix the permissions in IAM.