A production app’s infrastructure consists of many different resources. As those resources grow, managing and deploying them requires more thought and effort. We tend to look at managing resources as we do with code - split them into smaller manageable pieces (env zero Environments) where each piece is cohesive and loosely coupled. In theory, this textbook solution sounds great because each environment is independent and can be deployed at any time, but in the real world, we have dependencies - deploying all those env zero Environments simultaneously is impractical.Documentation Index
Fetch the complete documentation index at: https://docs.envzero.com/llms.txt
Use this file to discover all available pages before exploring further.
Basic Dependency ExampleEnvironment “Network and VPC” manages all necessary network configuration.\
Environment “DB” manages a database that multiple services use. Environment “EKS” manages the Elastic Kubernetes Service onto which pods of services will be deployed. Environments “Billing Service”, “Configuration Service” and “Notification Service” all manage the deployments of services on EKS. Those services need access to the database. For this use case:
Environment “DB” depends on the VPC from the “Network and VPC” IaC stack. Environment “EKS” also depends on the VPC from the “Network and VPC” IaC stack. All service environments depend on DB, and EKS. As can be seen, the dependencies make it impossible for all the Environments to be deployed simultaneously. And of course, as the resources and environments grow the complexity of the dependencies will increase.
Here come env zero Workflows to the rescue!
env zero Workflows allow deploying many env zero Environments with complex dependencies between them as a single unit.env zero Workflow benefits
- Manage your entire infrastructure with complex dependencies between Environments
- Visual presentation of the complex deployment
- Each environment can use a different IaC tool - one environment can be managed by Terraform while another is managed by Kubernetes
- Enhanced experience from all surrounding env zero features such as Policies, Custom flows, Drift Detection and Continuous Deployment
- name: Will be displayed in the workflow graph
- templateName: A name of a pre-defined Template to deploy
- needs (optional): An array of sub environments which all must be successfully deployed before this sub environment can start deploying
- Create a new Template and select env zero Workflow as the Template Type


- Create an Environment based on the Workflow template
- Deploy
