dcl-ops-lib 6.0.9 → 6.0.10
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/createFargateTask.js +4 -5
- package/package.json +1 -1
package/createFargateTask.js
CHANGED
|
@@ -289,12 +289,10 @@ function createInternalService(config) {
|
|
|
289
289
|
{ type: "SRV", ttl: 10 },
|
|
290
290
|
],
|
|
291
291
|
namespaceId: (0, supra_1.getInternalServiceDiscoveryNamespaceId)(),
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
}, { deleteBeforeReplace: true, });
|
|
292
|
+
}
|
|
293
|
+
});
|
|
295
294
|
serviceRegistries = {
|
|
296
|
-
|
|
297
|
-
containerName: serviceName,
|
|
295
|
+
port: serviceDiscoveryPort,
|
|
298
296
|
registryArn: serviceDiscovery.arn,
|
|
299
297
|
};
|
|
300
298
|
}
|
|
@@ -308,6 +306,7 @@ function createInternalService(config) {
|
|
|
308
306
|
taskRoleArn: taskRole === null || taskRole === void 0 ? void 0 : taskRole.arn,
|
|
309
307
|
tags: { ServiceName: serviceName, Team: team },
|
|
310
308
|
containerDefinitions: JSON.stringify([Object.assign(Object.assign({}, containerInfo), { logConfiguration: (0, exports.getDefaultLogs)(serviceName, logGroup) })]),
|
|
309
|
+
networkMode: "awsvpc",
|
|
311
310
|
volumes: volumes,
|
|
312
311
|
family: (0, stack_1.getStackScopedName)(serviceName),
|
|
313
312
|
}, { dependsOn: [logGroup] });
|