From e8bf541e6d535d60c2f2b9432167c33150e0f851 Mon Sep 17 00:00:00 2001 From: Harold Sun Date: Tue, 6 Feb 2024 16:37:18 +0800 Subject: [PATCH] Add output to template.yml (#385) --- examples/go-http-zip/template.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/go-http-zip/template.yml b/examples/go-http-zip/template.yml index 175e4c04..7fe255c7 100644 --- a/examples/go-http-zip/template.yml +++ b/examples/go-http-zip/template.yml @@ -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}/"