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
