Closed
Description
Expected Behavior
I should be able to use lambda runtime layer in ca-west1 region of AWS
Actual Behavior
╷
│ Error: creating Lambda Function (xxxxxx): operation error Lambda: CreateFunction, https response error StatusCode: 403, RequestID: c0649569-c7d1-44e5-900b-d1b925b6af02, api error AccessDeniedException: User: arn:aws:sts::xxxxx is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ca-west-1:464622532012:layer:Datadog-Python39:78 because no resource-based policy allows the lambda:GetLayerVersion action
Steps to Reproduce the Problem
- Attempt to use Datadog-Python39:88 on lambda
- Apply Terraform
Specifications
- Datadog Lambda Layer version: 88
- Python version: 3.9
Stacktrace
An error occurred (AccessDeniedException) when calling the GetLayerVersion operation: User: arn:aws:sts::xxxxxx is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ca-west-1:464622532012:layer:Datadog-Python39:88 because no resource-based policy allows the lambda:GetLayerVersion action