From f6db68b2e8ae34e7817d3c347b0e60e68d3ac2d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 6 Aug 2024 15:22:41 +0200 Subject: [PATCH] Commit config to the repo --- .gitignore | 3 +-- config/config.exs | 6 ++++++ test/integration_test.exs | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 config/config.exs diff --git a/.gitignore b/.gitignore index 7ebe401..78bfc68 100644 --- a/.gitignore +++ b/.gitignore @@ -27,5 +27,4 @@ req_athena-*.tar # AWS INI files&credentials .env* -/config/*credentials* -/config/*config* +/tmp diff --git a/config/config.exs b/config/config.exs new file mode 100644 index 0000000..5562257 --- /dev/null +++ b/config/config.exs @@ -0,0 +1,6 @@ +import Config + +# Change aws_credentials so it does not affect testing +config :aws_credentials, + credential_providers: [], + fail_if_unavailable: false diff --git a/test/integration_test.exs b/test/integration_test.exs index b62ee30..458de3f 100644 --- a/test/integration_test.exs +++ b/test/integration_test.exs @@ -333,7 +333,7 @@ defmodule IntegrationTest do end describe "with aws_credentials" do - @path Path.expand("./config/") <> "/" + @path Path.expand("./tmp/") <> "/" setup tags do if env = tags[:aws_credentials] do