You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running datadog-ci to instrument a lambda function that uses runtime nodejs22.x fails.
Error message:
🐶 Instrumenting Lambda function
(node:66644) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
🐶 Instrumenting Lambda function
(node:7) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[Warning] Couldn't add source code integration, continuing without it. Error: Couldn't get local git status.
✔ [ap-southeast-2] Fetched 1 Lambda configurations.
[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run uninstrument with the same arguments to revert the changes.
Bug description
Running datadog-ci to instrument a lambda function that uses runtime nodejs22.x fails.
Error message:
🐶 Instrumenting Lambda function
(node:66644) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)[Warning] The version tag has not been configured. Learn more about Datadog unified service tagging: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.
[Warning] Couldn't add source code integration, continuing without it. Error: Couldn't get local git status.
✖ [ap-southeast-2] Failed fetching Lambda configurations.
[Error] Couldn't fetch Lambda functions. Error: Can't instrument arn:aws:lambda:ap-southeast-2:account-id-redacted:function:jobs-worker, runtime nodejs22.x not supported
Describe what you expected
🐶 Instrumenting Lambda function
(node:7) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)[Warning] The version tag has not been configured. Learn more about Datadog unified service tagging: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.
[Warning] Couldn't add source code integration, continuing without it. Error: Couldn't get local git status.
✔ [ap-southeast-2] Fetched 1 Lambda configurations.
[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run
uninstrument
with the same arguments to revert the changes.[!] Functions to be updated:
Steps to reproduce the issue
datadog-ci lambda instrument --function jobs-worker --region ap-southeast-2 --service jobs-worker --env development -e 118 -e 68
Additional context
No response
Command
lambda
The text was updated successfully, but these errors were encountered: