Skip to content

Instantly share code, notes, and snippets.

View ystoneman's full-sized avatar

Yann Stoneman ystoneman

View GitHub Profile
@ystoneman
ystoneman / SAM.yaml
Last active August 4, 2019 04:57
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: