Thank you for your interest in contributing to the GitLab Groups Terraform module! We welcome contributions that help improve the module's functionality, documentation, and examples.
Before making changes, please:
- Open an issue to discuss your proposed changes
- Fork the repository and create a feature branch
- Ensure you have Terraform >= 1.3.0 installed
- Have access to a GitLab instance for testing
# Clone your fork
git clone https://github.com/YOUR_USERNAME/terraform-gitlab-groups
cd tf-gitlab-groups
# Create a feature branch
git checkout -b feat/your-feature-name
# Test the module
cd examples
terraform init
terraform plan- Update Documentation: Ensure
README.mdreflects any changes to variables, outputs, or usage examples - Test Changes: Verify your changes work with both basic and complex group configurations
- Update Examples: Add or modify examples in the
examples/directory if relevant - Version Updates: Update
CHANGELOG.mdwith your changes - Run Validation: Ensure
terraform validateandterraform fmtpass
- Semantic commit messages (see below)
- Documentation updated for any variable/output changes
- Examples updated if functionality changes
- Terraform validation passes (
terraform validate) - Code formatting applied (
terraform fmt) - GitLab group features tested against live GitLab instance
Use conventional commit format:
feat:- New features or GitLab group capabilitiesfix:- Bug fixesdocs:- Documentation and example updatesrefactor:- Code restructuring without feature changestest:- Testing improvementschore:- Maintenance tasks
- Test against GitLab CE/EE (specify which version)
- Verify nested group structures work correctly
- Test security features (2FA, IP restrictions, etc.)
- Ensure examples in
examples/directory are functional
Open an issue for discussion or reach out to the maintainers. We appreciate your contributions!