Replies: 1 comment 6 replies
-
|
You shouldn't need to list layers to deploy with Bref, any reason you are trying to do that? I.e. when does the error happen? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to use the published layers to deploy a php function on AWS lambda. But I run into the following issue:
An error occurred (AccessDeniedException) when calling the ListLayerVersions operation: User: arn:aws:sts::xxxx:assumed-role/OrganizationAccountAccessRole/botocore-session-xxxx is not authorized to perform: lambda:ListLayerVersions on resource: arn:aws:lambda:us-east-1:534081306603:layer:arm-php-82-fpm because no resource-based policy allows the lambda:ListLayerVersions actionI tried to add the lambda:ListLayerVersions via an ALLOW policy to that role - but no difference.
Ran this command to verify the issue (in the same us-east-1 region - same with any other layer ARN)
aws lambda list-layer-versions --layer-name arn:aws:lambda:us-east-1:534081306603:layer:arm-php-82-fpm
Is there anything specific I need to set up in my AWS account to use/get access to the published bref layers ?
Any pointers appreciated !
Beta Was this translation helpful? Give feedback.
All reactions