From fa7ae6cb47cfce9e4c866569f21d10e714f7bf8b Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Tue, 5 May 2020 19:29:52 +0200 Subject: [PATCH] Fix log --- src/ec2-facade.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ec2-facade.ts b/src/ec2-facade.ts index 19e7443..752c593 100644 --- a/src/ec2-facade.ts +++ b/src/ec2-facade.ts @@ -44,7 +44,7 @@ export class EC2Facade { if (!id) { throw Error('InstanceId is missing'); } - console.log(`Creating tags for ec2: ${instance}: ${JSON.stringify(tags)}`); + console.log(`Creating tags for ec2: ${id}: ${JSON.stringify(tags)}`); return this.createTags({ Resources: [id], Tags: tags, @@ -56,7 +56,7 @@ export class EC2Facade { if (!id) { throw Error('InstanceId is missing'); } - console.log(`Deleting tags for ec2: ${instance}: ${JSON.stringify(tags)}`); + console.log(`Deleting tags for ec2: ${id}: ${JSON.stringify(tags)}`); return this.deleteTags({ Resources: [id], Tags: tags,