opentelemetry-lambda icon indicating copy to clipboard operation
opentelemetry-lambda copied to clipboard

Terraform apply does not work on the hello-awssdk lambda

Open vvydier opened this issue 4 years ago • 3 comments

╷ │ 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

vvydier avatar Nov 18 '21 02:11 vvydier

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)

vvydier avatar Nov 18 '21 02:11 vvydier

/opt/otel-proxy-handler: does not exist is the error in cloudwatch logs Is the layer not getting created in the sample-apps anymore?

vvydier avatar Nov 18 '21 02:11 vvydier

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

vvydier avatar Nov 18 '21 16:11 vvydier