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

You are not authorized to perform: lambda:GetLayerVersion in AWS ap-southeast-5 region (Malaysia) #576

Open
jasonvitagendev opened this issue Sep 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jasonvitagendev
Copy link

Expected Behavior

I should be able to use Datadog layer within my Lambda function in ap-southeast-5.

Actual Behavior

I'm getting the following error when I try to invoke my Lambda function:
You are not authorized to perform: lambda:GetLayerVersion.

Steps to Reproduce the Problem

  1. Create a new Node.js Lambda function.
  2. Add Datadog as a layer.
  3. Deploy the Lambda function.
  4. Observe the error.

Specifications

Datadog NodeLayerVersion: 115
Datadog ExtensionLayerVersion: 64
Node version: 20.x

Stacktrace

Resource handler returned message: "User: arn:aws:sts::123456789:assumed-role/cdk-hnb659fds-cfn-exec-role-123456789-ap-southeast-5/AWSCloudFormation is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ap-southeast-5:464622532012:layer:Datadog-Extension-ARM:64 because no resource-based policy allows the lambda:GetLayerVersion action (Service: Lambda, Status Code: 403, Request ID: 1bb0b373-28e9-479a-8736-e9d5f251336e)" (RequestToken: 95384fe1-a7a8-522c-02da-83831992d8b9, HandlerErrorCode: AccessDenied)
@duncanista duncanista added the bug Something isn't working label Sep 23, 2024
@duncanista
Copy link
Contributor

Hey @jasonvitagendev,

I've identified that we currently don't support this region, I'll work with my team to make sure we can resolve this soon.

@duncanista
Copy link
Contributor

The next release should include this region as available! Sorry for the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants