Skip to content

Watt TF Build GitHub Action

Watt TF provides a GitHub Action to streamline the process of building your Watt TF blueprints directly from your GitHub repository.

You can find the GitHub Action in the GitHub Marketplace or in its official repository.

Inputs

NameDescriptionRequiredDefault
versionThe version of Watt TF to use (e.g. latest or v1.0.0)false'latest'
inputThe input file as JSON or YAMLtrue
blueprintThe blueprint with the transformation rulestrue
outputWhere should Watt TF put the .tf.json resulttrue
schemaOptional JSON schema file for input validationfalse
strictRun Watt TF build in strict modefalse'false'
stripNullsRun Watt TF build with strip-nulls flagfalse'false'

Example Usage

yaml
  uses: devsebastianops/watt-tf-build-action@v1
  with:
    version: 'latest'
    input: '/path/to/input.json'
    blueprint: '/path/to/blueprint.yaml'
    output: '/path/to/output.tf.json'
    strict: 'true'
    stripNulls: 'true'