opentelemetry-lambda
opentelemetry-lambda copied to clipboard
Terraform apply does not work on the hello-awssdk lambda
╷ │ Error: error waiting for Lambda Provisioned Concurrency Config (hello-java-awssdk-agent:provisioned) to be ready: status reason: FUNCTION_ERROR_INIT_FAILURE │ │ with aws_lambda_provisioned_concurrency_config.lambda_api, │ on main.tf line 54, in resource "aws_lambda_provisioned_concurrency_config" "lambda_api": │ 54: resource "aws_lambda_provisioned_concurrency_config" "lambda_api" { │ ╵
This used to work before, so something has changed recently that broke this sample
just to clarify, this sample app -> https://github.com/open-telemetry/opentelemetry-lambda/tree/main/java/sample-apps/aws-sdk/deploy/agent I had both aws-sdk and okhttp sample apps working before, not after some recent changes, I get the FUNCTION_ERROR_INIT_FAILURE error at the end of the apply (all the resources seem to be getting created)
/opt/otel-proxy-handler: does not exist is the error in cloudwatch logs Is the layer not getting created in the sample-apps anymore?
aws_lambda_provisioned_concurrency_config.lambda_api: Still creating... [4m10s elapsed] and fails in the end. I removed the aws_lambda_provisioned_concurrency_config and it created the lambda but not agent layer is created