github gitlabhq/terraform-provider-gitlab v3.0.0

latest releases: v17.4.0, v17.3.1, v17.3.0...
4 years ago

BREAKING CHANGES:

  • Resource gitlab_project_push_rules has been removed. You now instead specify project push rules using the push_rules attribute on the gitlab_project resource.
  • The shared_with_groups attribute has been removed from the gitlab_project resource (but not the data source). You may use the gitlab_project_share_group resource instead.

NOTES:

  • If you are using the environment_scope attribute of gitlab_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's environment_scope attribute has changed from 0 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 and push_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, and push_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, and two_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 or reset_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 to null 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 from 0 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)

Don't miss a new terraform-provider-gitlab release

NewReleases is sending notifications on new releases.