@gradientedge/cdk-utils 7.14.0 → 7.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -267,6 +267,10 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
|
|
|
267
267
|
this.siteEcsListener = fargateService.listener;
|
|
268
268
|
this.siteEcsLoadBalancer = fargateService.loadBalancer;
|
|
269
269
|
this.siteEcsTargetGroup = fargateService.targetGroup;
|
|
270
|
+
this.addCfnOutput(`${this.id}-loadBalancerArn`, this.siteEcsLoadBalancer.loadBalancerArn ?? '');
|
|
271
|
+
this.addCfnOutput(`${this.id}-loadBalancerName`, this.siteEcsLoadBalancer.loadBalancerName ?? '');
|
|
272
|
+
this.addCfnOutput(`${this.id}-loadBalancerFullName`, this.siteEcsLoadBalancer.loadBalancerFullName ?? '');
|
|
273
|
+
this.addCfnOutput(`${this.id}-loadBalancerDnsName`, this.siteEcsLoadBalancer.loadBalancerDnsName ?? '');
|
|
270
274
|
}
|
|
271
275
|
/**
|
|
272
276
|
* Method to create log bucket for site distribution
|
package/package.json
CHANGED
|
@@ -291,6 +291,11 @@ export class SiteWithEcsBackend extends CommonConstruct {
|
|
|
291
291
|
this.siteEcsListener = fargateService.listener
|
|
292
292
|
this.siteEcsLoadBalancer = fargateService.loadBalancer
|
|
293
293
|
this.siteEcsTargetGroup = fargateService.targetGroup
|
|
294
|
+
|
|
295
|
+
this.addCfnOutput(`${this.id}-loadBalancerArn`, this.siteEcsLoadBalancer.loadBalancerArn ?? '')
|
|
296
|
+
this.addCfnOutput(`${this.id}-loadBalancerName`, this.siteEcsLoadBalancer.loadBalancerName ?? '')
|
|
297
|
+
this.addCfnOutput(`${this.id}-loadBalancerFullName`, this.siteEcsLoadBalancer.loadBalancerFullName ?? '')
|
|
298
|
+
this.addCfnOutput(`${this.id}-loadBalancerDnsName`, this.siteEcsLoadBalancer.loadBalancerDnsName ?? '')
|
|
294
299
|
}
|
|
295
300
|
|
|
296
301
|
/**
|