This PR fixes an issue were when creating an ec2 client, a boto exception would occur because no region was passed in. Since we are already getting a region from the config, using this fixes the issue.
On top of that, the existing way we were using config.get('aws', 'region') all over the place didn't make sense. So now we initialize it and use it accordingly.
This PR fixes an issue were when creating an ec2 client, a boto exception would occur because no region was passed in. Since we are already getting a region from the config, using this fixes the issue.
On top of that, the existing way we were using config.get('aws', 'region') all over the place didn't make sense. So now we initialize it and use it accordingly.