Repository navigation
Commit bdce16c
authored
fix(lambda): update default runtimes and tests to node 16 everywhere (#26921)
Upgrades a few runtime versions from `NODEJS_14_X` (which is EOL and will enter Deprecation Phase 1 on Nov 27, 2023) to `NODEJS_16_X`.
Also updates all the tests.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*1 parent fe930a5 commit bdce16c
827 files changed
Lines changed: 139278 additions & 12668 deletions
File tree
- design
- packages
- @aws-cdk-testing
- cli-integ/resources
- cdk-apps
- app
- sam_cdk_integ_app/src/docker/DockerImageFunctionConstruct
- cli-regression-patches/v1.130.0/app
- framework-integ/test
- aws-apigateway/test
- authorizers
- integ.request-authorizer.lit.js.snapshot
- asset.32958f9442f31389bed730b768bd21f066c7343a5d0e87b9cad92b365e9d3c37.handler
- integ.token-authorizer-iam-role.js.snapshot
- asset.6ef24b26328dec9135be0bd32fff8f588f9a4564f32df911d1de82cfb78183f0.handler
- integ.token-authorizer.js.snapshot
- asset.ae370e1010629b78f494346f49ceef3ab2875718f20e6c808114e6aa770c7bf3.bundle
- asset.d69f83e949b9c49809604e7bcd3a868d44f04f936029b55662aa14982d9bd44b.bundle
- integ.cors-allow-multiple-origins.js.snapshot
- integ.cors.js.snapshot
- integ.lambda-api-nonproxy.js.snapshot
- integ.lambda-api.latebound-deploymentstage.js.snapshot
- integ.restapi-default-apikey.js.snapshot
- integ.restapi.books.js.snapshot
- integ.restapi.js.snapshot
- integ.restapi.multiuse.js.snapshot
- integ.spec-restapi.js.snapshot
- aws-appsync/test
- integ.graphql-iam.js.snapshot
- integ.lambda-auth.js.snapshot
- aws-cloudformation/test
- integ.core-custom-resources.js.snapshot
- asset.5a80abfca3e7d70957e8c0a553225876c69fb6038b810fe65b581b6b58453bf7
- asset.94be4e33263da312b2e3d038a855c4b46686a35cc3188e9736010642b8a9078a
- integ.core-deps.js.snapshot
- asset.2634e41ffbfed260b1049b081f0f568b46f60f03bf59422220562d71c9eb720e
- asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0
- integ.nested-stack.js.snapshot
- integ.nested-stacks-assets.js.snapshot
- asset.bbe209afddb09a12327bab7a105e085758a29b769b5b4bf5b6320ac41b05fc51
- aws-cloudfront/test
- integ.cloudfront-lambda-association.js.snapshot
- integ.distribution-lambda.js.snapshot
- aws-cloudtrail/test
- integ.cloudtrail-supplied-bucket.lit.js.snapshot
- asset.216218e507a977a1bb3592f29c1a62ab3e0a9eb25569109a395315638e154329
- asset.3e6ea85c994cf2198f02e67a9e98e8f23456efa8bd72dd55b3a86454c4db9d5f
- integ.cloudtrail.lit.js.snapshot
- asset.216218e507a977a1bb3592f29c1a62ab3e0a9eb25569109a395315638e154329
- asset.3e6ea85c994cf2198f02e67a9e98e8f23456efa8bd72dd55b3a86454c4db9d5f
- aws-codedeploy/test/lambda
- integ.deployment-group.js.snapshot
- aws-codepipeline-actions/test
- integ.lambda-deployed-through-codepipeline.lit.js.snapshot
- integ.lambda-pipeline.js.snapshot
- aws-cognito/test
- integ.user-pool-custom-sender.js.snapshot
- integ.user-pool-explicit-props.js.snapshot
- aws-config/test
- integ.rule.js.snapshot
- integ.scoped-rule.js.snapshot
- aws-ec2/test
- integ.client-vpn-endpoint.js.snapshot
- asset.1ef463e71119677d383a964bbb0740f0c4de382c21d5a8d68be98334d514ae8a
- asset.63dea8f5031b48f69051f4c5160b28375fbc6683982fbddf60105670e68a8407
- aws-elasticloadbalancingv2-actions/test/integ.cognito.js.snapshot/.cache
- aws-elasticloadbalancingv2/test/integ.alb.oidc.js.snapshot/.cache
- aws-elasticsearch/test
- integ.elasticsearch.custom-kms-key.js.snapshot/.cache
- integ.elasticsearch.unsignedbasicauth.js.snapshot/.cache
- aws-events-targets/test
- aws-api/integ.aws-api.js.snapshot
- asset.929f138a16c2945b26e6edbf345143d4213432f8ac4c51b4c1335f258ba94252
- lambda
- integ.events.js.snapshot
- logs/integ.log-group.js.snapshot/.cache
- aws-globalaccelerator-endpoints/test/integ.globalaccelerator.js.snapshot/.cache
- aws-iam/test/integ.oidc-provider.js.snapshot
- asset.9c9c077e1db371e9d23da63db88926d5de460a4c66d88015384bf7156e8ef1b9
- aws-lambda-destinations/test
- integ.destinations.js.snapshot
- asset.84802aa01d2d2c9e7d8d69705ee832c97f1ebad2d73c72be5c32d53f16cf90a7.bundle
- asset.c7f4a8ca56d10961cf5e40d181faddf14f2ea8b39c5d65c7b61a366b17c7a2ce.bundle
- integ.lambda-chain.js.snapshot
- asset.b54b99043c35bd080b9d9d1afce31e3541cf15b679799ba980ed40c837dcb03b.bundle
- asset.d69f83e949b9c49809604e7bcd3a868d44f04f936029b55662aa14982d9bd44b.bundle
- aws-lambda-event-sources/test
- integ.dynamodb-with-filter-criteria.js.snapshot
- integ.dynamodb.js.snapshot
- integ.kafka-selfmanaged.js.snapshot
- integ.kinesis-at-timestamp.js.snapshot
- integ.kinesis.js.snapshot
- integ.kinesiswithdlq.js.snapshot
- integ.s3.js.snapshot
- integ.sns.js.snapshot
- integ.sqs-max-concurrency.js.snapshot
- integ.sqs-with-filter-criteria.js.snapshot
- integ.sqs.js.snapshot
- aws-lambda-nodejs/test
- integ.function.js.snapshot
- asset.5fd5332ac0f100f1845842d79d110a7cf0957bd31419a7aabaedf8d3043ddf09
- asset.6c52cc5df44f0d18474ce4399377d62ee08c9b9cb11855fb95070dcd83a5a6ea
- asset.e13d2f4e26b1586fe7e2b9f1ce013083dfee5fffc377061fa1489449fd8b0cc8
- aws-lambda/test
- docker-lambda-handler
- integ.autoscaling.lit.js.snapshot
- integ.lambda-adot.js.snapshot
- integ.lambda-customize-roles.js.snapshot
- integ.lambda-insights-mapping.js.snapshot
- integ.lambda.js.snapshot
- integ.lambda.prov.concurrent.js.snapshot
- integ.layer-version.lit.js.snapshot
- asset.8811a2632ac5564a08fd269e159298f7e497f259578b0dc5e927a1f48ab24d34
- integ.log-retention.js.snapshot
- asset.4763e20569cc1d6f7ae496bbfb0b3e9bc205a1811c78c9a6bc18d949d737c2a9
- asset.a8515c042d9c942705087943220417be929ac44f968d8fcef2681681b400c0c0
- integ.permissions.js.snapshot
- aws-logs-destinations/test/integ.lambda.js.snapshot/.cache
- aws-opensearchservice/test
- integ.opensearch.custom-kms-key.js.snapshot/.cache
- integ.opensearch.js.snapshot/.cache
- integ.opensearch.unsignedbasicauth.js.snapshot/.cache
- aws-rds/test
- integ.instance.lit.js.snapshot
- aws-route53-targets/test
- integ.api-gateway-domain-name.js.snapshot
- aws-route53/test/integ.vpc-endpoint-service-domain-name.js.snapshot/.cache
- aws-s3-deployment/test
- integ.bucket-deployment-substitution.js.snapshot
- asset.ae370e1010629b78f494346f49ceef3ab2875718f20e6c808114e6aa770c7bf3.bundle
- asset.c7f4a8ca56d10961cf5e40d181faddf14f2ea8b39c5d65c7b61a366b17c7a2ce.bundle
- aws-s3-notifications/test/lambda
- integ.bucket-notifications.js.snapshot
- aws-s3/test
- integ.bucket-auto-delete-objects.js.snapshot
- asset.66db480cb40e7e6208f01c9d9e882f4c416110a2c66dd0c6d12844e8ca9129b6
- aws-secretsmanager/test
- integ.lambda-rotation.js.snapshot
- integ.secret-name-parsed.js.snapshot
- asset.3457452f641c1ca5c1e19a921fee42f695d632fe3200b2f5ed8da685bc286ebc
- asset.d398f4fe6dd5f2ff1f106104855901724c5f381374b2f9e00fe7516d2ae2a85d
- aws-ses-actions/test
- integ.actions.js.snapshot
- asset.96d0b6be9a64ae309bf89a86f5515453f0fa1d07b4f6b37198051cc98e251f34
- aws-ses/test/integ.receipt.js.snapshot
- asset.96d0b6be9a64ae309bf89a86f5515453f0fa1d07b4f6b37198051cc98e251f34
- aws-sns-subscriptions/test
- integ.sns-lambda.js.snapshot
- aws-stepfunctions-tasks/test
- apigateway
- integ.call-rest-api.js.snapshot
- lambda
- integ.invoke.js.snapshot
- asset.d69f83e949b9c49809604e7bcd3a868d44f04f936029b55662aa14982d9bd44b.bundle
- integ.invoke.payload.only.js.snapshot
- integ.run-lambda.js.snapshot
- cloudformation-include/test/test-templates
- sam
- custom-resources/test
- aws-custom-resource
- integ.aws-custom-resource-athena.js.snapshot/.cache
- integ.aws-custom-resource-vpc.js.snapshot/.cache
- integ.aws-custom-resource.js.snapshot/.cache
- provider-framework
- integ.provider.js.snapshot
- integration-test-fixtures
- lambda-layer-node-proxy-agent/test
- integ.node-proxy-agent.js.snapshot
- asset.345594d759614f5236f4ca12814574d91bda79debb65252f6a19d8d9a316690b
- lambda-handler
- @aws-cdk
- aws-apigatewayv2-authorizers-alpha/test
- http
- integ.lambda.js.snapshot
- asset.54deaef2af5b9afbfc9cbcbb9261b1c0d4cce6560831d7ae1959f3da899011c8.handler
- asset.d7d3785243d748927f2a8d6edcecf909f96191df27a815e305aaeba98bcd2c64
- integ.user-pool.js.snapshot
- asset.867837e91f97aaf9c29d20a4fea18e3f520bb65d84e9bb59ec84058226225ffc.handler
- websocket
- integ.iam.js.snapshot
- aws-apigatewayv2-integrations-alpha/test
- http
- integ.http-proxy.js.snapshot
- integ.lambda-proxy.js.snapshot
- websocket
- integ.lambda.js.snapshot
- aws-iot-actions-alpha
- test/lambda
- integ.lambda-function-action.js.snapshot
- aws-iot-alpha
- aws-iotevents-actions-alpha/test/lambda
- integ.lambda-invoke-action.js.snapshot
- aws-kinesisfirehose-alpha
- aws-kinesisfirehose-destinations-alpha/test
- aws-lambda-python-alpha/test
- aws-s3objectlambda-alpha
- test
- integ.s3objectlambda.js.snapshot
- aws-scheduler-alpha/test
- aws-scheduler-targets-alpha
- test
- integ-tests-alpha
- aws-cdk-lib
- aws-apigateway
- test
- authorizers
- integrations
- aws-appsync/test
- aws-autoscaling-hooktargets/test
- aws-cloudfront
- test
- experimental
- aws-cloudtrail
- test
- aws-codedeploy/test/lambda
- aws-codepipeline-actions
- test
- lambda
- aws-cognito
- test
- aws-eks
- lib
- aws-events-targets
- lib
- test/api-gateway
- aws-iam
- lib/oidc-provider
- test
- aws-lambda-destinations
- test
- aws-lambda-event-sources/test
- aws-lambda-nodejs
- lib
- test
- aws-lambda
- lib
- test
- docker-lambda-handler
- aws-logs-destinations/test
- aws-rds
- test
- aws-s3-deployment/test
- aws-s3-notifications
- test/lambda
- aws-secretsmanager/test
- aws-ses-actions/test
- aws-ses/lib
- aws-sns-subscriptions/test
- aws-stepfunctions-tasks
- lib
- test/lambda
- cloudformation-include/test/test-templates
- sam
- core
- lib/custom-resource-provider
- test/custom-resource-provider
- custom-resources
- test/provider-framework
- integration-test-fixtures
- triggers
- test
- aws-cdk
- test/api/hotswap
- tools/@aws-cdk/yarn-cling/lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | | - | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 210 | | |
214 | 211 | | |
215 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | 225 | | |
236 | 226 | | |
237 | 227 | | |
238 | 228 | | |
| 229 | + | |
239 | 230 | | |
240 | 231 | | |
241 | 232 | | |
| |||
252 | 243 | | |
253 | 244 | | |
254 | 245 | | |
255 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | 276 | | |
284 | 277 | | |
285 | 278 | | |
286 | 279 | | |
| 280 | + | |
287 | 281 | | |
288 | 282 | | |
289 | 283 | | |
| |||
300 | 294 | | |
301 | 295 | | |
302 | 296 | | |
303 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | 309 | | |
315 | 310 | | |
316 | 311 | | |
| |||
360 | 355 | | |
361 | 356 | | |
362 | 357 | | |
363 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | 369 | | |
375 | 370 | | |
376 | 371 | | |
| |||
420 | 415 | | |
421 | 416 | | |
422 | 417 | | |
423 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments