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 67ba0e7 commit 5e6023b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/env/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e6023b

Please sign in to comment.