Skip to content

Commit e521ecf

Browse files
ning-yindocomsoft
authored andcommitted
Fix distillery compilation errors (#209)
* Move instance_role as the first auth to try * Add ex_utils, memento to rel/config applications
1 parent 750fa7a commit e521ecf

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

config/config.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ config :logger, :console,
3535

3636
# Configure ExAWS
3737
config :ex_aws,
38-
access_key_id: [{:system, "AWS_ACCESS_KEY_ID"}, {:awscli, "default", 30}, :instance_role],
38+
access_key_id: [:instance_role, {:system, "AWS_ACCESS_KEY_ID"}, {:awscli, "default", 30}],
3939
secret_access_key: [
40+
:instance_role,
4041
{:system, "AWS_SECRET_ACCESS_KEY"},
41-
{:awscli, "default", 30},
42-
:instance_role
42+
{:awscli, "default", 30}
4343
],
4444
region: "ap-southeast-1"
4545

rel/config.exs

+1-3
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ end
4646

4747
release :cadet do
4848
set version: current_version(:cadet)
49-
set applications: [
50-
:runtime_tools
51-
]
49+
set applications: [:runtime_tools, :ex_utils, :memento]
5250
end
5351

0 commit comments

Comments
 (0)