BREAKING CHANGES:
- Resource
gitlab_project_push_rules
has been removed. You now instead specify project push rules using thepush_rules
attribute on thegitlab_project
resource. - The
shared_with_groups
attribute has been removed from thegitlab_project
resource (but not the data source). You may use thegitlab_project_share_group
resource instead.
NOTES:
- If you are using the
environment_scope
attribute ofgitlab_project_variable
to 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_variable
resource changed. The upgrade should be automatic. - The default value of the
gitlab_project_variable
resource'senvironment_scope
attribute has changed from0
to*
.
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_namespace
andpush_rules
(#405, #403, #422) - resource/gitlab_branch_protection: New
code_owner_approval_required
attribute (#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_url
attribute (#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
email
attribute can be changed without forcing recreation (#261) - resource/gitlab_user: Require either the
password
orreset_password
attribute 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_branch
attribute changing tonull
after first apply (#343) - resource/gitlab_project_share_group: Fix the
access_level
attribute 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_scope
from0
to*
(#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)