https://github.com/andrein/terraform-provider-jsonnet
Terraform jsonnet datasource
https://github.com/andrein/terraform-provider-jsonnet
jsonnet terraform terraform-provider
Last synced: 5 months ago
JSON representation
Terraform jsonnet datasource
- Host: GitHub
- URL: https://github.com/andrein/terraform-provider-jsonnet
- Owner: andrein
- License: mit
- Created: 2020-05-03T17:16:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-27T23:04:32.000Z (over 3 years ago)
- Last Synced: 2024-11-16T02:20:36.627Z (over 1 year ago)
- Topics: jsonnet, terraform, terraform-provider
- Language: Go
- Homepage:
- Size: 14.7 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-jsonnet
Render Jsonnet templates in terraform.
## Example
```hcl-terraform
data "jsonnet_template" "pipeline" {
jsonnet = file("pipeline.jsonnet")
jpath = [
"vendor"
]
}
output "rendered_json" {
value = data.jsonnet_template.pipeline.json
}
```
## Installation
#### Build from source
```shell script
$ git clone https://github.com/andrein/terraform-provider-jsonnet.git
$ make install
```
#### Use released binaries
Download the latest [release](https://github.com/andrein/terraform-provider-jsonnet/releases/) to `~/.terraform.d/plugins`. See the [terraform documentation](https://www.terraform.io/docs/configuration/providers.html#third-party-plugins) for more details.