With env0, you can keep your development organization's best practices for managing and executing Infrastructure as Code. Today we are happy to announce that we developed Plugins to make software development lifecycle tools and processes easier to integrate.
This is an opt-in feature
In order to use a plugin in your env0.yaml file, you need to set its version to 2. If you wish to change an existing env0.yaml file to version 2, please follow the migration guide
Using env0 plugins is done via your env0.yaml file. This is an example of how to use the OPA plugin:
- name: OPA
flags: --fail --format=raw
You can also quickly create an env0 plugin of your own. To get started:
- Open a new public Git repository.
- Create an env0.plugin.yaml file that describes and configures your plugin's execution runtime and required inputs.
- Use it in your env0.yaml file.
If you'd like to enable this feature on your self-hosted agent, please update to the latest version.