($ 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.
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.
(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.
(generate)
Walks trhough all the namespaces in memory, finds the vars marked with ^:terraform and generates Terraform-compatible configuration files at
terraform/`.
Walks trhough all the namespaces in memory, finds the vars marked with `^:terraform and generates Terraform-compatible configuration files at `terraform/`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close