dcl-ops-lib 6.8.0 → 6.8.1
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 +5 -3
- package/package.json +1 -1
package/createFargateTask.js
CHANGED
|
@@ -115,7 +115,7 @@ function getFargateTaskRole(name, policyArnNamedMap) {
|
|
|
115
115
|
*/
|
|
116
116
|
function createFargateTask(serviceName, dockerImage, dockerListeningPort, environment, hostname, options) {
|
|
117
117
|
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
-
let { healthCheck, healthCheckContainer, essential, dontExpose, securityGroups, cluster, memoryReservation, command, version, ephemeralStorageInGB, desiredCount, cpuReservation, extraPortMappings, extraALBMappings, executionRolePolicies, taskRolePolicies, ignoreServiceDiscovery, secrets, metrics, dontAssignPublicIp, dependsOn, volumes, deregistrationDelay, mountPoints, repositoryCredentials, team, } = options;
|
|
118
|
+
let { healthCheck, healthCheckContainer, essential, dontExpose, securityGroups, cluster, memoryReservation, command, version, ephemeralStorageInGB, desiredCount, cpuReservation, extraPortMappings, extraALBMappings, executionRolePolicies, taskRolePolicies, ignoreServiceDiscovery, secrets, metrics, dontAssignPublicIp, dependsOn, volumes, deregistrationDelay, mountPoints, repositoryCredentials, team, appAutoscaling } = options;
|
|
119
119
|
if (undefined === essential) {
|
|
120
120
|
essential = true;
|
|
121
121
|
}
|
|
@@ -236,7 +236,8 @@ function createFargateTask(serviceName, dockerImage, dockerListeningPort, enviro
|
|
|
236
236
|
volumes,
|
|
237
237
|
team,
|
|
238
238
|
targetGroups,
|
|
239
|
-
runtimePlatform: options.runtimePlatform
|
|
239
|
+
runtimePlatform: options.runtimePlatform,
|
|
240
|
+
appAutoscaling
|
|
240
241
|
});
|
|
241
242
|
return {
|
|
242
243
|
service,
|
|
@@ -289,7 +290,8 @@ function createFargateTask(serviceName, dockerImage, dockerListeningPort, enviro
|
|
|
289
290
|
volumes,
|
|
290
291
|
team,
|
|
291
292
|
targetGroups,
|
|
292
|
-
runtimePlatform: options.runtimePlatform
|
|
293
|
+
runtimePlatform: options.runtimePlatform,
|
|
294
|
+
appAutoscaling
|
|
293
295
|
});
|
|
294
296
|
return { endpoint: `https://${hostname}/`, service, exposed };
|
|
295
297
|
});
|