Advertisement
Guest User

Untitled

a guest
Oct 18th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn get-environment-variables [elb-enviroment]
  2.   (-> elb-enviroment
  3.       (select-keys [:application-name :environment-name])
  4.       describe-configuration-settings
  5.       :configuration-settings
  6.       (get 0)
  7.       :option-settings
  8.       option-settings->environment-variables
  9.       parse-environment-variables
  10.       #(if (contains? % "HOTEL_SUPPLY_SERVICE_URL") %
  11.            (assoc % "HOTEL_SUPPLY_SERVICE_URL" default-hss-env))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement