unbounce / iidy

iidy (Is it done yet?) -- CloudFormation with Confidence
MIT License
52 stars 7 forks source link

Prevent configureAWS from being called multiple times for create-stack #136

Closed jpb closed 6 years ago

jpb commented 6 years ago

Continuing my notes from https://github.com/unbounce/iidy/issues/134#issuecomment-422159676, it appears that loadStackArgs already used argv.region:

https://github.com/unbounce/iidy/blob/7404bc2adf1d41f2ab05affd295163924d9bf0d0/src/cfn/index.ts#L950-L953

This pull requests removes the extra, unnecessary call to configureAWS.

Fixes #134