This diff introduces changes to the getAWSRegion() function to parse ~/.aws/credentials for a region parameter to omit using second config ~/.aws/config. The function uses a same approach as a ConfigManager.
The full context is available in ENG-742 task.