I'm trying to deploy the example app using sam deploy -g
following this article.
Everything works as expected with sam local invoke "HelloWorldFunction" -e events/event.json
and sam local start-api
)
sam deploy --guided
on the other hand is failing with:
Unable to determine service/operation name to be authorized (Service: AWSLambdaInternal; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxxx-xxxx-xxxx-xxxx-xxxx; Proxy: null)
Following this resource, changing the get method to post didn't help either. Below attached is a screenshot of the command output
Any help is greatly appreciated!
My local machine info:
OS: macOS BigSur version 11.1
Docker version 20.10.0, build 7287ab3
SAM CLI, version 1.15.0
aws-cli/2.1.15 Python/3.7.4 Darwin/20.2.0 exe/x86_64