Add ci_forward_deployment_rollback_allowed to gitlab_project
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Summary
Generated by GitLab Duo
This change adds support for the existing GitLab CI/CD feature called "ci_forward_deployment_rollback_allowed" to the Terraform GitLab provider. This setting allows job retries even when a deployment job is outdated.
The implementation adds this new boolean field to both the project resource and projects data source, including proper documentation, schema definitions, and handling in the code that maps between Terraform state and GitLab API objects.
The change also includes test updates to verify the new functionality works correctly. This feature appears to be related to the existing "ci_forward_deployment_enabled" setting and provides more flexibility in GitLab's deployment pipeline behavior.
Related issue: #6527 (closed)