Skip to content

Commit

Permalink
role is option in wrapper cli script
Browse files Browse the repository at this point in the history
  • Loading branch information
icylisper committed Jun 11, 2020
1 parent 8ee000a commit a665cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/saw/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

(defn -main [& args]
(let [[profile region role mfa] args
role (or role (System/getenv "AWS_MFA_ARN"))
provider {:provider :profile
:profile (keyword profile)
:region region}]
Expand Down

0 comments on commit a665cdd

Please sign in to comment.