Configuring stack region
parent
06dac18b35
commit
8cf32b1638
File diff suppressed because one or more lines are too long
|
|
@ -124,9 +124,12 @@ class AWS {
|
|||
|
||||
core.info(`Build job is running, `);
|
||||
|
||||
const stackInstance = await CF.describeStackInstance({ StackSetName: stackName }).promise();
|
||||
|
||||
// watching logs
|
||||
const source = new hose.Source({
|
||||
LogGroup: baseResources.StackResources.find((x) => x.LogicalResourceId === 'LogGroup'),
|
||||
aws: { region: stackInstance.StackInstance.Region },
|
||||
});
|
||||
|
||||
source.on('logs', AWS.onlog);
|
||||
|
|
|
|||
Loading…
Reference in New Issue