From 2954bd9bca53e5945fe5045ea9136e45f3690b38 Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Mon, 27 Nov 2023 21:42:30 -0800 Subject: [PATCH] - Fix compilation --- packages/aws/src/clients/cloudformation.client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/aws/src/clients/cloudformation.client.ts b/packages/aws/src/clients/cloudformation.client.ts index c2d466f38..1d9f9f852 100644 --- a/packages/aws/src/clients/cloudformation.client.ts +++ b/packages/aws/src/clients/cloudformation.client.ts @@ -104,7 +104,7 @@ export class CloudformationClient implements CloudformationClientInterface { } return response.Stacks[0]; } catch (e) { - this.logHandler.error("Error getting stack description from cloudformation", {error: e, input}, AwsModuleKeyname); + this.logHandler.error("Error getting stack description from cloudformation", {error: e, stackName}, AwsModuleKeyname); if (e.message.match("(.*)" + stackName + "(.*)does not exist(.*)")) { return undefined; } else { @@ -124,7 +124,7 @@ export class CloudformationClient implements CloudformationClientInterface { const response: DescribeStacksCommandOutput = await this.getClient().send(command); return response.Stacks ?? []; } catch (e) { - this.logHandler.error("Error getting stack description from cloudformation", {error: e, input}, AwsModuleKeyname); + this.logHandler.error("Error getting stack description from cloudformation", {error: e}, AwsModuleKeyname); throw e; } } @@ -268,7 +268,7 @@ export class CloudformationClient implements CloudformationClientInterface { this.logHandler.debug("CLOUDFORMATION CLIENT - List Change Sets", {input}, AwsModuleKeyname); const command = new ListChangeSetsCommand(input) try { - const response = await this.getClient().send(command); + const response = await this.getClient().send(input); this.logHandler.debug("CLOUDFORMATION CLIENT - List Change set Response", {input, response}, AwsModuleKeyname)