open-telemetry / opentelemetry-lambda

Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lamdba Function to get tracing with OpenTelemetry.
https://opentelemetry.io
Apache License 2.0
271 stars 166 forks source link

Terraform apply does not work on the hello-awssdk lambda #179

Closed vvydier closed 5 days ago

vvydier commented 2 years ago

╷ │ 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 commented 2 years ago

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 commented 2 years ago

/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 commented 2 years ago

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

github-actions[bot] commented 1 month ago

This issue was marked stale. It will be closed in 30 days without additional activity.

github-actions[bot] commented 5 days ago

Closed as inactive. Feel free to reopen if this issue is still relevant.