Infrahub
Repository config definition for Infrahub by OpsMill
| Type | object |
|---|---|
| File match |
.infrahub.yml
.infrahub.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/infrahub/latest.json |
| Source | https://schema.infrahub.app/python-sdk/repository-config/latest.json |
Validate with Lintel
npx @lintel/lintel check
Properties
User defined checks
Schema files
Jinja2 data transformations
Artifact definitions
Python data transformations
Generator definitions
GraphQL Queries
GraphQL fragment files declared for this repository
Objects
Definitions
The name of the Check Definition
The file within the repository with the check code.
The input parameters required to run this check
The group to target when running this check, leave blank for global checks
The name of the check class to run.
The name of the Generator Definition
The file within the repository with the generator code.
The GraphQL query to use as input.
Name of the CoreStandardGroup whose members become individual Generator targets. One run is created per group member.
Maps GraphQL query variable names to target object attribute paths using double-underscore notation.
The name of the Python class within file_path that extends InfrahubGenerator.
When true, converts the raw GraphQL dict into SDK InfrahubNode objects accessible via self.nodes and self.store.
When true (default), the Generator runs as a CI check during proposed changes.
When true (default), the Generator runs after a branch merge. Set to false for Generators that only run via event triggers.
The name of the transform
The name of the GraphQL Query
The path within the repository of the template file
Description for this transform
The name of the Transform
The file within the repository with the transform code.
The name of the transform class to run.
Decide if the transform should convert the result of the GraphQL query to SDK InfrahubNode objects.
Description for this transform
The name of the artifact definition
The input parameters required to render this artifact
The content type of the rendered artifact
The group to target when creating artifacts
The transformation to use.
Name of the artifact created from this definition
Logical name for this fragment file or directory
Path to a .gql fragment file or a directory of .gql files, relative to repo root
The name of the GraphQL Query
The file within the repository with the query code.