dcl-ops-lib 5.20.1 → 5.21.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.
package/certificate.js CHANGED
@@ -7,8 +7,8 @@ const CERTIFICATE_ARNS = {
7
7
  "decentraland.io": "arn:aws:acm:us-east-1:564327678575:certificate/0e9bc16e-6a3c-4e2d-a93c-314bdab51261",
8
8
  "decentraland.zone": "arn:aws:acm:us-east-1:564327678575:certificate/8123afb1-a8b5-415f-996e-37b099cc3baa",
9
9
  // Staging
10
- "decentraland.net": "arn:aws:acm:us-east-1:000333518097:certificate/3f48065d-dfb4-4488-88e3-3bd5fe9bd69d",
11
- "decentraland.today": "arn:aws:acm:us-east-1:000333518097:certificate/a7c45839-cf2d-452d-b161-97925361e0fe",
10
+ "decentraland.net": "arn:aws:acm:us-east-1:000333518097:certificate/155d0080-cb6c-46a1-9cbf-f74cccb54c2c",
11
+ "decentraland.today": "arn:aws:acm:us-east-1:000333518097:certificate/155d0080-cb6c-46a1-9cbf-f74cccb54c2c",
12
12
  // Pre-production (redirect .org here)
13
13
  "decentraland.co": "arn:aws:acm:us-east-1:619079673649:certificate/f767fa77-369a-4559-b5a0-545e1b823c57",
14
14
  // Not used
@@ -37,7 +37,7 @@ function exposePublicService(name, domain, port, healthCheck = {}, vpc, extraOpt
37
37
  return __awaiter(this, void 0, void 0, function* () {
38
38
  const { alb, listener } = yield (0, alb_1.getAlb)();
39
39
  const healthCheckValue = Object.assign({}, DEFAULT_HEALTHCHECK_VALUES, healthCheck);
40
- const createCFProxy = extraOptions && extraOptions.createCloudflareProxiedSubdomain;
40
+ const createCFProxy = extraOptions && extraOptions.createCloudflareProxiedSubdomain || domain.endsWith(`.${domain_1.publicDomain}`);
41
41
  const onlyCloudflare = (extraOptions && extraOptions.skipInternalDomain) || false;
42
42
  const createInternalDomain = !onlyCloudflare;
43
43
  const certificate = (0, certificate_1.getCertificateFor)(domain);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcl-ops-lib",
3
- "version": "5.20.1",
3
+ "version": "5.21.2",
4
4
  "scripts": {
5
5
  "build": "tsc && cp bin/* .",
6
6
  "clean": "rm *.d.ts *.js *.js.map"
@@ -24,14 +24,14 @@
24
24
  "@types/mime": "^2.0.3",
25
25
  "@types/node": "^14.14.32",
26
26
  "semantic-release": "^17.4.1",
27
- "typescript": "^4.4.3"
27
+ "typescript": "^4.6.2"
28
28
  },
29
29
  "dependencies": {
30
- "@pulumi/aws": "^4.22.0",
31
- "@pulumi/awsx": "^0.31.0",
32
- "@pulumi/cloudflare": "^4.0.0",
33
- "@pulumi/docker": "^3.1.0",
34
- "@pulumi/pulumi": "^3.13.2",
35
- "mime": "^2.5.2"
30
+ "@pulumi/aws": "^5.1.3",
31
+ "@pulumi/awsx": "^0.40.0",
32
+ "@pulumi/cloudflare": "^4.6.0",
33
+ "@pulumi/docker": "^3.2.0",
34
+ "@pulumi/pulumi": "^3.29.1",
35
+ "mime": "^2.6.0"
36
36
  }
37
37
  }