Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using Amazon Layer #1

Open
Jademalo opened this issue Nov 30, 2022 · 1 comment
Open

Error when using Amazon Layer #1

Jademalo opened this issue Nov 30, 2022 · 1 comment

Comments

@Jademalo
Copy link

User: arn:aws:iam::<numbers>:user/github-actions is not authorized to perform: lambda:ListLayerVersions on resource: arn:aws:lambda:***:133256977650:layer:AWS-Parameters-and-Secrets-Lambda-Extension because no resource-based policy allows the lambda:ListLayerVersions action

Not sure how to get past this. It's got the same permissions as my other layers in the policy, but no matter what I change I always get this error. I'm assuming it's something weird with it not being owned by me, but honestly I've got absolutely no idea why it won't work.

        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": "lambda:ListLayerVersions",
            "Resource": "*"
        }

Any ideas? It's a shame because I can't get it to update just my other layers.
Thanks

@rdabizha-playq
Copy link

rdabizha-playq commented Mar 27, 2024

got the same

{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Sid": "VisualEditor0",
			"Effect": "Allow",
			"Action": [
				"lambda:UpdateFunctionConfiguration",
				"lambda:ListLayerVersions",
				"lambda:GetFunctionConfiguration"
			],
			"Resource": "*"
		}
	]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants