From 69d595ee11697a95f6285820658fdd0979784b24 Mon Sep 17 00:00:00 2001 From: Ryan Block Date: Thu, 1 Feb 2024 11:50:43 -0800 Subject: [PATCH] Fix aws-lite profile selection --- src/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 52e147e..f23914c 100644 --- a/src/index.js +++ b/src/index.js @@ -82,7 +82,10 @@ module.exports = function destroy (params, callback) { // Instantiate client function (callback) { - awsLite({ region: inventory.inv.aws.region }) + awsLite({ + profile: inventory.inv.aws.profile, + region: inventory.inv.aws.region, + }) .then(_aws => { aws = _aws callback()