Skip to content

Instantly share code, notes, and snippets.

@ystoneman
Last active August 4, 2019 04:57
Show Gist options
  • Save ystoneman/71f23a59c2a031632b0233c07a20358d to your computer and use it in GitHub Desktop.
Save ystoneman/71f23a59c2a031632b0233c07a20358d to your computer and use it in GitHub Desktop.
Stuff you don't need in a serverless.yml
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
# The Serverless Framework outputs the URL automatically,
# minus the `/pets` in Outputs.SpringBootPetStoreApi.Value:
Outputs:
SpringBootPetStoreApi:
Description: URL for application
Value: !Sub 'https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/pets'
Export:
Name: SpringBootPetStoreApi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment