Closed lucjanrudziak closed 4 years ago
The default region is hardcoded as 'ap-southeast-2' https://github.com/shinesolutions/ruby_aem_aws/blob/master/lib/ruby_aem_aws/constants.rb#L45
While other constants are read from the ENV values. Maybe the hardcoded value can be the final fallback, if both the config and ENV values are nil?
A perfect solution would be to also try to determine the region via AWS api as a fallback...
Seems like it's solved in this PR: https://github.com/shinesolutions/ruby_aem_aws/pull/28/commits
The default region is hardcoded as 'ap-southeast-2' https://github.com/shinesolutions/ruby_aem_aws/blob/master/lib/ruby_aem_aws/constants.rb#L45
While other constants are read from the ENV values. Maybe the hardcoded value can be the final fallback, if both the config and ENV values are nil?