                   cluster-unique
                   {:image_id current-coreos-ami
                    :instance_type "m4.large"
-                   :sgs (mapv cluster-unique ["public-slave-security-group"])
+                   :sgs [(cluster-unique "public-slave-security-group")
+                         (vpc-unique "sends_gelf")]
                    :role (cluster-unique "slave-role")
                    :public_ip true
                    :tags {:Key "role"

                  cluster-unique
                  {:image_id current-coreos-ami
                   :instance_type "m4.large"
                   :sgs (mapv cluster-unique ["slave-security-group"])
                   :role (cluster-unique "slave-role")
                   :tags {:Key "role"
                          :PropagateAtLaunch "true"

           max-number-of-public-slaves]}]
  (let [public-subnets (mapv #(id-of "aws_subnet" (stringify  vpc-name "-public-" %)) azs)
        private-subnets (mapv #(id-of "aws_subnet" (stringify vpc-name "-private-" %)) azs)
        vpc-unique (fn [name] (str vpc-name "-" name))
        cluster-identifier (str vpc-name "-" cluster-name)
        cluster-unique (fn [name] (str cluster-identifier "-" name))
        cluster-resource (partial resource cluster-unique)
