You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, maybe aws changed something, but for me this is not working for cross-account lambda layers
This is the error I get when trying to deploy my serverless stack
arn:aws:sts::xxxxxxx:assumed-role/zzzzzzz/zzzzzzz is not authorized to perform: lambda:ListLayerVersions on resource: arn:aws:lambda:ap-southeast-2:yyyyyyyy:layer:layer-name because no resource-based policy allows the lambda:ListLayerVersions action
we get this error: An error occurred (ValidationException) when calling the AddLayerVersionPermission operation: 1 validation error detected: Value 'ListLayerVersions' at 'action' failed to satisfy constraint: Member must satisfy regular expression pattern: lambda:GetLayerVersion, so not sure how we can fix that error with lambda:ListLayerVersions if we are only allowed to add lambda:GetLayerVersion
The text was updated successfully, but these errors were encountered:
hello, maybe aws changed something, but for me this is not working for cross-account lambda layers
This is the error I get when trying to deploy my serverless stack
arn:aws:sts::xxxxxxx:assumed-role/zzzzzzz/zzzzzzz
is not authorized to perform:lambda:ListLayerVersions
on resource:arn:aws:lambda:ap-southeast-2:yyyyyyyy:layer:layer-name
because no resource-based policy allows thelambda:ListLayerVersions
actionTo try and fix the above error I have tried:
we get this error:
An error occurred (ValidationException) when calling the AddLayerVersionPermission operation: 1 validation error detected: Value 'ListLayerVersions' at 'action' failed to satisfy constraint: Member must satisfy regular expression pattern: lambda:GetLayerVersion
, so not sure how we can fix that error withlambda:ListLayerVersions
if we are only allowed to addlambda:GetLayerVersion
The text was updated successfully, but these errors were encountered: