Skip to content

Commit

Permalink
Moved these 2 lines back to where they were
Browse files Browse the repository at this point in the history
  • Loading branch information
hencrice committed Mar 20, 2020
1 parent 44effbf commit 63e0d6d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,12 @@ export abstract class ApplicationLoadBalancedServiceBase extends cdk.Construct {
}
}

new cdk.CfnOutput(this, 'LoadBalancerDNS', { value: loadBalancer.loadBalancerDnsName });
new cdk.CfnOutput(this, 'ServiceURL', { value: protocol.toLowerCase() + '://' + domainName });

if (loadBalancer instanceof ApplicationLoadBalancer) {
this._applicationLoadBalancer = loadBalancer;
}

new cdk.CfnOutput(this, 'LoadBalancerDNS', { value: loadBalancer.loadBalancerDnsName });
new cdk.CfnOutput(this, 'ServiceURL', { value: protocol.toLowerCase() + '://' + domainName });
}

/**
Expand Down

0 comments on commit 63e0d6d

Please sign in to comment.