v3.0.0
BREAKING CHANGES:
- Resource
gitlab_project_push_ruleshas been removed. You now instead specify project push rules using thepush_rulesattribute on thegitlab_projectresource. - The
shared_with_groupsattribute has been removed from thegitlab_projectresource (but not the data source). You may use thegitlab_project_share_groupresource instead.
NOTES:
- If you are using the
environment_scopeattribute ofgitlab_project_variableto manage multiple variables with the same key, it is recommended to use GitLab 13.4+. See this related GitLab issue for older versions. - The ID format of the
gitlab_project_variableresource changed. The upgrade should be automatic. - The default value of the
gitlab_project_variableresource'senvironment_scopeattribute has changed from0to*.
FEATURES:
- New Data Source:
gitlab_group_membership(#264) - New Resource:
gitlab_instance_cluster(#367) - New Resource:
gitlab_project_level_mr_approvals(#356) - New Resource:
gitlab_project_mirror(#358) - New Resource:
gitlab_service_pipelines_email(#375)
ENHANCEMENTS:
- data-source/gitlab_project: New attributes
packages_enabled,path_with_namespaceandpush_rules(#405, #403, #422) - resource/gitlab_branch_protection: New
code_owner_approval_requiredattribute (#380) - resource/gitlab_project: New attributes
packages_enabled,path_with_namespace, andpush_rules(#405, #403, #422) - resource/gitlab_group: New attributes
share_with_group_lock,project_creation_level,auto_devops_enabled,emails_disabled,mentions_disabled,subgroup_creation_level,require_two_factor_authentication, andtwo_factor_grace_period(#362) - resource/gitlab_group: Automatically detect removal (#267)
- resource/gitlab_group_label: Can now be imported (#339)
- resource/gitlab_project: New
import_urlattribute (#381) - resource/gitlab_project_push_rules: Can now be imported (#360)
- resource/gitlab_project_variable: Better error message when a masked variable fails validation (#371)
- resource/gitlab_project_variable: Automatically detect removal (#409)
- resource/gitlab_service_jira: Automatically detect removal (#337)
- resource/gitlab_user: The
emailattribute can be changed without forcing recreation (#261) - resource/gitlab_user: Require either the
passwordorreset_passwordattribute to be set (#262)
BUG FIXES:
- resource/gitlab_pipeline_schedule: Fix a rare error during deletion (#364)
- resource/gitlab_pipeline_schedule_variable: Fix a rare error during deletion (#364)
- resource/gitlab_project: Fix the
default_branchattribute changing tonullafter first apply (#343) - resource/gitlab_project_share_group: Fix the
access_levelattribute not updating (#421) - resource/gitlab_project_share_group: Fix the share not working if the project is also managed (#421)
- resource/gitlab_project_variable: Fix inconsistent reads for variables with non-unique keys (#409)
- resource/gitlab_project_variable: Change the default
environment_scopefrom0to*(#409) - resource/gitlab_service_jira: Fix a rare state inconsistency problem during creation (#363)
- resource/gitlab_user: Fix some attributes saving incorrectly in state (#261)