Skip to content

Encode production GitLab ApplicationSettings in Terraform - #1439

Merged
mvandenburgh merged 7 commits into
mainfrom
gitlab-application-settings
Aug 28, 2026
Merged

Encode production GitLab ApplicationSettings in Terraform#1439
mvandenburgh merged 7 commits into
mainfrom
gitlab-application-settings

Conversation

@mvandenburgh

Copy link
Copy Markdown
Member

Adds a gitlab_application_settings resource to the spack_gitlab module with all instance settings (at least, those supported by the current GitLab TF provider) captured from production GitLab.

This PR is intentionally verbose and includes all application settings that exist in our database that are supported by the GitLab TF provider. The idea is to capture these now, use them to stand up the new staging instance, and then we can pare away the settings we don't care about tracking in Terraform.

@mvandenburgh
mvandenburgh force-pushed the gitlab-application-settings branch from 5213170 to 5cf425f Compare August 14, 2026 16:44
@mvandenburgh
mvandenburgh marked this pull request as ready for review August 14, 2026 16:44
@mvandenburgh
mvandenburgh requested a review from jjnesbitt August 14, 2026 16:46
@mvandenburgh

Copy link
Copy Markdown
Member Author

Note, some of the settings that are really important for spack, max_yaml_size_bytes and max_yaml_depth, aren't supported by the Terraform provider. I made an MR to add them, and it was merged and will be released in the next version. So, I'll make an issue to remember to set those when it's out (looks like it could be next Thursday)

Comment thread terraform/modules/spack_gitlab/application_settings.tf
@jjnesbitt

Copy link
Copy Markdown
Collaborator

FYI @mvandenburgh I was getting an error that seemed to be due to new resources. I bumped the gitlab provider version to match our prod gitlab version.

@jjnesbitt
jjnesbitt force-pushed the gitlab-application-settings branch 2 times, most recently from 2b2f53c to 56875bb Compare August 26, 2026 16:28
mvandenburgh and others added 7 commits August 28, 2026 14:18
Adds a gitlab_application_settings resource to the spack_gitlab module
with all instance settings captured from production GitLab (237
attributes supported by provider 17.6.1).
One-sentence descriptions taken from the gitlab provider 17.6.1
documentation for the gitlab_application_settings resource.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jjnesbitt
jjnesbitt force-pushed the gitlab-application-settings branch from bcf0570 to b95b5e1 Compare August 28, 2026 18:19
@mvandenburgh
mvandenburgh merged commit 95075a5 into main Aug 28, 2026
5 checks passed
@mvandenburgh
mvandenburgh deleted the gitlab-application-settings branch August 28, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants