Skip to content

Releases: gitlabhq/terraform-provider-gitlab

v3.17.0

24 Aug 18:48
833bd25
Compare
Choose a tag to compare

This release was tested against GitLab 15.1, 15.2 and 15.3 for both CE and EE.

FEATURES:

  • New Data Source: gitlab_project_hook (#1204)
  • New Data Source: gitlab_project_hooks (#1204)
  • New Data Source: gitlab_project_membership (#593)
  • New Data Source: gitlab_repository_tree (#1198)
  • New Data Source: gitlab_group_hook (#1221)
  • New Data Source: gitlab_group_hooks (#1221)
  • New Resource: gitlab_group_hook (#1221)
  • New Resource: gitlab_application_settings (experimental) (#1201)
  • New Resource: gitlab_project_issue_board (#1173)
  • New Resource: gitlab_user_gpgkey (#1181)

IMPROVEMENTS:

  • resource/gitlab_service_jira: Support jira_issue_transition_id attribute for GitLab 15.2 (#1188)
  • resource/gitlab_project_protected_environment: Add docs that users and groups must be shared with the project (#1210)
  • resource/gitlab_branch_protection: Automatically take ownership of projects default branch without an import (#1216)
  • resource/gitlab_group_ldap_link: Clarify value for ldap_provider attribute (#1220)
  • resource/gitlab_group_membership: Support skip_subresources_on_destroy and unassign_issuables_on_destroy removal option attributes (#1209)
  • resource/gitlab_project: Reference doc for required gitlab_group_project_template resource when using template_project_id attribute (#1223)

BUG FIXES:

  • resource/gitlab_user_sshkey: Ignore leading and trailing whitespaces in key (#1175)
  • resource/gitlab_project: Fix setting ci_forward_deployment_enabled to false during creation (#1218)

v3.16.1

11 Jul 20:31
cd90c29
Compare
Choose a tag to compare

This release was tested against GitLab 14.10, 15.0 and 15.1 for both CE and EE.

BUG FIXES:

  • resource/gitlab_project: Fix admin token requirement to check default branch protection (#1169)

v3.16.0

07 Jul 12:55
d4b7e10
Compare
Choose a tag to compare

This release was tested against GitLab 14.10, 15.0 and 15.1 for both CE and EE.

FEATURES:

  • New Data Source: gitlab_current_user ([#1118])
  • New Data Source: gitlab_release_link ([#1131])
  • New Data Source: gitlab_release_links ([#1131])
  • New Resource: gitlab_release_link ([#1131])
  • New Resource: gitlab_cluster_agent_token ([#1147])

IMPROVEMENTS:

  • resource/gitlab_project_protected_environment: Add required_approval_count attribute ([#1097])
  • resource/gitlab_project_access_token: Add owner as possible value to access_level ([#1145])
  • resource/gitlab_project_membership: Add owner as possible value to access_level ([#1145])
  • resource/gitlab_project_share_group: Add owner as possible value to access_level ([#1145])
  • resource/gitlab_project: Add ci_default_git_depth attribute ([#1146])
  • datasource/gitlab_project: Add ci_default_git_depth attribute ([#1146])
  • datasource/gitlab_projects: Add ci_default_git_depth attribute ([#1146])

BUG FIXES:

  • resource/gitlab_project: Fix project creation when default branch protection is disabled on instance-level (#[1128])
  • resource/gitlab_project: Fix a case where a change to a project in terraform can never apply when certain fields are modified ([#1158])
  • resource/gitlab_project: Fix passing false to API for explicitly set optional attributes ([#1152])
  • resource/gitlab_group: Fix passing false to API for explicitly set optional attributes ([#1152])

v3.15.1

08 Jun 10:45
f701a6b
Compare
Choose a tag to compare

This release was tested against GitLab 14.9, 14.10 and 15.0 for both CE and EE.

BUG FIXES:

  • resource/gitlab_service_microsoft_teams: Fix removal from state when integration is not found (#1113)

v3.15.0

29 May 10:03
f15cdc5
Compare
Choose a tag to compare

This release was tested against GitLab 14.9, 14.10 and 15.0 for both CE and EE.

FEATURES:

  • New Data Source: gitlab_cluster_agent (#1073)
  • New Data Source: gitlab_cluster_agents (#1073)
  • New Data Source: gitlab_project_milestone (#1044)
  • New Data Source: gitlab_project_milestones (#1044)
  • New Resource: gitlab_project_milestone (#1044)
  • New Resource: gitlab_runner (#1049)
  • New Resource: gitlab_cluster_agent (#1073)

IMPROVEMENTS:

  • resource/gitlab_group: Allow value 3 for default_branch_protection attribute (#1070)
  • resource/gitlab_project_badge: Add name attribute (#1052)
  • resource/gitlab_group: Transfer a subgroup does not longer re-create the group (#1078)
  • resource/gitlab_topic: Add name attribute (#1095)

BUG FIXES:

  • resource/gitlab_project_issue: Remove Optional from Computed-only attributes (#1081)
  • datasource/gitlab_project_issues: Fix type of not_milestone attribute from list of strings to a single string (#1095)

v3.14.0

02 May 09:47
b3f8859
Compare
Choose a tag to compare

FEATURES:

  • New Data Source: gitlab_project_variable (#990)
  • New Data Source: gitlab_project_variables (#990)
  • New Data Source: gitlab_group_variable (#990)
  • New Data Source: gitlab_group_variables (#990)
  • New Data Source: gitlab_instance_variable (#990)
  • New Data Source: gitlab_instance_variables (#990)
  • New Resource: gitlab_group_project_file_template (#971)
  • New Resource: gitlab_service_external_wiki (#1003)
  • New Resource: gitlab_project_runner_enablement (#1016)
  • New Resource: gitlab_personal_access_token (#1007)

IMPROVEMENTS:

  • resource/gitlab_deploy_key: Fully support can_push attribute (#1009)
  • resource/gitlab_deploy_key_enable: Fully support can_push attribute (#1009)
  • resource/gitlab_group_access_token: Support owner as access level (#999)
  • resource/gitlab_pipeline_trigger: Mark token attribute as sensitive (#1034)
  • resource/gitlab_project: Deprecate build_coverage_regex (#1036)
  • resource/gitlab_project_access_token: Add access_level attribute (#997)
  • resource/gitlab_project_protected_environment: Support multiple deploy_access_levels (#1004)
  • resource/gitlab_project_mirror: Support deletion on destroy (#988)
  • resource/gitlab_repository_file: Add execute_filemode attribute (#1038)
  • resource/gitlab_user: Add namespace_id attribute (#987)
  • datasource/gitlab_user: Add namespace_id attribute (#987)
  • datasource/gitlab_users: Add namespace_id attribute (#987)

BUG FIXES:

  • resource/gitlab_service_slack: Fix a resource ID bug that causes gitlab_service_slack resources that were created before provider version 3.9.0 to return an error. (#1013)

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)