alyda
alyda

Reputation: 569

Unable to attach a Layer to Lambda Function

I have a function (Node.js 8.10) in us-west-2 and I am unable to attach the layer arn:aws:lambda:us-east-1:553035198032:layer:git:3. I get the following error message upon save: You are not authorized to perform: lambda:GetLayerVersion.

I have the AWSLambdaFullAccess managed policy attached to my user, and even the persons with AdministratorAccess get the same error. I also checked in the policy simulator and it specifies that this permission IS allowed to be run by myself and the Administrator users.

Any ideas as to what I might be doing wrong?

Upvotes: 5

Views: 3739

Answers (1)

alyda
alyda

Reputation: 569

REGION MISMATCH

I followed the README here, but failed to notice the region difference, nor the Version ARNs section that implies the package author has created the layer in multiple regions.

Upvotes: 3

Related Questions