-
-
Save richardgrantserverless/54b0d733632dcce26cb3bd566d33b814 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
custom: | |
# change this, so it's unique for your setup | |
bucket_name: ${self:provider.stage,opt:stage}-${env:USER}-screenshots | |
# these variables are passed on through ApiGateway, to be used | |
# in your functions in the event.stageVariables | |
stageVariables: | |
bucketName: ${self:custom.bucket_name} | |
endpoint: {"Fn::Join": ["", ["https://", { "Fn::GetAtt": "CloudFrontEndpoint.DomainName" }, "/"]]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment