Skip to content

Add Terraform state size limit to admin UI

Tiger Watson requested to merge add-tf-state-limit-setting-to-admin-ui into master

What does this MR do and why?

Adds a "Terraform limits" section to admin -> settings -> preferences, with a field for the new max_terraform_state_size_bytes setting.

Note: must be merged after !106269 (merged), otherwise changing the setting will have no effect.

Screenshots or screen recordings

Screen_Shot_2022-12-09_at_2.21.25_pm

Screen_Shot_2022-12-09_at_2.45.09_pm

How to set up and validate locally

  1. Vist /admin/application_settings/preferences
  2. Expand "Terraform limits" and update the max file size setting

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

https://gitlab.com/gitlab-org/gitlab/-/issues/352951

Edited by Tiger Watson

Merge request reports