From 5e6023ba22ae7442c79d6713e3b69d24c52cd92f Mon Sep 17 00:00:00 2001 From: Ryan Block Date: Thu, 1 Feb 2024 11:46:07 -0800 Subject: [PATCH] Fix aws-lite profile selection --- src/env/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/env/index.js b/src/env/index.js index 4c9d2fc..f408c9d 100644 --- a/src/env/index.js +++ b/src/env/index.js @@ -10,12 +10,12 @@ module.exports = function env (params, inventory, callback) { let aws let name = inventory.app - let { region } = inventory.aws + let { profile, region } = inventory.aws let result = [] // eslint-disable-next-line let awsLite = require('@aws-lite/client') /* istanbul ignore next */ - awsLite({ region }).then(_aws => { + awsLite({ profile, region }).then(_aws => { aws = _aws // Perform the query