This plugin for Backstage enables creating and managing cloud environments using env0. By integrating env0’s Infrastructure as Code (IaC) management platform, it provides tools for deploying and managing infrastructure directly within Backstage.
The plugin repository consists of two complementary plugins:
- env0 Scaffolder Backend Module - Defines two custom actions:
env0:environment:create
: Create a new env0 environment.env0:environment:redeploy
: Redeploy an existing env0 environment.
- env0 Plugin - Provides the UI components to:
- Create and redeploy env0 environments
- View deployment history
- Monitor the current status of environments
For more information, see:
- Create a new organization API key in your env0 organization (docs).
- Required permissions are:
Run Applies
View Organization
View Project
(for the relevant projects)
- Required permissions are:
- Set the
ENV0_ACCESS_TOKEN
environment variable to the API key.
Please check the official env0 examples in the examples folder.