 ;(create-asgard-params (create-manual-deploy-params (merge (get (exploud.tyranitar/deployment-params "dev" "skeleton" "HEAD") "data") {"imageId" "woooooo" "selectedZones" ["eu-west-1a" "eu-west-1b"] "ticket" "something" "_action_save" ""}) "eu-west-1" "skeleton"))
 ;(auto-scaling-save-url "eu-west-1")
 ;(set/rename-keys {"selectedLoadBalancers" ["beef" "steak"]} {"selectedLoadBalancers" "selectedLoadBalancersForVpcIdvpc-e23232"})
-;(replace-security-group-names {"selectedSecurityGroups" ["woo" "sg-1234"]})
+;(replace-security-group-names "eu-west-1" {"selectedSecurityGroups" ["woo" "sg-1234"]})
+;(security-groups "eu-west-1")

(defn- image-list-url [region application-name]
  (str asgard-url "/" region "/image/list/" application-name ".json"))

(defn application
  "Retrieves information about an application from Asgard"
  [region application-name]

                           "revision" ""
                           "stack" ""
                           "region" region}
        required-params (amend-params region (select-keys params required-keys))]
    (merge additional-params required-params)))

(defn- application-params [application-name]
