Skip to content

Instantly share code, notes, and snippets.

@jacobstr
Created March 8, 2019 00:31
Show Gist options
  • Save jacobstr/6494a9a1bb3cf03ac68c8dff6177954d to your computer and use it in GitHub Desktop.
Save jacobstr/6494a9a1bb3cf03ac68c8dff6177954d to your computer and use it in GitHub Desktop.
kapitan:
vars:
target: ${name}
compile:
# tf files
- output_path: terraform
output_type: json
input_paths:
- templates/terraform/main.jsonnet
input_type: jsonnet
# tf modules
- output_path: terraform/modules/$SUBDIRNAME/
output_type: json
input_paths:
- templates/terraform/modules/*
input_type: jsonnet
# wrapper scripts
- output_path: scripts
input_type: jinja2
input_paths:
- templates/scripts/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment