ex-aws / ex_aws

A flexible, easy to use set of clients AWS APIs for Elixir
https://hex.pm/packages/ex_aws
MIT License
1.29k stars 529 forks source link

moar envs! #39

Closed jschoch closed 9 years ago

jschoch commented 9 years ago

i'd like to use MIX_ENV=gamma or others. It currently fails with

 21) test sort works (OuteTest)
     test/backends_test.exs:125
     ** (FunctionClauseError) no function clause matching in ExAws.Config.Defaul
ts.defaults/1
     stacktrace:
       lib/ex_aws/config/defaults.ex:10: ExAws.Config.Defaults.defaults(:gamma)
       lib/ex_aws/config/defaults.ex:4: ExAws.Config.Defaults.defaults/0
       lib/ex_aws/config.ex:26: ExAws.Config.get/1
       lib/ex_aws/config.ex:14: ExAws.Config.build/2
       lib/ex_aws/dynamo.ex:2: ExAws.Dynamo.delete_table/1
       test/backends_test.exs:12: OuteTest.__ex_unit_setup_0/1
       test/backends_test.exs:1: OuteTest.__ex_unit__/2
benwilson512 commented 9 years ago

Should be fixed in master.