fix dir creation for aws credentials
This commit is contained in:
parent
c4ce3cd275
commit
2b2f2294ae
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
(defn-spec create-aws-credentials! nil?
|
||||
[config ::aws-config]
|
||||
(let [{:keys [aws-access-key-id aws-secret-access-key]} config]
|
||||
(i/execute! [["mkdir" "/root/.aws"]] {})
|
||||
(i/execute! [["mkdir" "-p" "/root/.aws"]] {})
|
||||
(spit "/root/.aws/credentials"
|
||||
(str "[default]\n"
|
||||
"aws_access_key_id=" aws-access-key-id "\n"
|
||||
|
|
Loading…
Reference in a new issue