Creating a Jinja Transformation
Within Infrahub a Transformation is defined in an external repository. However, during development and troubleshooting it is easiest to start from your local computer and run the render using infrahubctl renderinfrahubctl/infrahubctl-render).
Creating a Python Transformation
Within Infrahub a Transformation is defined in an external repository. However, during development and troubleshooting it is easiest to start from your local computer and run the Transformation using infrahubctl transforminfrahubctl/infrahubctl-transform).
How to generate configuration artifacts from Jinja2 templates
Generate configuration files and other artifacts by combining Infrahub data with templates. This guide shows you how to create artifacts that automatically update when your infrastructure data changes.
Composing artifact content
This guide shows you how to build a composite artifact whose Transformation pulls in content from other artifacts or file objects. This enables modular configuration pipelines where each artifact generates one section of a configuration, and a composite artifact assembles the final result.
Using GraphQL fragments
GraphQL fragments allow you to define reusable field selections that can be shared across multiple queries. Instead of duplicating the same field selections in every query, define them once as a fragment and reference them with standard GraphQL spread syntax (...fragmentName).
Using the object-storage
In this guide we will be showing you how you can store and retrieve objects or files in Infrahub's object-storage.