aws-samples / serverless-machine-learning-on-aws

Deploy Machine Learning Models as Serverless APIs
Apache License 2.0
18 stars 22 forks source link

Getting Error while launching the given cloudformation template in us-east-1 region. ( Build Function receives error) #9

Open AditModi opened 3 years ago

AditModi commented 3 years ago

Error: The Build Lambda Function receives the following error.

AccessDeniedExceptionnull (Service: AWSLambdaInternal; Status Code: 403; Error Code: AccessDeniedException; Request ID: 7a8c9e0e-61db-403b-9448-0f5e61beddd4; Proxy: null)

What may be the probable cause for this issue??

@AndersAsa , Started working on this project after reading the blog post on aws. Please respond.

AditModi commented 3 years ago

Also, I am trying to work with demo2 ( trying to implement the sentiment analysis part shown in blog ) It also doesn't seem to work?

AndersAsa commented 3 years ago

I am unable to reproduce the error but imagine it has to do with the permissions assigned to your IAM user. It must be able to create new IAM roles and launch the resources in the CloudFormation template.

AditModi commented 3 years ago

there was an issue with the user permissions, I am able to work on the first part(demo) , for the second part when i try to update stack with the change in the parameter values, the old demo project gets published , somehow it doesn't take the change in the parameter value containing the new project(demo2) . issue arises while making changes in the already created stack . while creating a new cloudformation template with these details of demo2 , it works fine. why am I not able to update stack with demo2 values.