dcl-ops-lib 6.0.18 → 6.0.20
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 +3 -0
- package/package.json +1 -1
package/createFargateTask.js
CHANGED
|
@@ -207,6 +207,8 @@ function createFargateTask(serviceName, dockerImage, dockerListeningPort, enviro
|
|
|
207
207
|
serviceName,
|
|
208
208
|
cluster,
|
|
209
209
|
desiredCount,
|
|
210
|
+
executionRole,
|
|
211
|
+
taskRole,
|
|
210
212
|
assignPublicIp: !dontAssignPublicIp,
|
|
211
213
|
serviceDiscoveryPort,
|
|
212
214
|
ignoreServiceDiscovery,
|
|
@@ -295,6 +297,7 @@ function createInternalService(config) {
|
|
|
295
297
|
description: "service discovery for " + serviceName,
|
|
296
298
|
dnsConfig: {
|
|
297
299
|
dnsRecords: [
|
|
300
|
+
{ type: "A", ttl: 10 },
|
|
298
301
|
{ type: "SRV", ttl: 10 },
|
|
299
302
|
],
|
|
300
303
|
namespaceId: (0, supra_1.getInternalServiceDiscoveryNamespaceId)(),
|