-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I have an account that can fully access Amazon Lambda, and I try to deploy serverless-shell following the README
But it occurs unauthorized error when deploying the serverless function. details are in below.
export CONFIG_DIR=.; sed -i s,FUNCTION_ARN,$(./serverless-shell-2.2/deploy.sh -create | grep FunctionArn | awk '{print $2}' | sed s,[\"\,],,g),g config.properties
zsh: no matches found: s,[",],,g
An error occurred (AccessDeniedException) when calling the CreateFunction operation: User: arn:aws:iam::281655567048:root is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:us-east-1:667743079194:layer:serverless-bash:35 because no resource-based policy allows the lambda:GetLayerVersion action
sed: 1: "config.properties": command c expects \ followed by text
Should I change to another region to match the us-east-1 region? I am currently using region ap-southeast-1.
Thanks
RonaldGalea
Metadata
Metadata
Assignees
Labels
No labels