Add SAML group memberships lock setting to Terraform provider

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Collaborate/take over this issue

Description

The GitLab Terraform provider is missing support for the SAML group memberships lock setting available at the global level in GitLab.

Related Documentation

  • Global SAML Group Memberships Lock

Expected Behavior

Users should be able to configure the SAML group memberships lock setting via Terraform at the global/instance level, similar to other application settings.

Acceptance Criteria

  • Add support for lock_memberships_to_saml or equivalent setting to the Terraform provider
  • Setting should be configurable at the global/instance level
  • Documentation should be updated to reflect the new setting

Implementation Guide

  • Follow the CONTRIBUTING.md guide for setting up your local development environment.
  • Clone the community fork of this project.
  • Add a new attribute called lock_memberships_to_saml to internal/provider/sdk/schema_gitlab_application_settings.go. Look at the existing attribute local_markdown_version to see where it needs to go.
  • Update any relevant tests.
Edited Mar 01, 2026 by Mohamed Mongy
Assignee Loading
Time tracking Loading