Closed duncanpharvey closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
443c298
) 84.62% compared to head (fb7f505
) 84.70%.:exclamation: Current head fb7f505 differs from pull request most recent head cf9e13a. Consider uploading reports for the commit cf9e13a to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this PR do?
Skip handling of container image Lambda functions. Lambda functions packaged into container images are instrumented with Datadog differently than Lambda functions packaged into a zip. The CloudFormation Macro should not make any changes to these container image Lambda functions.
Motivation
https://github.com/DataDog/datadog-cloudformation-macro/issues/108
Testing Guidelines
Created a SAM template with a zip Lambda function and container image Lambda function. Verified that (1) the zip Lambda function is instrumented with the CloudFormation Macro and sends metrics, logs, and traces to Datadog and (2) the container image Lambda function is unaffected by the CloudFormation Macro and sends metrics, logs, and traces to Datadog.
template.yaml
Dockerfile
Additional Notes
Types of changes
Check all that apply