Skip to content

Commit

Permalink
fix(lambda): sls env var pass
Browse files Browse the repository at this point in the history
  • Loading branch information
wyvern8 committed Jul 5, 2018
1 parent 8111ad6 commit ff0677d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .envExample
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ GTM_SLS_EXECUTOR_AWS_EXECUTION_ROLE=<iam role for lambda execution>
GTM_SLS_EXECUTOR_DEPLOY_MODE=parallel
GTM_SLS_EXECUTOR_APIGW_ENDPOINT_TYPE=EDGE
GTM_SLS_EXECUTOR_APIGW_DOMAIN_SUFFIX=lambda.mysuffix.com
GTM_SLS_EXECUTOR_DEPLOYMENT_S3_BUCKET_PREFIX=
GTM_SLS_EXECUTOR_HTTP_PROXY=
GTM_SLS_EXECUTOR_NO_PROXY=

Expand Down
5 changes: 3 additions & 2 deletions src/executors/ExecutorDockerServerless.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ export class ExecutorDockerServerless extends ExecutorDocker {
SLS_DEPLOY_MODE: process.env.GTM_SLS_EXECUTOR_DEPLOY_MODE || 'parallel',
SLS_APIGW_ENDPOINT_TYPE: process.env.GTM_SLS_EXECUTOR_APIGW_ENDPOINT_TYPE,
SLS_APIGW_DOMAIN_SUFFIX: process.env.GTM_SLS_EXECUTOR_APIGW_DOMAIN_SUFFIX,
HTTP_PROXY: process.env.GTM_SLS_EXECUTOR_HTTP_PROXY,
NO_PROXY: process.env.GTM_SLS_EXECUTOR_NO_PROXY
SLS_DEPLOYMENT_S3_BUCKET_PREFIX: process.env.GTM_SLS_EXECUTOR_DEPLOYMENT_S3_BUCKET_PREFIX,
SLS_HTTP_PROXY: process.env.GTM_SLS_EXECUTOR_HTTP_PROXY,
SLS_NO_PROXY: process.env.GTM_SLS_EXECUTOR_NO_PROXY
},
validator: {
type: 'outputRegex',
Expand Down

0 comments on commit ff0677d

Please sign in to comment.