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

# Infrastructure file

> Cluster infrastructure definition.

Schema definition: `InfrastructureFile`.

## Example

A minimal `infrastructure.yaml`:

```yaml title="infrastructure.yaml" iac
# yaml-language-server: $schema=https://a-line.cloud/schemas/iac/v1.json
version: 1
name: hetzner-fsn1
provider: hetzner
region: fsn1
```

## Fields

### `labels`

Type: map of `string`, optional.

Cluster-level labels.

### `load_balancers`

Type: list of [`LoadBalancerSpec`](/iac/reference/types#loadbalancerspec), optional.

Load balancer definitions.

### `name`

Type: `string`, required.

Cluster name (must be unique within tenant).

### `pools`

Type: list of [`PoolSpec`](/iac/reference/types#poolspec), optional, default `[]`.

Node pool definitions.

### `provider`

Type: `string`, required.

Cloud provider slug (e.g. "hetzner", "ovh", "libvirt").

### `region`

Type: `string`, required.

Region slug (e.g. "fsn1", "nbg1").

### `version`

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

The IaC schema version this file is written for.
