Skip to content

Commit

Permalink
System.get_env("CI_AWS_SECRET_ACCESS_KEY") #67
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jun 14, 2023
1 parent 06a6254 commit e3a2da5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ config :logger, level: :warning
# Initialize plugs at runtime for faster test compilation
config :phoenix, :plug_init_mode, :runtime

# config :ex_aws,
# request_config_override: %{
# # http_client: ExAws.Request.HttpMock,
# # access_key_id: System.fetch_env!("AWS_ACCESS_KEY_ID"),
# # secret_access_key: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
# }
config :ex_aws,
access_key_id: System.get_env("AWS_ACCESS_KEY_ID")
|| System.get_env("CI_AWS_ACCESS_KEY_ID"),
secret_access_key: System.get_env("AWS_SECRET_ACCESS_KEY")
|| System.get_env("CI_AWS_SECRET_ACCESS_KEY"),
region: System.fetch_env!("AWS_REGION"),
request_config_override: %{}

0 comments on commit e3a2da5

Please sign in to comment.