unique task def per job
parent
a19a907c14
commit
f3911a785e
File diff suppressed because one or more lines are too long
|
|
@ -17,8 +17,6 @@ Parameters:
|
||||||
Default: nginx
|
Default: nginx
|
||||||
Description: The url of a docker image that contains the application process that
|
Description: The url of a docker image that contains the application process that
|
||||||
will handle the traffic for this service
|
will handle the traffic for this service
|
||||||
Entrypoint:
|
|
||||||
Type: List<String>
|
|
||||||
|
|
||||||
ContainerPort:
|
ContainerPort:
|
||||||
Type: Number
|
Type: Number
|
||||||
|
|
@ -117,7 +115,6 @@ Resources:
|
||||||
Cpu: !Ref 'ContainerCpu'
|
Cpu: !Ref 'ContainerCpu'
|
||||||
Memory: !Ref 'ContainerMemory'
|
Memory: !Ref 'ContainerMemory'
|
||||||
Image: !Ref 'ImageUrl'
|
Image: !Ref 'ImageUrl'
|
||||||
Entrypoint: !Ref 'Entrypoint'
|
|
||||||
Environment:
|
Environment:
|
||||||
- Name: ALLOW_EMPTY_PASSWORD
|
- Name: ALLOW_EMPTY_PASSWORD
|
||||||
Value: 'yes'
|
Value: 'yes'
|
||||||
|
|
|
||||||
|
|
@ -50,10 +50,6 @@ class AWS {
|
||||||
ParameterKey: 'ImageUrl',
|
ParameterKey: 'ImageUrl',
|
||||||
ParameterValue: image,
|
ParameterValue: image,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
ParameterKey: 'Entrypoint',
|
|
||||||
ParameterValue: commands,
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
}).promise();
|
}).promise();
|
||||||
await CF.waitFor('stackCreateComplete', { StackName: taskDefStackName }).promise();
|
await CF.waitFor('stackCreateComplete', { StackName: taskDefStackName }).promise();
|
||||||
|
|
@ -82,6 +78,7 @@ class AWS {
|
||||||
{
|
{
|
||||||
name: 'example',
|
name: 'example',
|
||||||
environment,
|
environment,
|
||||||
|
command: commands,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue