> ## 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.

# VCS environments in workflows

> Define workflow sub-environments inline using the vcs field in workflow YAML, specifying repository, path, and IaC type without pre-creating env zero templates.

env zero now supports a new workflow environment format that eliminates the need to create templates as prerequisites. All fields can be defined directly within the workflow, similar to VCS environments.

# New vcs format

The new format adds`vcs` (which conflict with the existing `templateName`) which allows the customer fewer prerequisites work by inserting all the required information directly in the workflow file itself.

```yaml Example theme={null}
Environments:
 Vpc:
 Name: 'VPC and Network'
 TemplateName: 'VPC'
 Db:
 Name: DB
 TemplateName: 'DB'
 Needs:
 - vpc
 Eks:
 Name: EKS
 Vcs:
 Type: 'terraform'
 TerraformVersion: 'latest'
 Repository: 'https://github.com/env0/templates'
 Path: 'aws/hello-world'
 GithubInstallationId: 123456789.00
 Needs:
 - vpc
```

Read in depth in our [docs](/guides/admin-guide/workflows/create-a-new-workflow)
