@gradientedge/cdk-utils 8.70.0 → 8.71.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.
@@ -146,9 +146,10 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
146
146
  */
147
147
  resolveSiteDomainNames() {
148
148
  /* the internal domain name used by ELB */
149
- this.siteInternalDomainName = this.isProductionStage()
150
- ? `${this.props.siteSubDomain}-internal.${this.fullyQualifiedDomainName}`
151
- : `${this.props.siteSubDomain}-internal-${this.props.stage}.${this.fullyQualifiedDomainName}`;
149
+ this.siteInternalDomainName =
150
+ this.isProductionStage() || this.props.skipStageForARecords
151
+ ? `${this.props.siteSubDomain}-internal.${this.fullyQualifiedDomainName}`
152
+ : `${this.props.siteSubDomain}-internal-${this.props.stage}.${this.fullyQualifiedDomainName}`;
152
153
  /* the external domain name exposed to CloudFront */
153
154
  this.siteExternalDomainName =
154
155
  this.isProductionStage() || this.props.skipStageForARecords
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.70.0",
3
+ "version": "8.71.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -159,9 +159,10 @@ export class SiteWithEcsBackend extends CommonConstruct {
159
159
  */
160
160
  protected resolveSiteDomainNames() {
161
161
  /* the internal domain name used by ELB */
162
- this.siteInternalDomainName = this.isProductionStage()
163
- ? `${this.props.siteSubDomain}-internal.${this.fullyQualifiedDomainName}`
164
- : `${this.props.siteSubDomain}-internal-${this.props.stage}.${this.fullyQualifiedDomainName}`
162
+ this.siteInternalDomainName =
163
+ this.isProductionStage() || this.props.skipStageForARecords
164
+ ? `${this.props.siteSubDomain}-internal.${this.fullyQualifiedDomainName}`
165
+ : `${this.props.siteSubDomain}-internal-${this.props.stage}.${this.fullyQualifiedDomainName}`
165
166
 
166
167
  /* the external domain name exposed to CloudFront */
167
168
  this.siteExternalDomainName =