Liking cljdoc? Tell your friends :D

terra.core


$cljmacro

($ form)

This macro simulates the ${} of Terraform. It's a convenience macro to make the code feel more like clojure and avoid the string interpolations from HCL.

This macro simulates the `${}` of Terraform. It's a convenience macro to make the code
feel more like clojure and avoid the string interpolations from HCL.
sourceraw docstring

$formcljmultimethod

Dispatcher for each form in the $ macro. It receives the form and any args sent to it. It uses the class of the form on the dispatching function.

Dispatcher for each form in the `$` macro. It receives the form and any args sent to it.
It uses the `class` of the form on the dispatching function.
sourceraw docstring

defterracljmacro

(defterra name# form)

Used to specify which var(s) will be generated as terraform configurations. This macro simply wraps a def with a meta ^:terraform. If you prefer, that a perfectly acceptable way to mark vars down for terraform generation.

Used to specify which var(s) will be generated as terraform configurations.
This macro simply wraps a `def` with a meta `^:terraform`. If you prefer,
that a perfectly acceptable way to mark vars down for terraform generation.
sourceraw docstring

generateclj

(generate)

Walks trhough all the namespaces in memory, finds the vars marked with ^:terraform and generates Terraform-compatible configuration files atterraform/`.

Walks trhough all the namespaces in memory, finds the vars marked with `^:terraform and
generates Terraform-compatible configuration files at `terraform/`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close