DataDog / datadog-cloudformation-macro

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

Auto-detect when to use GovCloud layer #17

Closed DylanLovesCoffee closed 3 years ago

DylanLovesCoffee commented 3 years ago

What does this PR do?

Removes the isGovCloud parameter in favor of automatically detecting when a user is deploying to GovCloud as to attach the GovCloud lambda layer.

Motivation

Testing Guidelines

Unit tests.

Additional Notes

Types of changes

Check all that apply

codecov-io commented 3 years ago

Codecov Report

Merging #17 into master will decrease coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
- Coverage   88.69%   88.66%   -0.04%     
==========================================
  Files           7        7              
  Lines         345      344       -1     
  Branches       81       81              
==========================================
- Hits          306      305       -1     
  Misses         20       20              
  Partials       19       19              
Impacted Files Coverage Δ
serverless/src/env.ts 94.44% <ø> (ø)
serverless/src/index.ts 90.19% <100.00%> (ø)
serverless/src/layer.ts 98.03% <100.00%> (-0.04%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c2e555f...603d3af. Read the comment docs.