DataDog / datadog-cloudformation-macro

CloudFormation Macros by Datadog
Apache License 2.0
14 stars 22 forks source link

add enableProfiling, cold-start-tracing and lambda-authorizer related env variables #84

Closed joeyzhao2018 closed 1 year ago

joeyzhao2018 commented 1 year ago

What does this PR do?

Version 0.5.4 was deployed to the staging bucket and tested with a hello-world example function.

The parameters successfully showed up as expected and the related features are working as expected.

Motivation

Add the missing env variables.

Testing Guidelines

Ran the serverless/tools/installation_test.sh and then create an example SAM project that uses the staged macro.

Additional Notes

Types of changes

Check all that apply

codecov-commenter commented 1 year ago

Codecov Report

Merging #84 (a65dce6) into master (ea21073) will increase coverage by 0.24%. The diff coverage is 100.00%.

:exclamation: Current head a65dce6 differs from pull request most recent head 1f75351. Consider uploading reports for the commit 1f75351 to get more accurate results

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   93.01%   93.25%   +0.24%     
==========================================
  Files           7        7              
  Lines         501      519      +18     
  Branches      117      123       +6     
==========================================
+ Hits          466      484      +18     
  Misses         26       26              
  Partials        9        9              
Impacted Files Coverage Δ
serverless/src/env.ts 97.24% <100.00%> (+0.54%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more