serverless-fargate-tasks
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -116,2 +116,4 @@ 'use strict'; | ||
let desired = options.tasks[identifier]['desired'] | ||
// create the service definition | ||
@@ -124,3 +126,3 @@ var service = { | ||
'ServiceName': identifier, | ||
'DesiredCount': options.tasks[identifier]['desired'] || 1, | ||
'DesiredCount': desired == undefined ? 1 : desired, | ||
'TaskDefinition': {"Fn::Sub": '${' + name + 'Task}'}, | ||
@@ -127,0 +129,0 @@ 'NetworkConfiguration': { |
@@ -17,3 +17,3 @@ { | ||
}, | ||
"version": "0.1.0" | ||
"version": "0.2.0" | ||
} |
@@ -11,3 +11,3 @@ Serverless Fargate Tasks | ||
fargate: | ||
network: | ||
vpc: | ||
subnets: | ||
@@ -36,3 +36,3 @@ - subnet-1234 | ||
network: | ||
vpc: | ||
public-ip: DISABLED # optional, defaults to disabled | ||
@@ -75,5 +75,5 @@ subnets: | ||
Foo: BAR | ||
network: | ||
vpc: | ||
Foo: BAR | ||
role: ARN | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8397
130