Commit 4109526
authored
feat: expose lambda_architectures and forwarder_use_cache_bucket (#109)
* feat(datadog-lambda-forwarder): expose lambda_architectures and forwarder_use_cache_bucket
Pass lambda_architectures and forwarder_use_cache_bucket through to the
upstream cloudposse/datadog-lambda-forwarder/aws module and add matching
wrapper variables.
Setting lambda_architectures to ["arm64"] lets consumers run Datadog
Forwarder 5.x artifacts, whose native dependencies are built for arm64 and
fail on x86_64 with errors such as "No module named 'ujson'" during cold
start. lambda_runtime was already wired through.
forwarder_use_cache_bucket defaults to true to preserve upstream behavior
while letting a stack opt out of creating or using the cache bucket.
* fix(datadog-lambda-forwarder): restore datadog provider constraint in docs and validate lambda_architectures
Restore the Providers table to the declared constraint (>= 3.3.0, < 4.0.0)
in both READMEs; a prior doc regeneration had pinned it to a concrete local
version (3.91.0), making the generated docs non-deterministic.
Add a validation block to lambda_architectures so plan-time input is limited
to "x86_64" and/or "arm64", while allowing the null default to pass through
to the upstream module unchanged.1 parent b0b9fb4 commit 4109526
4 files changed
Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
32 | 43 | | |
33 | 44 | | |
| |||
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
85 | 102 | | |
86 | 103 | | |
87 | 104 | | |
| |||
0 commit comments