@infoxchange/make-it-so 2.13.0-internal-testing-randomise-subnet.1 → 2.13.0-internal-testing-randomise-subnet.2

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.
@@ -165,7 +165,7 @@ export class SiteOidcAuth extends Construct {
165
165
  origin: new CloudFrontOrigins.HttpOrigin(CDK.Fn.parseDomainName(authRouteFunctionUrl.url)),
166
166
  allowedMethods: CloudFront.AllowedMethods.ALLOW_ALL,
167
167
  cachePolicy: new CloudFront.CachePolicy(scope, `${this.id}AllowAllCookiesPolicy`, {
168
- cachePolicyName: `${this.id}-AllowAllCookiesPolicy`,
168
+ cachePolicyName: `${CDK.Stack.of(scope).stackName}-${this.id}-AllowAllCookiesPolicy`,
169
169
  comment: "Cache policy that forwards all cookies",
170
170
  defaultTtl: CDK.Duration.seconds(1),
171
171
  minTtl: CDK.Duration.seconds(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infoxchange/make-it-so",
3
- "version": "2.13.0-internal-testing-randomise-subnet.1",
3
+ "version": "2.13.0-internal-testing-randomise-subnet.2",
4
4
  "description": "Makes deploying services to IX infra easy",
5
5
  "repository": "github:infoxchange/make-it-so",
6
6
  "type": "module",
@@ -274,7 +274,7 @@ export class SiteOidcAuth extends Construct {
274
274
  scope,
275
275
  `${this.id}AllowAllCookiesPolicy`,
276
276
  {
277
- cachePolicyName: `${this.id}-AllowAllCookiesPolicy`,
277
+ cachePolicyName: `${CDK.Stack.of(scope).stackName}-${this.id}-AllowAllCookiesPolicy`,
278
278
  comment: "Cache policy that forwards all cookies",
279
279
  defaultTtl: CDK.Duration.seconds(1),
280
280
  minTtl: CDK.Duration.seconds(1),