bustle / shep

A framework for building JavaScript Applications with AWS API Gateway and Lambda
MIT License
378 stars 27 forks source link

Refactor setting region for AWS api #257

Closed chris-olszewski closed 7 years ago

chris-olszewski commented 7 years ago

We were doing a bunch of AWS.config.update({ region: region }) in a ton of different places and including in some of the command parsers. This meant that when trying to use shep pragmatically and not as a cli some of the functions didn't work. Didn't touch iam.js since those api calls don't need a region.

Really just want to be able to call shep.configList and get back an object of an environment