Skip to content

Commit

Permalink
Fix aws-lite profile selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Feb 1, 2024
1 parent 08eb955 commit 69d595e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 69d595e

Please sign in to comment.