Log non resource blocking errors

pull/263/head
Frostebite 2021-05-22 19:32:23 +00:00 committed by GitHub
parent bb7553d711
commit a6d3837ba2
3 changed files with 498 additions and 498 deletions

988
dist/index.js vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -53,7 +53,7 @@ class AWSBuildEnvironment {
return `
${p1}Secret:
Type: AWS::SecretsManager::Secret
Properties:
Properties:
Name: !Join [ "", [ '${p1}', !Ref BUILDID ] ]
SecretString: !Ref ${p1}
`;
@ -210,10 +210,10 @@ class AWSBuildEnvironment {
taskDefCloudFormation: string,
secrets: RemoteBuilderSecret[],
) {
const events = (await CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
const resources = (await CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
core.info(JSON.stringify(secrets, undefined, 4));
core.info(taskDefCloudFormation);
const events = (await CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
const resources = (await CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
core.info(JSON.stringify(events, undefined, 4));
core.info(JSON.stringify(resources, undefined, 4));
core.error(error);