Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ provider:
stage: trigger
region: eu-west-1
versionFunctions: false
deploymentBucket: github-webhook-artifacts-${self:provider.region}
deploymentBucket: github-webhook-artifacts-${opt:region, self:provider.region}

# you can add statements to the Lambda function's IAM Role here
iamRoleStatements:
Expand Down Expand Up @@ -79,7 +79,7 @@ resources:
-
- https://
- Ref: "ApiGatewayRestApi"
- .execute-api.eu-west-1.amazonaws.com/${self:provider.stage}/trigger-build/
- .execute-api.${opt:region, self:provider.region}.amazonaws.com/${opt:stage, self:provider.stage}/trigger-build/

Outputs:
TriggerEndpoint:
Expand All @@ -89,7 +89,7 @@ resources:
-
- https://
- Ref: "ApiGatewayRestApi"
- .execute-api.eu-west-1.amazonaws.com/${self:provider.stage}/trigger-build/
- .execute-api.${opt:region, self:provider.region}.amazonaws.com/${opt:stage, self:provider.stage}/trigger-build/

stepFunctions:
stateMachines:
Expand Down