typescript aws
parent
6298965513
commit
10ffbfe57e
|
|
@ -468,7 +468,7 @@ class AWS {
|
|||
const taskDefResources = yield CF.describeStackResources({
|
||||
StackName: taskDefStackName,
|
||||
}).promise();
|
||||
const baseResources = yield CF.describeStackResources({ StackName: stackName }).promise();
|
||||
const baseResources = yield CF.describeStackResources({ StackName: taskDefStackName }).promise();
|
||||
const clusterName = ((_b = (_a = baseResources.StackResources) === null || _a === void 0 ? void 0 : _a.find((x) => x.LogicalResourceId === 'ECSCluster')) === null || _b === void 0 ? void 0 : _b.PhysicalResourceId) || "";
|
||||
const task = yield ECS.runTask({
|
||||
cluster: clusterName,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -286,7 +286,7 @@ class AWS {
|
|||
StackName: taskDefStackName,
|
||||
}).promise();
|
||||
|
||||
const baseResources = await CF.describeStackResources({ StackName: stackName }).promise();
|
||||
const baseResources = await CF.describeStackResources({ StackName: taskDefStackName }).promise();
|
||||
|
||||
|
||||
const clusterName = baseResources.StackResources?.find(
|
||||
|
|
|
|||
Loading…
Reference in New Issue