Skip to content

Commit fa7ae6c

Browse files
committed
Fix log
1 parent e4215e2 commit fa7ae6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ec2-facade.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class EC2Facade {
4444
if (!id) {
4545
throw Error('InstanceId is missing');
4646
}
47-
console.log(`Creating tags for ec2: ${instance}: ${JSON.stringify(tags)}`);
47+
console.log(`Creating tags for ec2: ${id}: ${JSON.stringify(tags)}`);
4848
return this.createTags({
4949
Resources: [id],
5050
Tags: tags,
@@ -56,7 +56,7 @@ export class EC2Facade {
5656
if (!id) {
5757
throw Error('InstanceId is missing');
5858
}
59-
console.log(`Deleting tags for ec2: ${instance}: ${JSON.stringify(tags)}`);
59+
console.log(`Deleting tags for ec2: ${id}: ${JSON.stringify(tags)}`);
6060
return this.deleteTags({
6161
Resources: [id],
6262
Tags: tags,

0 commit comments

Comments
 (0)