Terraform limits
Introduced in GitLab 15.7.
You can limit the total storage of Terraform state files. The limit applies to each individual state file version, and is checked whenever a new version is created.
To add a storage limit:
- On the top bar, select Main menu > Admin.
- On the left sidebar, select Settings > Preferences.
- Expand Terraform limits.
- Adjust the size limit.
Available settings
Setting | Default | Description |
---|---|---|
Terraform state size limit (bytes) | 0 | Terraform state files that exceed this size are not saved, and associated Terraform operations are rejected. Set to 0 to allow files of unlimited size. |