Skip to content

Releases: gitlabhq/terraform-provider-gitlab

v3.7.0

20 Jul 04:50
Compare
Choose a tag to compare

3.7.0 (July 20, 2021)

FEATURES:
Add protected_branch_ids to gitlab_project_approval_rule #542
Add most Premium features for gitlab_branch_protection #556
Adds support for gitlab project badges #648

ENHANCEMENTS:
Add CustomCIPath to resource gitlab_project #662
add build coverage regex #627
Add tfproviderlint linter to CI #653
Documentation improvements #642
chore: add error handling to resourceGitlabProjectSetToState #649
Missing documentation for gitlab_instance_variable #602
Add support for importing Pipeline Schedules and Triggers #618
update reference to master branch to main #612

BUGFIXES:
Fix project approval rule tests #660
Fix markdown linter errors in branch_protection.md #656
fix: update default branch name to "main" #643
gitlab_project: Wait for template projects to be cloned/imported #621

v3.6.0

06 Apr 17:34
620964c
Compare
Choose a tag to compare

3.6.0 (Apr 6, 2021)

ENHANCEMENTS:

  • Support the Note field in the User resource/data #572
  • add diffSuppressFunc for 'expires_at' attribute in 'deploy_token' #575
  • Update to Go 1.16 and terraform-plugin-sdk 1.16 #579
  • Bump github.com/xanzy/go-gitlab from 0.44.0 to 0.46.0 #586

BUG FIXES:

  • Fix "Run failed" on forks #565

v3.5.0

18 Feb 19:08
8364455
Compare
Choose a tag to compare

3.5.0 (Feb 18, 2021)

FEATURES:

  • Add resource for project freeze periods #516

ENHANCEMENTS:

  • Update go version and go-gitlab version #523
  • Support additional attributes in gitlab_project_hook #525
  • Link badges in README to proper workflows #527
  • gitlab_project: Check each push rule individually #531
  • Allow full_path in addition to id in gitlab_project data source #532
  • Update test fixtures for better usability #535
  • Check for state change on user delete #539
  • Increase gitlab_project import timeout #536
  • Add optional mirror options #554
  • Remove vendor folder #546
  • Add dependabot config #558
  • Fix EE tests actually running against CE #564
  • Fix EE test mounting license as a directory #568

BUG FIXES:

  • fix deploy_token expiration #510
  • Fix group_share_group nil pointer reference #555

v3.4.0

14 Jan 21:35
ef0ddea
Compare
Choose a tag to compare

3.4.0 (Jan 14, 2021)

FEATURES:

  • Support sharing a group with another group #511
  • Support Project Mirroring #512

v3.3.0

30 Nov 18:28
2f1dbef
Compare
Choose a tag to compare

3.3.0 (Nov 30, 2020)

FEATURES:

  • Support instance level CI variables #389

ENHANCEMENTS

  • Add the pages_access_level parameter #472
  • Do not fail when project member does not exist #473
  • Make the runners_token on the project secret #474
  • Fix nil pointer dereference importing gitlab_user #490
  • Fix unit and acceptance tests not running #495

v3.2.0

20 Nov 16:12
90f30c5
Compare
Choose a tag to compare

3.2.0 (Nov 20, 2020)

FEATURES:

  • Project Approval Rules (#250)

ENHANCEMENTS

  • Documentation for expires_at (#482)
  • Update set-env github action command (484)

v3.1.0

16 Oct 15:47
6bb1556
Compare
Choose a tag to compare

3.1.0 (Oct 16, 2020)

ENHANCEMENTS:

  • Enable custom UserAgent (#451)
  • gitlab_project_mirror: Mark URL as sensitive (#458)
  • Remove old-style variable interpolation (#456)

BUG FIXES:

  • add pagination for ListPipelineSchedules (#454)

v3.0.0

24 Sep 01:59
21ad328
Compare
Choose a tag to compare

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)

v3.0.0-pre-test

18 Sep 04:53
d5c5776
Compare
Choose a tag to compare
v3.0.0-pre-test Pre-release
Pre-release
Merge pull request #420 from gitlabhq/nicholasklick-patch-2

Cleanup goreleaser.yml

v1.2.0

19 Feb 08:47
Compare
Choose a tag to compare

FEATURES:

  • New Datasource: gitlab_users (#79)
  • New Resource: gitlab_pipeline_trigger (#82)
  • New Resource: gitlab_project_cluster (#87)

ENHANCEMENTS:

  • Supports "No one" and "maintainer" permissions (#83)
  • gitlab_project.shared_with_groups is now order-independent (#86)
  • add merge_method, only_allow_merge_if_*, approvals_before_merge parameters to gitlab_project (#72, #88)