dcl-ops-lib 5.18.1 → 5.18.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/exposePublicService.js +2 -2
- package/package.json +1 -1
package/exposePublicService.js
CHANGED
|
@@ -44,12 +44,12 @@ function exposePublicService(name, domain, port, healthCheck = {}, vpc, extraOpt
|
|
|
44
44
|
const slug = name;
|
|
45
45
|
const targetVpc = vpc ? vpc : awsx.ec2.Vpc.getDefault();
|
|
46
46
|
const targetDeregistrationDelay = deregistrationDelay ? deregistrationDelay : 300;
|
|
47
|
-
const targetGroup = alb.createTargetGroup(
|
|
47
|
+
const targetGroup = alb.createTargetGroup("tg-" + slug.substr(-32 + 12) /* last 32 chars, and take 7 chars for the -hash appended by pulumi */, {
|
|
48
48
|
protocol: "HTTP",
|
|
49
49
|
port,
|
|
50
50
|
healthCheck: healthCheckValue,
|
|
51
51
|
vpc: targetVpc,
|
|
52
|
-
deregistrationDelay: targetDeregistrationDelay
|
|
52
|
+
deregistrationDelay: targetDeregistrationDelay,
|
|
53
53
|
});
|
|
54
54
|
const domainParts = (0, getDomainAndSubdomain_1.getDomainAndSubdomain)(domain);
|
|
55
55
|
const enabledHostnames = [];
|