Skip to content

Releases: gitlabhq/terraform-provider-gitlab

v3.13.0

30 Mar 13:54
61400af
Compare
Choose a tag to compare

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

FEATURES:

  • New Data Source: gitlab_instance_deploy_keys (#870)
  • New Data Source: gitlab_project_tags (#963)
  • New Data Source: gitlab_repository_file (#939)
  • New Resource: gitlab_project_environment (#938)
  • New Resource: gitlab_project_protected_environment (#938)
  • New Resource: gitlab_system_hook (#929)
  • resource/gitlab_topic: Support deletion (#967)
  • resource/gitlab_topic: Support avatar images (#968)
  • resource/gitlab_repository_file: Support using plain text content to beautify plans (#972)

IMPROVEMENTS:

  • resource/gitlab_branch_protection: Make push_access_level and merge_access_level optional (#934)
  • resource/gitlab_branch_protection: Add unprotect_access_level and allowed_to_unprotect attributes (#934)
  • resource/gitlab_pipeline_schedule: Use single GET API to read resource details to increase performance (#955)
  • resource/gitlab_project_variable: Use single GET API to read resource details to increase performance (#953)
  • resource/gitlab_deploy_token: Support terraform import (#960)
  • resource/gitlab_project_access_token: Support terraform import (#960)
  • resource/gitlab_project_hook: Support terraform import (#960)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add analytics_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add auto_cancel_pending_pipelines attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add auto_devops_deploy_strategy attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add auto_devops_enabled attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add autoclose_referenced_issues attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add build_git_strategy attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add builds_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add container_expiration_policy attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add container_registry_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add emails_disabled attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add external_authorization_classification_label attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add forking_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add issues_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add merge_commit_template attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add merge_requests_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add operations_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add public_builds attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add repository_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add repository_storage attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add requirements_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add resolve_outdated_diff_discussions attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add security_and_compliance_access_level attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add squash_commit_template attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add topics attribute (#917)
  • resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add wiki_access_level attribute (#917)
  • resource/gitlab_managed_license: Add support for "allowed" and "denied" to align with upcoming GitLab 15.0 deprecations (#952)

BUG FIXES:

  • resource/gitlab_deploy_token: Implement pagination when reading tokens to find all existing tokens (#941)
  • resource/gitlab_project_approval_rule: Implement pagination when reading approval rules to find all existing ones (#950)
  • resource/gitlab_repository_file: Implement locking and retry within the provider to mitigate parallelism limits (#964)

v3.12.0

08 Mar 09:08
b152181
Compare
Choose a tag to compare

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

FEATURES:

  • New Resource: gitlab_project_tag (#910)
  • New Resource: gitlab_project_issue (#891)
  • New Data Source: gitlab_project_tag (#910)
  • New Data Source: gitlab_project_issue (#891)
  • New Data Source: gitlab_project_issues (#891)

IMPROVEMENTS:

  • datasource/gitlab_group: Add prevent_forking_outside_group attribute (#914)
  • resource/gitlab_group: Add prevent_forking_outside_group attribute (#914)
  • resource/gitlab_project_approval_rule: Add rule_type attribute (#916)

BUG FIXES:

  • resource/gitlab_project: Fix deletion drift handling (#924)
  • resource/gitlab_project_badge: Fix deletion drift handling (#924)
  • resource/gitlab_group_badge: Fix deletion drift handling (#924)

v3.11.1

02 Mar 09:52
278f2b3
Compare
Choose a tag to compare

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

BUG FIXES

  • resource/gitlab_project: fix waiting for default branch protection during creation (#908)

v3.11.0

01 Mar 11:33
acbd41c
Compare
Choose a tag to compare

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

FEATURES

  • New Resource: resource/gitlab_user_sshkey (#903)

IMPROVEMENTS

  • resource/gitlab_instance_variable: better error message for invalid masked variable values (#895)
  • resource/gitlab_group_variable: better error message for invalid masked variable values (#895)
  • resource/gitlab_project: Add merge_pipelines_enabled and merge_trains_enabled attributes (#900)
  • resource/gitlab_project_level_mr_approvals: Add required_password_to_approve attribute (#808)
  • resource/gitlab_user: Add support for deactivated user state (#899)

BUG FIXES

  • resource/gitlab_branch_protection: fix issue claiming that no valid access level(#892)

v3.11.0-pre

28 Feb 15:52
Compare
Choose a tag to compare
v3.11.0-pre Pre-release
Pre-release
Fix manifest

v3.10.1

24 Feb 07:36
7799be7
Compare
Choose a tag to compare

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

BUG FIXES

  • resource/gitlab_branch_protection: Fix issue which claimed that no valid access level can be found (#892)

v3.10.0

23 Feb 09:33
d2c6ece
Compare
Choose a tag to compare

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

FEATURES:

  • New Resource: gitlab_group_access_token (#860)
  • New Resource: gitlab_topic (#871)

IMPROVEMENTS:

  • datasource/gitlab_project: Add printing_merge_request_link_enabled attribute (#783)
  • datasource/gitlab_project: Add ci_forward_deployment_enabled attribute (#732)
  • datasource/gitlab_projects: Add ci_forward_deployment_enabled attribute (#732)
  • datasource/gitlab_group_membership: Support pagination (#858)
  • resource/gitlab_group_ldap_link: Add import support (#771)
  • resource/gitlab_project: Add ci_forward_deployment_enabled attribute (#732)
  • resource/gitlab_project: Add printing_merge_request_link_enabled attribute (#783)
  • resource/gitlab_project_hook: Add releases_events attribute (#773)
  • resource/gitlab_branch_protection: Add allow_force_push attribute (#877)
  • resource/gitlab_service_jira: Add api_url attribute (#597)
  • resource/gitlab_user: Add state attribute to allow blocking users (#762)

BUG FIXES

  • datasource/gitlab_projects: Allow to get archived and unarchived repositories (#855)
  • resource/gitlab_group: Support setting default_branch_protection to 0 (#856)
  • resource/gitlab_group_ldap_link: Fix panic when setting group access level (#873)
  • resource/gitlab_project: Correctly handle push rules add and edit (#838)
  • resource/gitlab_project: Support creating project in group without default branch protection (#856)
  • resource/gitlab_project: Fix backwards-compatibility with 14.1 regarding the squash_option (#867)
  • resource/gitlab_project: Re-compute path_with_namespace, ssh_url_to_repo, http_url_to_repo and web_url attributes if path changes (#875)

v3.9.1

06 Feb 20:14
8fc37b8
Compare
Choose a tag to compare

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

BUGFIXES:

  • Fix crash in gitlab_user data source

v3.9.0

04 Feb 09:28
82a9a40
Compare
Choose a tag to compare

3.9.0 (2022-02-04)

NOTES:

  • resource/gitlab_service_slack: There was a breaking change to this resource in version 3.9.0 which was fixed in 3.14.0. Thus, if you have gitlab_service_slack resources that were created before 3.9.0, you should skip this version.

FEATURES:

  • 0519c96 - Add gitlab_repository_file resource (#724)
  • a915ccb - Add the gitlab_project_access_token resource (#588)
  • 8564a07 - Add gitlab_group_custom_attribute, gitlab_project_custom_attribute, and gitlab_user_custom_attribute (#731)
  • 39b0b6d - Add support for gitlab_group_badge resource (#673)
  • dd0da2b - Implement configuration of the integration "Microsoft Teams" (#308) (#784)
  • febe745 - Add gitlab_project_protected_branch and gitlab_project_protected_branches data sources (#551)
  • b4d4f8d - Support early_auth_check flag in provider config (#787)
  • 1455db0 - Add gitlab_managed_license resource (#700)
  • be59cd1 - New archive_on_destroy attribute for gitlab_project (#816)

ENHANCEMENTS:

  • 9863a61 - Add missing attributes to documentation (#802)
  • 84d729e - Improve documentation around authentication with GitLab (#803)
  • a9edc4a - Add environment scope to gitlab_group_variable (#717)
  • c5a2f34 - Support issues_template and merge_requests_template attributes in project resource (#796)
  • 65b8e9c - Add minimal access level permissions (#747)
  • 12ae791 - Added missing scopes to deploy token (#769)
  • 1455db0 - Update allowed access levels in gitlab_branch_protection, gitlab_group_ldap_link, gitlab_group_membership, gitlab_group_share_group, gitlab_project_membership, gitlab_project_share_group, and gitlab_tag_protection (#819)
  • 1455db0 - New attribute group_access in gitlab_project_share_group and gitlab_group_ldap_link (attribute access_level is now considered deprecated on those resources) (#819)

BUGFIXES:

  • f3b0f31 - Handle manually removed resources (#318)
  • fc84cc3 - Properly allow arguments idor path_with_namespace for project data source (#806)
  • d7059cf - Do not recreate project mirror on every run (#632)
  • e57bf1d - Fix branch_protection documentation (#780)
  • 912b647 - Fix docs for gitlab_project_level_mr_approvals import (#766)
  • e89922e - instance_cluster/group_cluster: Suppress whitespace diff for kubernetes_ca_cert (#728)
  • edda219 - gitlab_user: Do not set skip_confirmation on read (#491)

v3.8.0

19 Nov 06:31
7676486
Compare
Choose a tag to compare

3.8.0 (Nov 19, 2021)

ENHANCEMENTS:

More examples and better documentation #654
Adding a first complete example code #670
Support running the provider using an OAuth token #686
Allow merge on skipped pipeline #705
support default_branch_protection on group #706
Bump github.com/xanzy/go-gitlab from 0.50.0 to 0.51.1 #718
Add squash option #719

BUGFIXES:

Suppress whitespace diffs for kubernetes_ca_cert attribute #665
Fix GitLab project membership example #684
Improve tests for initializing a project without README #730