seagull-js / seagull-cli

The best way to start, develop and deploy Seagull Apps.
https://seagull-js.github.io/seagull-cli/
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Profile loading: using the SDK #31

Closed Anonyfox closed 6 years ago

Anonyfox commented 6 years ago

seems that there is a configuration loader right in the JS SDK:

var credentials = new AWS.SharedIniFileCredentials({profile: 'work-account'});
AWS.config.credentials = credentials;

If this works, the custom INI file parser used in the deploy command might be simplified