Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 713 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 713 Bytes

terraform-provider-jsonnet

Render Jsonnet templates in terraform.

Example

data "jsonnet_template" "pipeline" {
  jsonnet = file("pipeline.jsonnet")
  jpath = [
    "vendor"
  ]
}

output "rendered_json" {
  value = data.jsonnet_template.pipeline.json
}

Installation

Build from source

$ git clone https://github.com/andrein/terraform-provider-jsonnet.git
$ make install

Use released binaries

Download the latest release to ~/.terraform.d/plugins. See the terraform documentation for more details.