@voxgig/build 1.4.8 → 1.4.10
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/build.ts +2 -2
- package/dist/build.js +2 -2
- package/package.json +1 -1
package/build.ts
CHANGED
|
@@ -85,7 +85,7 @@ const EnvLambda = {
|
|
|
85
85
|
// TODO: this should be a JSON structure exported as YAML
|
|
86
86
|
let srvyml = `${name}:
|
|
87
87
|
handler: ${handler.path.prefix}${name}${handler.path.suffix}
|
|
88
|
-
role: Basic${AppName}LambdaRole
|
|
88
|
+
role: Basic${AppName}LambdaRole
|
|
89
89
|
timeout: ${lambda.timeout}
|
|
90
90
|
`
|
|
91
91
|
const web = srv.api.web
|
|
@@ -484,7 +484,7 @@ Basic${AppName}LambdaRole:
|
|
|
484
484
|
- lambda.amazonaws.com
|
|
485
485
|
Action: sts:AssumeRole
|
|
486
486
|
Policies:
|
|
487
|
-
- PolicyName:
|
|
487
|
+
- PolicyName: LambdaServiceAccess
|
|
488
488
|
PolicyDocument:
|
|
489
489
|
Version: '2012-10-17'
|
|
490
490
|
Statement:
|
package/dist/build.js
CHANGED
|
@@ -68,7 +68,7 @@ const EnvLambda = {
|
|
|
68
68
|
// TODO: this should be a JSON structure exported as YAML
|
|
69
69
|
let srvyml = `${name}:
|
|
70
70
|
handler: ${handler.path.prefix}${name}${handler.path.suffix}
|
|
71
|
-
role: Basic${AppName}LambdaRole
|
|
71
|
+
role: Basic${AppName}LambdaRole
|
|
72
72
|
timeout: ${lambda.timeout}
|
|
73
73
|
`;
|
|
74
74
|
const web = srv.api.web;
|
|
@@ -382,7 +382,7 @@ Basic${AppName}LambdaRole:
|
|
|
382
382
|
- lambda.amazonaws.com
|
|
383
383
|
Action: sts:AssumeRole
|
|
384
384
|
Policies:
|
|
385
|
-
- PolicyName:
|
|
385
|
+
- PolicyName: LambdaServiceAccess
|
|
386
386
|
PolicyDocument:
|
|
387
387
|
Version: '2012-10-17'
|
|
388
388
|
Statement:
|