ex_aws icon indicating copy to clipboard operation
ex_aws copied to clipboard

Retrieve runtime value for region

Open imranismail opened this issue 7 years ago • 1 comments

{:system, "AWS_DEFAULT_REGION"} wont work because this line of code doesn't retrieve the runtime value.

https://github.com/ex-aws/ex_aws/blob/59f5dea825f92b89051db8f8308bb8a9568de444/lib/ex_aws/config.ex#L37

Suggested fix:

region = retrieve_runtime_value(region, nil)

If this is right, let me know and I'll open a PR

imranismail avatar Nov 15 '17 06:11 imranismail

Related to the discussion at https://github.com/ex-aws/ex_aws/issues/365

joffotron avatar Nov 24 '17 01:11 joffotron