Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Commit 1e539df

Browse files
committed
Fix Outputs
1 parent 40b1c71 commit 1e539df

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

templates/instance.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,3 @@ Outputs:
155155
TheSiteUrl:
156156
Description: public url of the application
157157
Value: !Sub 'http://${TheLoadBalancer.DNSName}:${TheWebPort}/'
158-
Export:
159-
Name: site-url

templates/main.template

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ Parameters:
5050
Description: port application is listening at
5151
Default: 80
5252
Type: Number
53-
Mappings: {}
54-
Conditions: {}
5553
Resources:
5654
TheNeworkStack:
5755
Type: AWS::CloudFormation::Stack
@@ -94,4 +92,5 @@ Resources:
9492
Value: !Sub '${AWS::StackName}-ASG'
9593
TemplateURL: ./instance.template
9694
TimeoutInMinutes: 30
97-
Outputs: {}
95+
Outputs:
96+
TheSiteUrl: !GetAtt TheInstanceStack.Outputs.TheSiteUrl

0 commit comments

Comments
 (0)