Created
October 30, 2020 08:06
-
-
Save SamWSoftware/381eaf441fc6435f1466314b1eedaa72 to your computer and use it in GitHub Desktop.
A way to reference your own API Gateway url from within a serverless file
This file contains hidden or 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
apiURLBase: { 'Fn::Join': [ '', [ 'https://', { 'Ref': 'ApiGatewayRestApi' }, '.execute-api.${self:provider.region}.amazonaws.com/${self:provider.stage}' ] ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment