> Index of every page on this site: [llms.txt](https://docs.a-line.cloud/llms.txt)

# Environment file

> One environment.

Schema definition: `EnvironmentFile`.

## Example

A minimal `environments/<name>.yaml`:

```yaml title="environments/production.yaml" iac
# yaml-language-server: $schema=https://a-line.cloud/schemas/iac/v1.json
version: 1
```

## Fields

### `name`

Type: `string`, optional, default `""`.

Optional: defaults to the file name, and must match it when set.

### `version`

Type: [`SchemaVersion`](/iac/reference/types#schemaversion), required.

The IaC schema version this file is written for.
