@certenza/aws-cdk-infrastructure-commons 2.0.3 → 2.0.4

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.
@@ -86,6 +86,10 @@ const createApiGateway = (scope, apiName, domainName, hostedZoneId, zoneName) =>
86
86
  })),
87
87
  },
88
88
  });
89
+ // Add a dependency on the API root to help ensure deployments update
90
+ if (api.deploymentStage) {
91
+ api.deploymentStage.node.addDependency(api.root);
92
+ }
89
93
  // Create Route53 A record pointing to the API Gateway
90
94
  new route53.ARecord(scope, `${apiName}-AliasRecord`, {
91
95
  zone: hostedZone,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@certenza/aws-cdk-infrastructure-commons",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Common infrastructure reusable utilities and resources for Certenza projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",