Terraform provider for generating JSON documents with CUE.
The documentation for the CUE provider is available on the Terraform Registry.
The following table displays the CUE version the provider uses.
Terraform Provider | CUE |
---|---|
v0.2.0 | v0.4.3 |
v0.1.0 | v0.4.1 |
To build the provider, you'll need to clone the repository and execute the Go
install
command from inside the repository's directory.
go install
The provider can be used by adding it to the provider requirements.
terraform {
required_providers {
cue = {
source = "xinau/cue"
}
}
}
If you wish to use a local provider binary instead, it will need to added to the development overrides.
provider_installation {
dev_overrides {
"xinau/cue" = "/home/developer/go/bin/terraform-provider-cue"
}
direct {}
}
If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).
To compile the provider, run go install
. This will build the provider and put
the provider binary in the $GOPATH/bin
directory.
To generate or update documentation, run go generate
.
This project is under MPL-2.0 license.