unique task def per job

pull/218/head
Frostebite 2021-02-07 00:58:11 +00:00
parent a19a907c14
commit f3911a785e
3 changed files with 2 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -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'

View File

@ -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,
},
],
},