@mapbox/cloudfriend 6.0.0 → 7.0.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nyc_output/{ef96ce8d-21af-4efa-8fde-041438a648a6.json → cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d.json} +1 -1
- package/.nyc_output/{efe82251-5e4c-42c5-9ae2-a01d0358ec20.json → e54708e1-ab69-41ca-9448-73144a4686dc.json} +1 -1
- package/.nyc_output/processinfo/cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d.json +1 -0
- package/.nyc_output/processinfo/e54708e1-ab69-41ca-9448-73144a4686dc.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/.travis.yml +3 -2
- package/bin/build-template.js +1 -1
- package/bin/validate-template.js +1 -1
- package/lib/shortcuts/api.md +1 -1
- package/lib/shortcuts/lambda.js +2 -2
- package/package.json +2 -2
- package/requirements.dev.txt +2 -0
- package/test/fixtures/shortcuts/event-lambda-defaults.json +1 -1
- package/test/fixtures/shortcuts/event-lambda-full.json +1 -1
- package/test/fixtures/shortcuts/hookshot-github-secret-ref.json +4 -4
- package/test/fixtures/shortcuts/hookshot-github-secret-string.json +4 -4
- package/test/fixtures/shortcuts/hookshot-github.json +4 -4
- package/test/fixtures/shortcuts/hookshot-passthrough-access-log-format.json +4 -4
- package/test/fixtures/shortcuts/hookshot-passthrough-alarms.json +4 -4
- package/test/fixtures/shortcuts/hookshot-passthrough-enhanced-logging.json +4 -4
- package/test/fixtures/shortcuts/hookshot-passthrough-full-blown-logging.json +4 -4
- package/test/fixtures/shortcuts/hookshot-passthrough-logging.json +4 -4
- package/test/fixtures/shortcuts/hookshot-passthrough.json +4 -4
- package/test/fixtures/shortcuts/lambda-defaults.json +1 -1
- package/test/fixtures/shortcuts/lambda-full.json +1 -1
- package/test/fixtures/shortcuts/lambda-provided-role.json +1 -1
- package/test/fixtures/shortcuts/lambda-zipfile.json +1 -1
- package/test/fixtures/shortcuts/log-subscription-lambda-defaults.json +1 -1
- package/test/fixtures/shortcuts/log-subscription-lambda-no-defaults.json +1 -1
- package/test/fixtures/shortcuts/queue-lambda-zero.json +1 -1
- package/test/fixtures/shortcuts/queue-lambda.json +1 -1
- package/test/fixtures/shortcuts/scheduled-lambda-defaults.json +1 -1
- package/test/fixtures/shortcuts/scheduled-lambda-full.json +1 -1
- package/test/fixtures/shortcuts/stream-lambda-defaults.json +1 -1
- package/test/fixtures/shortcuts/stream-lambda-no-defaults.json +1 -1
- package/test/shortcuts.test.js +1 -1
- package/.nyc_output/processinfo/ef96ce8d-21af-4efa-8fde-041438a648a6.json +0 -1
- package/.nyc_output/processinfo/efe82251-5e4c-42c5-9ae2-a01d0358ec20.json +0 -1
- package/.python-version +0 -1
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -79
- package/coverage/cloudfriend/bin/build-template.js.html +0 -124
- package/coverage/cloudfriend/bin/index.html +0 -110
- package/coverage/cloudfriend/index.html +0 -110
- package/coverage/cloudfriend/index.js.html +0 -301
- package/coverage/cloudfriend/lib/build.js.html +0 -211
- package/coverage/cloudfriend/lib/conditions.js.html +0 -424
- package/coverage/cloudfriend/lib/index.html +0 -200
- package/coverage/cloudfriend/lib/intrinsic.js.html +0 -880
- package/coverage/cloudfriend/lib/merge.js.html +0 -472
- package/coverage/cloudfriend/lib/pseudo.js.html +0 -364
- package/coverage/cloudfriend/lib/rules.js.html +0 -343
- package/coverage/cloudfriend/lib/shortcuts/cross-account-role.js.html +0 -238
- package/coverage/cloudfriend/lib/shortcuts/event-lambda.js.html +0 -361
- package/coverage/cloudfriend/lib/shortcuts/glue-database.js.html +0 -280
- package/coverage/cloudfriend/lib/shortcuts/glue-json-table.js.html +0 -229
- package/coverage/cloudfriend/lib/shortcuts/glue-orc-table.js.html +0 -220
- package/coverage/cloudfriend/lib/shortcuts/glue-parquet-table.js.html +0 -262
- package/coverage/cloudfriend/lib/shortcuts/glue-presto-view.js.html +0 -352
- package/coverage/cloudfriend/lib/shortcuts/glue-spark-view.js.html +0 -235
- package/coverage/cloudfriend/lib/shortcuts/glue-table.js.html +0 -475
- package/coverage/cloudfriend/lib/shortcuts/hookshot.js.html +0 -1462
- package/coverage/cloudfriend/lib/shortcuts/index.html +0 -410
- package/coverage/cloudfriend/lib/shortcuts/index.js.html +0 -148
- package/coverage/cloudfriend/lib/shortcuts/kinesis-firehose-base.js.html +0 -412
- package/coverage/cloudfriend/lib/shortcuts/lambda.js.html +0 -799
- package/coverage/cloudfriend/lib/shortcuts/log-subscription-lambda.js.html +0 -304
- package/coverage/cloudfriend/lib/shortcuts/queue-lambda.js.html +0 -358
- package/coverage/cloudfriend/lib/shortcuts/queue.js.html +0 -613
- package/coverage/cloudfriend/lib/shortcuts/role.js.html +0 -376
- package/coverage/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js.html +0 -562
- package/coverage/cloudfriend/lib/shortcuts/scheduled-lambda.js.html +0 -340
- package/coverage/cloudfriend/lib/shortcuts/service-role.js.html +0 -301
- package/coverage/cloudfriend/lib/shortcuts/stream-lambda.js.html +0 -373
- package/coverage/cloudfriend/lib/validate.js.html +0 -148
- package/coverage/index.html +0 -155
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -170
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid":"cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","parent":null,"pid":88864,"argv":["/Users/bilindhajer/.nvm/versions/node/v16.20.0/bin/node","/Users/bilindhajer/cloudfriend/node_modules/.bin/tape","test/bin.test.js","test/index.test.js","test/shortcuts.test.js"],"execArgv":[],"cwd":"/Users/bilindhajer/cloudfriend","time":1690559449255,"ppid":88862,"root":"a403beb4-59c8-4b3d-8ab1-0d7c71549fb1","coverageFilename":"/Users/bilindhajer/cloudfriend/.nyc_output/cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d.json","files":["/Users/bilindhajer/cloudfriend/index.js","/Users/bilindhajer/cloudfriend/lib/intrinsic.js","/Users/bilindhajer/cloudfriend/lib/conditions.js","/Users/bilindhajer/cloudfriend/lib/rules.js","/Users/bilindhajer/cloudfriend/lib/pseudo.js","/Users/bilindhajer/cloudfriend/lib/build.js","/Users/bilindhajer/cloudfriend/lib/validate.js","/Users/bilindhajer/cloudfriend/lib/merge.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/index.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/service-role.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/role.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/scheduled-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/event-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/queue-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/stream-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/cross-account-role.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/queue.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/kinesis-firehose-base.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-database.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-json-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-orc-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-parquet-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-presto-view.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-spark-view.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/hookshot.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/log-subscription-lambda.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid":"e54708e1-ab69-41ca-9448-73144a4686dc","parent":"cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","pid":88865,"argv":["/Users/bilindhajer/.nvm/versions/node/v16.20.0/bin/node","/Users/bilindhajer/cloudfriend/bin/build-template.js","/Users/bilindhajer/cloudfriend/test/fixtures/sync-args.js","--this","that","-r","cn-north-1"],"execArgv":[],"cwd":"/Users/bilindhajer/cloudfriend","time":1690559449858,"ppid":88864,"root":"a403beb4-59c8-4b3d-8ab1-0d7c71549fb1","coverageFilename":"/Users/bilindhajer/cloudfriend/.nyc_output/e54708e1-ab69-41ca-9448-73144a4686dc.json","files":["/Users/bilindhajer/cloudfriend/bin/build-template.js","/Users/bilindhajer/cloudfriend/index.js","/Users/bilindhajer/cloudfriend/lib/intrinsic.js","/Users/bilindhajer/cloudfriend/lib/conditions.js","/Users/bilindhajer/cloudfriend/lib/rules.js","/Users/bilindhajer/cloudfriend/lib/pseudo.js","/Users/bilindhajer/cloudfriend/lib/build.js","/Users/bilindhajer/cloudfriend/lib/validate.js","/Users/bilindhajer/cloudfriend/lib/merge.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/index.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/service-role.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/role.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/scheduled-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/event-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/queue-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/stream-lambda.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/cross-account-role.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/queue.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/kinesis-firehose-base.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-database.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-json-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-orc-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-parquet-table.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-presto-view.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-spark-view.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/hookshot.js","/Users/bilindhajer/cloudfriend/lib/shortcuts/log-subscription-lambda.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d":{"parent":null,"children":["e54708e1-ab69-41ca-9448-73144a4686dc"]},"e54708e1-ab69-41ca-9448-73144a4686dc":{"parent":"cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","children":[]}},"files":{"/Users/bilindhajer/cloudfriend/index.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/intrinsic.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/conditions.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/rules.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/pseudo.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/build.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/validate.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/merge.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/index.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/lambda.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/service-role.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/role.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/scheduled-lambda.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/event-lambda.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/queue-lambda.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/stream-lambda.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/cross-account-role.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/queue.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/kinesis-firehose-base.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-database.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-table.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-json-table.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-orc-table.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-parquet-table.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-presto-view.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/glue-spark-view.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/hookshot.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/lib/shortcuts/log-subscription-lambda.js":["cf34c2ae-5192-41cf-a50f-c1b5dd1c3e6d","e54708e1-ab69-41ca-9448-73144a4686dc"],"/Users/bilindhajer/cloudfriend/bin/build-template.js":["e54708e1-ab69-41ca-9448-73144a4686dc"]},"externalIds":{}}
|
package/.travis.yml
CHANGED
package/bin/build-template.js
CHANGED
package/bin/validate-template.js
CHANGED
package/lib/shortcuts/api.md
CHANGED
|
@@ -400,7 +400,7 @@ Log Group, a Role, an Alarm on function errors, and the Lambda Function itself.
|
|
|
400
400
|
| [options.Layers] | <code>Array.<String></code> | | See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers). |
|
|
401
401
|
| [options.MemorySize] | <code>Number</code> | <code>128</code> | See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-memorysize). |
|
|
402
402
|
| [options.ReservedConcurrentExecutions] | <code>Number</code> | | See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-reservedconcurrentexecutions). |
|
|
403
|
-
| [options.Runtime] | <code>String</code> | <code>'
|
|
403
|
+
| [options.Runtime] | <code>String</code> | <code>'nodejs18.x'</code> | See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime). |
|
|
404
404
|
| [options.Tags] | <code>Array.<Object></code> | | See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tags). |
|
|
405
405
|
| [options.Timeout] | <code>Number</code> | <code>300</code> | See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-timeout). |
|
|
406
406
|
| [options.TracingConfig] | <code>Object</code> | | See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tracingconfig). |
|
package/lib/shortcuts/lambda.js
CHANGED
|
@@ -21,7 +21,7 @@ const ServiceRole = require('./service-role');
|
|
|
21
21
|
* @param {Array<String>} [options.Layers=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers).
|
|
22
22
|
* @param {Number} [options.MemorySize=128] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-memorysize).
|
|
23
23
|
* @param {Number} [options.ReservedConcurrentExecutions=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-reservedconcurrentexecutions).
|
|
24
|
-
* @param {String} [options.Runtime='
|
|
24
|
+
* @param {String} [options.Runtime='nodejs18.x'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime).
|
|
25
25
|
* @param {Array<Object>} [options.Tags=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tags).
|
|
26
26
|
* @param {Number} [options.Timeout=300] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-timeout).
|
|
27
27
|
* @param {Object} [options.TracingConfig=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tracingconfig).
|
|
@@ -78,7 +78,7 @@ class Lambda {
|
|
|
78
78
|
Layers,
|
|
79
79
|
MemorySize = 128,
|
|
80
80
|
ReservedConcurrentExecutions,
|
|
81
|
-
Runtime = '
|
|
81
|
+
Runtime = 'nodejs18.x',
|
|
82
82
|
Tags,
|
|
83
83
|
Timeout = 300,
|
|
84
84
|
TracingConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapbox/cloudfriend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-1",
|
|
4
4
|
"description": "Helper functions for assembling CloudFormation templates in JavaScript",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"engines": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"tape": "^4.6.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"aws-sdk": "^2.
|
|
45
|
+
"aws-sdk": "^2.1425.0",
|
|
46
46
|
"minimist": "^1.2.6",
|
|
47
47
|
"redent": "^2.0.0"
|
|
48
48
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"Type": "AWS::ApiGateway::Stage",
|
|
29
29
|
"Properties": {
|
|
30
30
|
"DeploymentId": {
|
|
31
|
-
"Ref": "
|
|
31
|
+
"Ref": "PassDeployment0e352c83"
|
|
32
32
|
},
|
|
33
33
|
"StageName": "hookshot",
|
|
34
34
|
"RestApiId": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"
|
|
50
|
+
"PassDeployment0e352c83": {
|
|
51
51
|
"Type": "AWS::ApiGateway::Deployment",
|
|
52
52
|
"DependsOn": "PassMethod",
|
|
53
53
|
"Properties": {
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
},
|
|
182
182
|
"Handler": "index.lambda",
|
|
183
183
|
"MemorySize": 128,
|
|
184
|
-
"Runtime": "
|
|
184
|
+
"Runtime": "nodejs18.x",
|
|
185
185
|
"Timeout": 30,
|
|
186
186
|
"Role": {
|
|
187
187
|
"Fn::GetAtt": [
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
},
|
|
323
323
|
"Handler": "index.handler",
|
|
324
324
|
"MemorySize": 128,
|
|
325
|
-
"Runtime": "
|
|
325
|
+
"Runtime": "nodejs18.x",
|
|
326
326
|
"Timeout": 300,
|
|
327
327
|
"Role": {
|
|
328
328
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"PassDeployment0e352c83": {
|
|
47
47
|
"Type": "AWS::ApiGateway::Deployment",
|
|
48
48
|
"DependsOn": "PassMethod",
|
|
49
49
|
"Properties": {
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
},
|
|
176
176
|
"Handler": "index.lambda",
|
|
177
177
|
"MemorySize": 128,
|
|
178
|
-
"Runtime": "
|
|
178
|
+
"Runtime": "nodejs18.x",
|
|
179
179
|
"Timeout": 30,
|
|
180
180
|
"Role": {
|
|
181
181
|
"Fn::GetAtt": [
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
},
|
|
317
317
|
"Handler": "index.handler",
|
|
318
318
|
"MemorySize": 128,
|
|
319
|
-
"Runtime": "
|
|
319
|
+
"Runtime": "nodejs18.x",
|
|
320
320
|
"Timeout": 300,
|
|
321
321
|
"Role": {
|
|
322
322
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"PassDeployment0e352c83": {
|
|
47
47
|
"Type": "AWS::ApiGateway::Deployment",
|
|
48
48
|
"DependsOn": "PassMethod",
|
|
49
49
|
"Properties": {
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
},
|
|
184
184
|
"Handler": "index.lambda",
|
|
185
185
|
"MemorySize": 128,
|
|
186
|
-
"Runtime": "
|
|
186
|
+
"Runtime": "nodejs18.x",
|
|
187
187
|
"Timeout": 30,
|
|
188
188
|
"Role": {
|
|
189
189
|
"Fn::GetAtt": [
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
},
|
|
325
325
|
"Handler": "index.handler",
|
|
326
326
|
"MemorySize": 128,
|
|
327
|
-
"Runtime": "
|
|
327
|
+
"Runtime": "nodejs18.x",
|
|
328
328
|
"Timeout": 300,
|
|
329
329
|
"Role": {
|
|
330
330
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"
|
|
55
|
+
"PassDeployment0e352c83": {
|
|
56
56
|
"Type": "AWS::ApiGateway::Deployment",
|
|
57
57
|
"DependsOn": "PassMethod",
|
|
58
58
|
"Properties": {
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
},
|
|
180
180
|
"Handler": "index.lambda",
|
|
181
181
|
"MemorySize": 128,
|
|
182
|
-
"Runtime": "
|
|
182
|
+
"Runtime": "nodejs18.x",
|
|
183
183
|
"Timeout": 30,
|
|
184
184
|
"Role": {
|
|
185
185
|
"Fn::GetAtt": [
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
},
|
|
321
321
|
"Handler": "index.handler",
|
|
322
322
|
"MemorySize": 128,
|
|
323
|
-
"Runtime": "
|
|
323
|
+
"Runtime": "nodejs18.x",
|
|
324
324
|
"Timeout": 300,
|
|
325
325
|
"Role": {
|
|
326
326
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"PassDeployment0e352c83": {
|
|
47
47
|
"Type": "AWS::ApiGateway::Deployment",
|
|
48
48
|
"DependsOn": "PassMethod",
|
|
49
49
|
"Properties": {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
},
|
|
162
162
|
"Handler": "index.lambda",
|
|
163
163
|
"MemorySize": 128,
|
|
164
|
-
"Runtime": "
|
|
164
|
+
"Runtime": "nodejs18.x",
|
|
165
165
|
"Timeout": 30,
|
|
166
166
|
"Role": {
|
|
167
167
|
"Fn::GetAtt": [
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
},
|
|
305
305
|
"Handler": "index.handler",
|
|
306
306
|
"MemorySize": 128,
|
|
307
|
-
"Runtime": "
|
|
307
|
+
"Runtime": "nodejs18.x",
|
|
308
308
|
"Timeout": 300,
|
|
309
309
|
"Role": {
|
|
310
310
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"PassDeployment0e352c83": {
|
|
47
47
|
"Type": "AWS::ApiGateway::Deployment",
|
|
48
48
|
"DependsOn": "PassMethod",
|
|
49
49
|
"Properties": {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
},
|
|
162
162
|
"Handler": "index.lambda",
|
|
163
163
|
"MemorySize": 128,
|
|
164
|
-
"Runtime": "
|
|
164
|
+
"Runtime": "nodejs18.x",
|
|
165
165
|
"Timeout": 30,
|
|
166
166
|
"Role": {
|
|
167
167
|
"Fn::GetAtt": [
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
},
|
|
303
303
|
"Handler": "index.handler",
|
|
304
304
|
"MemorySize": 128,
|
|
305
|
-
"Runtime": "
|
|
305
|
+
"Runtime": "nodejs18.x",
|
|
306
306
|
"Timeout": 300,
|
|
307
307
|
"Role": {
|
|
308
308
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"PassDeployment0e352c83": {
|
|
47
47
|
"Type": "AWS::ApiGateway::Deployment",
|
|
48
48
|
"DependsOn": "PassMethod",
|
|
49
49
|
"Properties": {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
},
|
|
162
162
|
"Handler": "index.lambda",
|
|
163
163
|
"MemorySize": 128,
|
|
164
|
-
"Runtime": "
|
|
164
|
+
"Runtime": "nodejs18.x",
|
|
165
165
|
"Timeout": 30,
|
|
166
166
|
"Role": {
|
|
167
167
|
"Fn::GetAtt": [
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
},
|
|
303
303
|
"Handler": "index.handler",
|
|
304
304
|
"MemorySize": 128,
|
|
305
|
-
"Runtime": "
|
|
305
|
+
"Runtime": "nodejs18.x",
|
|
306
306
|
"Timeout": 300,
|
|
307
307
|
"Role": {
|
|
308
308
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"PassDeployment0e352c83": {
|
|
47
47
|
"Type": "AWS::ApiGateway::Deployment",
|
|
48
48
|
"DependsOn": "PassMethod",
|
|
49
49
|
"Properties": {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
},
|
|
162
162
|
"Handler": "index.lambda",
|
|
163
163
|
"MemorySize": 128,
|
|
164
|
-
"Runtime": "
|
|
164
|
+
"Runtime": "nodejs18.x",
|
|
165
165
|
"Timeout": 30,
|
|
166
166
|
"Role": {
|
|
167
167
|
"Fn::GetAtt": [
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
},
|
|
303
303
|
"Handler": "index.handler",
|
|
304
304
|
"MemorySize": 128,
|
|
305
|
-
"Runtime": "
|
|
305
|
+
"Runtime": "nodejs18.x",
|
|
306
306
|
"Timeout": 300,
|
|
307
307
|
"Role": {
|
|
308
308
|
"Fn::GetAtt": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Type": "AWS::ApiGateway::Stage",
|
|
25
25
|
"Properties": {
|
|
26
26
|
"DeploymentId": {
|
|
27
|
-
"Ref": "
|
|
27
|
+
"Ref": "PassDeployment0e352c83"
|
|
28
28
|
},
|
|
29
29
|
"StageName": "hookshot",
|
|
30
30
|
"RestApiId": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"PassDeployment0e352c83": {
|
|
47
47
|
"Type": "AWS::ApiGateway::Deployment",
|
|
48
48
|
"DependsOn": "PassMethod",
|
|
49
49
|
"Properties": {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
},
|
|
162
162
|
"Handler": "index.lambda",
|
|
163
163
|
"MemorySize": 128,
|
|
164
|
-
"Runtime": "
|
|
164
|
+
"Runtime": "nodejs18.x",
|
|
165
165
|
"Timeout": 30,
|
|
166
166
|
"Role": {
|
|
167
167
|
"Fn::GetAtt": [
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
},
|
|
303
303
|
"Handler": "index.handler",
|
|
304
304
|
"MemorySize": 128,
|
|
305
|
-
"Runtime": "
|
|
305
|
+
"Runtime": "nodejs18.x",
|
|
306
306
|
"Timeout": 300,
|
|
307
307
|
"Role": {
|
|
308
308
|
"Fn::GetAtt": [
|
package/test/shortcuts.test.js
CHANGED
|
@@ -162,7 +162,7 @@ test('[shortcuts] lambda', (assert) => {
|
|
|
162
162
|
Layers: ['arn:aws:fake:layer/abc'],
|
|
163
163
|
MemorySize: 512,
|
|
164
164
|
ReservedConcurrentExecutions: 10,
|
|
165
|
-
Runtime: '
|
|
165
|
+
Runtime: 'nodejs18.x',
|
|
166
166
|
Tags: [{ Key: 'a', Value: 'b' }],
|
|
167
167
|
Timeout: 30,
|
|
168
168
|
TracingConfig: { Mode: 'Active' },
|