cleanup
parent
99fd44f598
commit
0374e9c3f4
File diff suppressed because one or more lines are too long
|
|
@ -381,8 +381,7 @@ class AWS {
|
||||||
|
|
||||||
static async runTask(taskDef, ECS, CF, environment, buildUid) {
|
static async runTask(taskDef, ECS, CF, environment, buildUid) {
|
||||||
const cluster =
|
const cluster =
|
||||||
taskDef.baseResources.StackResources?.find((x) => x.LogicalResourceId === 'ECSCluster')
|
taskDef.baseResources.StackResources?.find((x) => x.LogicalResourceId === 'ECSCluster')?.PhysicalResourceId || '';
|
||||||
?.PhysicalResourceId || '';
|
|
||||||
const taskDefinition =
|
const taskDefinition =
|
||||||
taskDef.taskDefResources.StackResources?.find((x) => x.LogicalResourceId === 'TaskDefinition')
|
taskDef.taskDefResources.StackResources?.find((x) => x.LogicalResourceId === 'TaskDefinition')
|
||||||
?.PhysicalResourceId || '';
|
?.PhysicalResourceId || '';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue