chore(deps): update terraform gitlab to v17
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
gitlab (source) | required_provider | major |
~> 16.11 -> ~> 17.0
|
Release Notes
gitlabhq/terraform-provider-gitlab (gitlab)
v17.3.1
This release was tested against GitLab 17.3, 17.2, and 17.1 for both CE and EE
v17.3.0
This release was tested against GitLab 17.3, 17.2, and 17.1 for both CE and EE
IMPROVEMENTS (8 changes)
- New Resource resource/gitlab_group_security_policy_attachment: Add new resource for association security policy projects to a group by @PatrickRice (merge request)
- New Datasource resource/gitlab_group_ids: Add new datasource retrieving group ID, Full Path, or GraphQL ID based on group ID or Url-encoded path by @PatrickRice (merge request)
- New Datasource resource/gitlab_project_ids: Add new datasource retrieving project ID, Full Path, or GraphQL ID based on project ID or Url-encoded path by @PatrickRice (merge request)
- resource/gitlab_project_job_token_scopes: Add support for
target_group_ids
, allowing groups to be used in the allow list by @chapsuK (merge request) - resource/gitlab_group: Add support for
permanently_remove_on_delete
, allowing groups to be permanently deleted on destroy instead of entering a waiting period by @PatrickRice (merge request) - resource/gitlab_application_settings: Add support for
max_terraform_state_size_bytes
, allowing configuration of terraform state size at an instance level by @christian.affolter (merge request) - resource/gitlab_project_push_rules:
gitlab_project_push_rules
will now take over ownership of existing push rules, since a default set is created on project creation by @mness (merge request) - resource/gitlab_project_job_token_scopes: Added support for
project
, allowing the use of the resource by project ID or url-encoded path by @heidi.berry (merge request)
BUG FIXES (4 changes)
- resource/gitlab_group_access_token: Fix example to use the proper resource by @blrz (merge request)
- resource/gitlab_group_security_policy_attachment: Fix example to use the proper resource by @calebw (merge request)
- resource/gitlab_project_security_policy_attachment: Fix example to use the proper resource by @calebw (merge request)
- resource/gitlab_user_runner: Fix description to remove typo in
group_type
by @clemenschuaccso (merge request)
v17.2.0
This release was tested against GitLab 17.2, 17.1, and 17.0 for both CE and EE
BREAKING CHANGES (1 change)
Note: As a security related change, this breaking change is allowed outside a major release. If a non-sensitive token is required for migration purposes users can use the nonsensitive()
TF function.
- resource/gitlab_cluster_agent_token: Mark GitLab cluster agent token as sensitive by @CarbonCollins (merge request)
IMPROVEMENTS (1 change)
- New Resource resource/gitlab_project_security_policy_attachment: Add new resource for associating security policy projects to a project by @PatrickRice (merge request)
- resource/gitlab_personal_access_token: Migrate
gitlab_personal_access_token
from SDK to TF Plugin Framework by @theipster (merge request)
BUG FIXES (4 changes)
- resource/gitlab_deploy_key: Fix deploy key documentation reference to point to the correct resource for enabling a pre-existing deploy key by @blrz (merge request)
- resource/gitlab_user_runner: Fix an issue with gitlab_user_runner causing inconsistent TF plans by @PatrickRice (merge request)
v17.1.0
This release was tested against GitLab 17.1, 17.0, and 16.11 for both CE and EE
BUG FIXES (3 changes)
- resource/gitlab_project_job_token_scopes: Correct examples for resource project_job_token_scopes by @heidi.berry (merge request)
- resource/gitlab_group_access_token: Fix an issue where using access tokens with a
time
provider caused segfaults by @PatrickRice (merge request) - resource/gitlab_project_access_token: Fix an issue where using access tokens with a
time
provider caused segfaults by @PatrickRice (merge request)
IMPROVEMENTS (8 changes)
- New Resource resource/gitlab_telegram_integration: Implement Telegram Integration by @alxrem (merge request)
- resource/gitlab_group_saml_link: Add ability to set custom roles on group SAML links by @heidi.berry (merge request)
- resource/gitlab_integration_slack: Add confidential_note_channel to slack integration by @0oMarko0 (merge request)
- resource/gitlab_personal_access_token: Implement manage_runner access token scope (merge request)
- resource/gitlab_personal_access_token: Mark
expires_at
attribute as optional by @erezo9 (merge request) - resource/gitlab_group_access_token: Fixed several documentation issues with access token resources by @theipster (merge request)
- resource/gitlab_project_access_token: Fixed several documentation issues with access token resources by @theipster (merge request)
- resource/gitlab_project: Update
initialize_with_readme
to add border case documentation by @PatrickRice (merge request)
v17.0.1
This release was tested against GitLab 17.0, 16.11, and 16.10 for both CE and EE
BUG FIXES:
- Fixed an issue where sensitive tokens were not masked properly in debug log files (!1997)
v17.0.0
This release was tested against GitLab 17.0, 16.11, and 16.10 for both CE and EE
KNOWN ISSUES:
-
gitlab_current_user
returns an empty string forpublic_email
(#6305)
BREAKING CHANGES:
- resources/project_protected_environment: Removed support for
required_approval_count
field, userequired_approvals
inapproval_rules
ordeploy_access_level
instead (!1940) - resources/group_protected_environment: Removed support for
required_approval_count
field, userequired_approvals
inapproval_rules
ordeploy_access_level
instead (!1940) - resources/gitlab_group: Removed a version check related to
commit_committer_check
andreject_unsigned_commits
that would prevent their use in versions prior to GitLab 16.4. If used with versions earlier than 16.4, these attributes will cause an error instead of being excluded. (!1937) - resources/gitlab_group: Removed support for
emails_disabled
, useemails_enabled
instead (!1929) - resources/gitlab_project: Removed support for
emails_disabled
, useemails_enabled
instead (!1929) - resources/gitlab_pipeline_schedule:
ref
now requires the full ref instead of allowing the use of the short ref. If you previously usedmain
, you now need to userefs/heads/main
instead, for example (!1923) - resources/gitlab_pipeline_trigger:
token
can no longer be imported. (!1905) - resources/gitlab_pipeline_trigger: Updating the
project
attribute will now force the creation of a new pipeline trigger (!1905) - data/gitlab_group(s): Removed support for
emails_disabled
, useemails_enabled
instead (!1929) - data/gitlab_project(s): Removed support for
emails_disabled
, useemails_enabled
instead (!1929) - data/gitlab_project(s): Removed support for
public
, usevisibility
instead (!1929) -
master
is no longer a valid access level on any resource that supports the use of access levels. This impacts the resources listed below. (!1903)- gitlab_group_access_token
- gitlab_group_ldap_link
- gitlab_group_membership
- gitlab_group_share_group
- gitlab_project_access_token
- gitlab_project_membership
- gitlab_project_share_group
IMPROVEMENTS:
- New Resource resource/gitlab_integration_jenkins: Allows managing a project Jenkins integration (!1919)
- New Resource resource/gitlab_project_push_rules: Allows managing the lifecycle of push rules on a project (!1893)
- New Resource resource/gitlab_project_job_token_scopes: This resource sets a strict list of project job token scopes, and removes any job token scopes not managed by the resource. This can be useful to explicitly deny job token scopes on a project. (!1907)
- resources/gitlab_pipeline_schedule_variable: Added support for the use of
variable_type
(!1952) - resources/gitlab_group: Added support for the use of
commit_committer_name_check
to thepush_rules
block (!1937) - resources/gitlab_project: Added support for the use of
commit_committer_name_check
to thepush_rules
block (!1918) - resources/gitlab_instance_variable: Added support for the use of
description
(!1950) - resources/gitlab_user_runner: Added example documentation for this resource to make it easier to consume (!1928)
- resources/gitlab_application_settings: Add support for
minimum_password_length
to the resource (!1917) - resources/gitlab_personal_access_token: Updated the API used to read personal access token data, which improves performance of this resource in situations where many tokens are being maintained, and improves reliability of the resource in high concurrency situations (!1908)
- data/gitlab_instance_variable: Added support for
description
(!1950) - provider: Added documentation that the use of Project Access Tokens or Group Access Tokens may not work with all resources (!1928)
BUG FIXES:
- resources/gitlab_pipeline_schedule: Fixed a provider crash in situations where the scheduled pipeline fails to create (!1899)
- resources/gitlab_group: Fixed a provider error when attempting to create groups with
push_rules
on GitLab CE wherepush_rules
are not supported (!1891) - resources/gitlab_group_access_token: Fixed an issue with token rotation using
rotation_configuration
where tokens wouldn't rotate properly afterexpires_at
was stored in state. Added additional debug logging for token rotation. (!1953) - resources/gitlab_group_access_token: Fixed an issue with token rotation where manually managing expiration using
expires_at
would encounter an error after updatingexpires_at
twice (!1916) - resources/gitlab_project_access_token: Fixed an issue with token rotation using
rotation_configuration
where tokens wouldn't rotate properly afterexpires_at
was stored in state. Added additional debug logging for token rotation. (!1953) - resources/gitlab_project_access_token: Fixed an issue with token rotation where manually managing expiration using
expires_at
would encounter an error after updatingexpires_at
twice (!1916) - resources/gitlab_pipeline_trigger: Fixed a bug where applying TF with different users could corrupt the pipeline trigger
token
!1905
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.