Skip to content

Commit

Permalink
fix(serverless): pass SNS error topic name to docker serverless
Browse files Browse the repository at this point in the history
  • Loading branch information
wyvern8 committed Jul 14, 2018
1 parent 9ecd1d5 commit 8169a79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envExample
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ GTM_SLS_EXECUTOR_VPC_SUBNET_A=
GTM_SLS_EXECUTOR_VPC_SUBNET_B=
GTM_SLS_EXECUTOR_VPC_SUBNET_C=
GTM_SLS_EXECUTOR_AWS_KMS_KEY_ID=
GTM_SLS_EXECUTOR_SNS_ERROR_TOPIC_ARN=
GTM_WORKER_SCRIPTS_CLONE=<optional git repo https url to clone and overlay>
GTM_WORKER_SCRIPTS_PATH=<path within scripts dir to use as overlay>

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ Create an asynchronous CI agnostic mechanism for running custom test stage gates
|GTM_SLS_EXECUTOR_AWS_REGION| aws region for lambdas default ap-southeast-2|
|GTM_SLS_EXECUTOR_AWS_EXECUTION_ROLE| docker serverless lambda execution role |
|GTM_SLS_EXECUTOR_DEPLOY_MODE| deploy multiple lambdas 'parallel' (default) or 'sequential'|
|GTM_SLS_EXECUTOR_SNS_ERROR_TOPIC_ARN| sns topic to notify on serverless error|
|GTM_SLS_EXECUTOR_APIGW_ENDPOINT_TYPE|EDGE or REGIONAL or PRIVATE|
|GTM_SLS_EXECUTOR_APIGW_DOMAIN_SUFFIX|reverse proxy domain name that will have apiId added as subdomain. eg. lambda.mysuffix.com will result in [apiId].lambda.mysuffix.com|
|GTM_SLS_EXECUTOR_HTTP_PROXY|proxy passed to serverless executor|
Expand Down
1 change: 1 addition & 0 deletions src/executors/ExecutorDockerServerless.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export class ExecutorDockerServerless extends ExecutorDocker {
SLS_APIGW_ENDPOINT_TYPE: process.env.GTM_SLS_EXECUTOR_APIGW_ENDPOINT_TYPE,
SLS_APIGW_DOMAIN_SUFFIX: process.env.GTM_SLS_EXECUTOR_APIGW_DOMAIN_SUFFIX,
SLS_DEPLOYMENT_S3_BUCKET_PREFIX: process.env.GTM_SLS_EXECUTOR_DEPLOYMENT_S3_BUCKET_PREFIX,
SLS_SNS_ERROR_TOPIC_ARN: process.env.GTM_SLS_EXECUTOR_SNS_ERROR_TOPIC_ARN,
SLS_HTTP_PROXY: process.env.GTM_SLS_EXECUTOR_HTTP_PROXY,
SLS_NO_PROXY: process.env.GTM_SLS_EXECUTOR_NO_PROXY,
SLS_VPC_ID: process.env.GTM_SLS_EXECUTOR_VPC_ID,
Expand Down

0 comments on commit 8169a79

Please sign in to comment.