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:

  1. On the top bar, select Main menu > Admin.
  2. On the left sidebar, select Settings > Preferences.
  3. Expand Terraform limits.
  4. 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.