This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-08
Channels
- # admin-announcements (3)
- # arachne (1)
- # aws (2)
- # beginners (10)
- # boot (287)
- # cider (5)
- # clara (2)
- # cljs-dev (150)
- # cljsjs (2)
- # clojure (99)
- # clojure-austin (1)
- # clojure-brasil (1)
- # clojure-dev (13)
- # clojure-greece (55)
- # clojure-japan (1)
- # clojure-nl (2)
- # clojure-russia (24)
- # clojure-spec (184)
- # clojure-taiwan (1)
- # clojure-uk (45)
- # clojurescript (55)
- # clojurex (1)
- # cursive (20)
- # datascript (16)
- # datomic (1)
- # devcards (4)
- # events (10)
- # figwheel (1)
- # funcool (7)
- # hoplon (48)
- # immutant (1)
- # jobs (6)
- # lambdaisland (2)
- # lein-figwheel (19)
- # mount (36)
- # off-topic (37)
- # om (16)
- # om-next (17)
- # onyx (29)
- # planck (53)
- # proton (1)
- # pure-frame (1)
- # re-frame (40)
- # reagent (44)
- # remote-jobs (1)
- # ring (2)
- # robots (2)
- # rum (5)
- # slack-help (4)
- # spacemacs (27)
- # specter (82)
- # test-check (18)
- # test200 (1)
- # untangled (17)
Did anyone try to programmatically create record set pointing to the alias (s3) using amazonica? I have following function:
(defn configure-dns [zone-id domain]
(let [resource-record-set
{:name (str domain ".")
:type "A"
;:ttl 60
:alias-target
{
;http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
:hosted-zone-id "Z3AQBSTGFYJSTF"
:evaluate-target-health false
:DNSName ""
}
:resource-records [{:value "val"}]}
changes [{:action "CREATE"
:resource-record-set resource-record-set}]
batch {:changes changes}
request {:hosted-zone-id zone-id
:change-batch batch}]
(route53/change-resource-record-sets request)))
Calling this function gives not super helpful to me error:
errorCode: "InvalidInput"
errorMessage: "Invalid request"
errorType: #object[com.amazonaws.AmazonServiceException$ErrorType 0x4d30c096 "Client"]
requestId: "cae553f0-2d27-11e6-b7d4-a968b96dda55"
retryable: true
serviceName: "AmazonRoute53"
statusCode: 400
All other calls: create hosted zone, create bucket - work for me so farfound a problem. I shouldn’t specify :resource-records [{:value "val"}]}