Skip to content

staticweb-io/cloudformation-templating

Repository files navigation

cloudformation-templating

Clojars Project CljDoc Badge

A library for creating CloudFormation templates.

Importing existing templates

JSON templates can be converted to EDN (or Clojure) using this function:

(require '[cheshire.core :as json]
         '[com.rpl.specter :as sp]
         '[io.staticweb.cloudformation-templating :as ct])

(defn import-from-json [^String s]
  (let [m (json/parse-string s true)]
    (sp/transform (sp/walker ct/invalid-keyword?) ct/full-name m)))

About

A library for creating CloudFormation templates.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published