This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-18
Channels
- # aleph (1)
- # announcements (2)
- # aws (4)
- # beginners (73)
- # boot (2)
- # boot-dev (3)
- # cider (6)
- # cljs-dev (40)
- # clojure (64)
- # clojure-austin (2)
- # clojure-belgium (1)
- # clojure-dev (25)
- # clojure-estonia (1)
- # clojure-europe (16)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-spec (90)
- # clojure-sweden (2)
- # clojure-uk (105)
- # clojurescript (58)
- # core-async (10)
- # cursive (23)
- # data-science (1)
- # datascript (3)
- # datomic (14)
- # duct (11)
- # fulcro (48)
- # graphql (1)
- # hyperfiddle (3)
- # kaocha (95)
- # liberator (1)
- # lumo (6)
- # nrepl (1)
- # off-topic (14)
- # onyx (2)
- # overtone (8)
- # portkey (3)
- # re-frame (31)
- # reagent (6)
- # shadow-cljs (185)
- # sql (12)
- # tools-deps (6)
- # vim (6)
- # yada (224)
Hi everyone, I hope you are well. I am using the new Cognitect AWS-SDK, I would like to filter on running machines from a specific auto scaling group. The scaling group is stored as a tag on the EC2 machine This is what I have so far, could anyone nudge me in the right direction?
(def aws-ec2 (aws/client {:api :ec2}))
(aws/invoke aws-ec2 {:op :DescribeInstances :Filter [{:State "running"}]})
I have not included the tag in the example as I am trying to work out how to structure the codeyou should structure the filters according to this: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html