Update Terraform gitlab to v16
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
gitlab (source) | required_provider | major |
15.11.0 -> 16.3.0
|
Release Notes
gitlabhq/terraform-provider-gitlab (gitlab)
v16.3.0
This release was tested against GitLab 16.0, 16.1, and 16.2 for both CE and EE
IMPROVEMENTS:
-
New Resource:
gitlab_user_runner
allows managing runners using the new runner flow without using a registration token (!1618) -
New Resource:
gitlab_group_epic_board
allows managing epic boards for groups (!1658) -
New Resource:
gitlab_project_job_token_allow
allows managing the inbound allow list for a project when using Job Tokens (!1631) - resource/repository_file: Add the ability to specify a different commit message for Create/Update/Delete operation (!1629)
- resource/gitlab_project_level_mr_approvals: Add support for
selective_code_owner_removals
(!1641) - resource/gitlab_group: Add support for
wiki_access_level
(!1656) - resource/gitlab_group_badge: Add support for
name
(!1655) - datasource/gitlab_group: Add support for
wiki_access_level
(!1656) - datasource/gitlab_groups: Add support for
wiki_access_level
(!1656)
BUG FIXES:
- resource/gitlab_group_access_token: Require the
expires_at
attribute (!1661) - resource/gitlab_personal_access_token: Require the
expires_at
attribute (!1661) - resource/gitlab_project_access_token: Require the
expires_at
attribute (!1661) - resource/gitlab_pipeline_schedule_variable: Fix several spelling errors in the documentation that would make examples non-functional (!1647)
v16.2.0
This release was tested against GitLab 15.11, 16.0 and 16.1 for both CE and EE.
IMPROVEMENTS:
-
New Resource:
gitlab_project_compliance_framework
(!1616) -
New Resource:
gitlab_compliance_framework
(!1599) - resource/gitlab_group_badge: Improve examples to contain common badges (!1627)
- resource/branch_protection: Add support for
admin
as a value forunprotect_access_level
(!1626) - datasource/gitlab_groups: Add
top_level_only
support (!1606) - datasource/gitlab_project: Add
topic
support (!1610)
BUG FIXES:
- resource/gitlab_application_settings: Fix documentation to list the correct
import_sources
(!1638) - resource/gitlab_project: Previously,
name_regex_delete
was improperly deprecated. Remove deprecation notice, and add notice toname_regex
, which is the proper field (!1600) - resource/gitlab_repository_file: Fix an issue where updating a repository file when using the
text
encoding returned a base64 encoding error (!1642)
v16.1.1
This release was tested against GitLab 15.11, 16.0 and 16.1 for both CE and EE.
IMRPOVEMENTS:
- resource/gitlab_repository_file: Support the use of the
encoding
parameter. This allows usingtext
encoding, which re-introduces the ability to have plaintext comparisons during a plan operation (!1633)
v16.1.0
This release was tested against GitLab 15.11, 16.0 and 16.1 for both CE and EE.
IMRPOVEMENTS:
- resource/gitlab_tag_protection: Support
allowed_to_create
attribute (!1549)
BUG FIXES:
- resource/gitlab_deploy_token: Fix dynamic
username
attribute reading after creation (!1569) - resource/gitlab_branch_protection: Remove unsupported
no one
value forunprotect_access_level
(!1594) - resource/gitlab_project: Fix deprecation of
name_regex
attribute (!1600)
MISC:
- Added a new guide for how to contribute a new resource from scratch (!1487)
v16.0.3
This release was tested against GitLab 15.10, 15.11 and 16.0 for both CE and EE.
BREAKING CHANGES:
Since this is a bug fix release for a major release with breaking changes you may want to follow the Terraform GitLab Provider Version 16.0 Upgrade Guide for details.
BUG FIXES:
- resource/gitlab_group_ldap_link: Fix state migration for
group_id
togroup
v16.0.2
This release was tested against GitLab 15.10, 15.11 and 16.0 for both CE and EE.
BREAKING CHANGES:
Since this is a bug fix release for a major release with breaking changes you may want to follow the Terraform GitLab Provider Version 16.0 Upgrade Guide for details.
BUG FIXES:
- resource/gitlab_project_level_mr_approvals: Fix state migration for
project_id
toproject
when already on v16 - resource/gitlab_project_freeze_period: Fix state migration for
project_id
toproject
when already on v16 - resource/gitlab_project_membership: Fix state migration for
project_id
toproject
when already on v16 - resource/gitlab_project_share_group: Fix state migration for
project_id
toproject
when already on v16
v16.0.1
This release was tested against GitLab 15.10, 15.11 and 16.0 for both CE and EE.
BREAKING CHANGES:
Since this is a bug fix release for a major release with breaking changes you may want to follow the Terraform GitLab Provider Version 16.0 Upgrade Guide for details.
BUG FIXES:
- resource/gitlab_pipeline_schedule_variable: Fix panic when
pipeline_schedule_id
is afloat64
in state - resource/gitlab_project_variable: Fix panic when upgrading from a state that was created prior to GitLab 13.4
- resource/gitlab_project_level_mr_approvals: Add state migration for
project_id
toproject
- resource/gitlab_project_freeze_period: Add state migration for
project_id
toproject
- resource/gitlab_project_membership: Add state migration for
project_id
toproject
- resource/gitlab_project_share_group: Add state migration for
project_id
toproject
- resource/gitlab_project_access_token: Mark
expires_at
as computed - resource/gitlab_group_access_token: Mark
expires_at
as computed
v16.0.0
- This release was tested against GitLab 15.10, 15.11 and 16.0 for both CE and EE.
- Note: this is a major release and breaks some interfaces in resources and data sources of this provider, but also drops support for older GitLab versions.
BREAKING CHANGES:
See Terraform GitLab Provider Version 16.0 Upgrade Guide for details.
BREAKING CHANGES:
- resource/gitlab_instance_variable: Change
value
attribute to non-sensitive (!1521) - resource/gitlab_group_variable: Change
value
attribute to non-sensitive (!1521) - resource/gitlab_project_variable: Change
value
attribute to non-sensitive (!1521) - resource/gitlab_deploy_token: Change resource id format to
<token-type>:<type-id>:<token-id>
(!1523) - resource/gitlab_deploy_key: Change resource id format to
<project>:<key-id>
(!1522) - resource/gitlab_project_hook: Change resource id format to
<project>:<hook-id>
(!1483) - resource/gitlab_group_label: Change resource id format to
<group>:<label-name>
(!1525) - resource/gitlab_label: Rename resource to
gitlab_project_label
(!1526) - resource/gitlab_project_label: Change resource id format to
<project>:<label-name>
(!1526) - resource/gitlab_managed_license: Remove resource (!1512)
- resource/gitlab_pipeline_schedule_variable: Change resource id format to
<project>:<schedule-id>:<variable-id>
(!1529) - resource/gitlab_repository_file: Remove support for auto-encoding logic (!1530)
- resource/gitlab_group_ldap_link: Change resource id format to
<group>:<provider>:[cn]:[filter]
(!1527) - resource/gitlab_group_ldap_link: Rename
group_id
attribute togroup
(!1532) - resource/gitlab_service_*: Rename
gitlab_service_*
resources togitlab_integration_*
(!1534) - resource/gitlab_project: Remove
operations_access_level
(!1548) - datasource/gitlab_project: Remove
operations_access_level
(!1548) - datasource/gitlab_projects: Remove
operations_access_level
(!1548) - resource/gitlab_pipeline_trigger: Change resource id format to
<project>:<trigger-id>
(!1551) - resource/gitlab_pipeline_schedule: Change resource id format to
<project>:<schedule-id>
(!1551) - resource/gitlab_project_freeze_period: Change
project_id
attribute toproject
(!1553) - resource/gitlab_project_level_mr_approvals: Change
project_id
attribute toproject
(!1553) - resource/gitlab_project_membership: Change
project_id
attribute toproject
(!1553) - resource/gitlab_project_share_group: Change
project_id
attribute toproject
(!1553) - resource/gitlab_project_access_token: Require
expires_at
attribute (!1557)
FEATURES:
- resource/gitlab_instance_variable: Support
raw
attribute (!1533) - resource/gitlab_group_variable: Support
raw
attribute (!1533) - resource/gitlab_project_variable: Support
raw
attribute (!1533) - datasource/gitlab_instance_variable: Support
raw
attribute (!1533) - datasource/gitlab_group_variable: Support
raw
attribute (!1533) - datasource/gitlab_project_variable: Support
raw
attribute (!1533)
IMPROVEMENTS:
- resource/gitlab_project_environment: Wait for environment to stop before deleting it (!1509)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.