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
|
||||
Description: The url of a docker image that contains the application process that
|
||||
will handle the traffic for this service
|
||||
Entrypoint:
|
||||
Type: List<String>
|
||||
|
||||
ContainerPort:
|
||||
Type: Number
|
||||
|
|
@ -117,7 +115,6 @@ Resources:
|
|||
Cpu: !Ref 'ContainerCpu'
|
||||
Memory: !Ref 'ContainerMemory'
|
||||
Image: !Ref 'ImageUrl'
|
||||
Entrypoint: !Ref 'Entrypoint'
|
||||
Environment:
|
||||
- Name: ALLOW_EMPTY_PASSWORD
|
||||
Value: 'yes'
|
||||
|
|
|
|||
|
|
@ -50,10 +50,6 @@ class AWS {
|
|||
ParameterKey: 'ImageUrl',
|
||||
ParameterValue: image,
|
||||
},
|
||||
{
|
||||
ParameterKey: 'Entrypoint',
|
||||
ParameterValue: commands,
|
||||
},
|
||||
],
|
||||
}).promise();
|
||||
await CF.waitFor('stackCreateComplete', { StackName: taskDefStackName }).promise();
|
||||
|
|
@ -82,6 +78,7 @@ class AWS {
|
|||
{
|
||||
name: 'example',
|
||||
environment,
|
||||
command: commands,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue