Skip to content

Commit

Permalink
Add output to template.yml (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnusunny authored Feb 6, 2024
1 parent ef1ce91 commit e8bf541
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/go-http-zip/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ Resources:
Type: HttpApi
Metadata:
BuildMethod: go1.x

Outputs:
GoWebsiteAPI:
Description: "API Gateway endpoint URL for Prod stage for Go-Http function"
Value: !Sub "https://${ServerlessHttpApi}.execute-api.${AWS::Region}.${AWS::URLSuffix}/"

0 comments on commit e8bf541

Please sign in to comment.