- resource/gitlab_group_hook: Add project_events attribute to gitlab_group_hook resource by @hhubert14 (merge request)
- resource/gitlab_application_settings: Kroki application settings by @dobybaxter127 (merge request)
- resource/gitlab_project_container_tag_protection: add container tag protection resource by @koken.sha (merge request)
- resource/gitlab_application_settings: Add GitLab throttle authenticated lfs Application Settings by @12bodickyn (merge request)
- resource/gitlab_project_pipeline_trigger: refactor: migrate pipeline_trigger to Framework by @heidi.berry (merge request)
- resource/gitlab_pipeline_schedule: Update pipeline schedule implementation to be type sensitive by @PatrickRice (merge request)
- resource/gitlab_project_security_policy_attachment: Unable to attach policy to project in same apply that creates project by @heidi.berry (merge request)
- resource/gitlab_personal_access_token (multiple): Fix parse error when expiresAt is null for access tokens by @mness (merge request)
- resource/gitlab_project_integration_matrix: Add new resource for managing Matrix integrations by @aishahsofea (merge request)
- resource/gitlab_runner_controller: Implement resources and data sources for runner controllers by @timofurrer (merge request)
- resource/gitlab_runner_controller_instance_scope: Implement resources and data sources for runner controllers by @timofurrer (merge request)
- resource/gitlab_runner_controller_runner_scope: Implement resources and data sources for runner controllers by @timofurrer (merge request)
- resource/gitlab_runner_controller_token: Implement resources and data sources for runner controllers by @timofurrer (merge request)
- resource/gitlab_group_integration_microsoft_teams: feat: Implement
resource_gitlab_group_integration_microsoft_teamsby @aishahsofea (merge request) - datasource/gitlab_runner_controller: Implement resources and data sources for runner controllers by @timofurrer (merge request)
- datasource/gitlab_runner_controller_scopes: Implement resources and data sources for runner controllers by @timofurrer (merge request)
- datasource/gitlab_runner_controllers: Implement resources and data sources for runner controllers by @timofurrer (merge request)
- resource/gitlab_application_settings: feat: Add ci_job_live_trace_enabled to Application Settings by @gnall_bah (merge request)
- resource/gitlab_application_settings: Add support for "Inactive project and group access token retention period" setting by @preethiatchudan (merge request)
- resource/gitlab_application_settings: Add lock_memberships_to_saml to application settings by @mohamedmongy96 (merge request)
- resource/gitlab_application_settings: Add mergerequest approval settings by @preethiatchudan (merge request)
- resource/gitlab_application_settings: Add code_owner_approval_required to gitlab_group and gitlab_application_settings resources by @adi_bhutani (merge request)
- resource/gitlab_group: Add code_owner_approval_required to gitlab_group and gitlab_application_settings resources by @adi_bhutani (merge request)
- resource/gitlab_project_share_group: Add expires_at attribute to gitlab_project_share_group resource by @wscix (merge request)
- resource/gitlab_pipeline_schedule: Add support for pipeline schedules inputs by @n.h.long.9697 (merge request)
- resource/gitlab_project_integration_jenkins: Allow migration using the
movedblock between from gitlab_integration_jenkins to this resource by @heidi.berry (merge request) - resource/gitlab_group_hooks: Add support for
member_eventsby @mohamedmongy96 (merge request) - resource/gitlab_project_integration_telegram: Allow migration using the
movedblock between from gitlab_integration_telegram to this resource by @heidi.berry (merge request) - resource/gitlab_project_integration_harbor: Allow migration using the
movedblock between from gitlab_integration_harbor to this resource by @heidi.berry (merge request) - resource/gitlab_user: Add the ability to configure the
deletetimeout forgitlab_user. The default timeout for deletinggitlab_userhas been increased from 10m -> 45m to account for destroying users in resource constrained GitLab instances by @PatrickRice (merge request) - datasource/gitlab_user: Add public_email attribute for gitlab_user data source by @mohamed.othman27 (merge request)
- resource/gitlab_tag_protection: Remove
created_before_destroyrecommendation in the documentation by @qerub (merge request) - resource/gitlab_project_protected_environment: Fix a provider error when group_inheritance_type=0 by @mbyrne1 (merge request)
- resource/gitlab_group_protected_environment: Fix a provider error when group_inheritance_type=0 by @mbyrne1 (merge request)
- resource/gitlab_release: Have consistent date format for project releases by @heidi.berry (merge request)
- resource/gitlab_value_stream_analytics: Fix value stream resource to allow creation at same time as group/project by @mness (merge request)
- resource/gitlab_group_security_policy_attachment: Handle out-of-band deletion of policy attachment by @mohamed.othman27 (merge request)
- resource/gitlab_project_push_mirror: : Detect credential changes properly in project mirror URL by @PatrickRice (merge request)
- resource/gitlab_push_mirror: Detect credential changes properly in project mirror URL by @PatrickRice (merge request)
- datasource/gitlab_project_label, datasource/gitlab_project_labels: Gitlab project label/labels datasource implementation by @bastian82 (merge request)
- resource/gitlab_application_settings: Add notify_on_unknown_sign_in in Application Settings by @12bodickyn (merge request)
- resource/gitlab_group_integration_mattermost: Add gitlab_group_integration_mattermost resource by @HamzaHassanain (merge request)
- resource/gitlab_project_hook, datasource/gitlab_project_hook, datasource/gitlab_project_hooks: Add emoji_events support to gitlab_project_hook resource by @yugannkt (merge request)
- resource/gitlab_project, resource/gitlab_group: Add max_artifacts_size attribute to group and project resources by @mness (merge request)
- resource/gitlab_project_integration_github: refactor: migrate github integration to framework by @heidi.berry (merge request)
- Fix
make testacc-upby @SinaMoghaddas (merge request) - resource/gitlab_group_ldap_link: Improve error message when gitlab_group_ldap_link.id is invalid by @heidi.berry (merge request)
- data/gitlab_project_branches: Add regex/search filters by @SinaMoghaddas (merge request)
- resource/gitlab_project: Deprecate old
gitlab_projectmirror fields by @heidi.berry (merge request) - Fix grammar in resource descriptions by @heidi.berry (merge request)
- resource/gitlab_tag_protection: Add deploy_key_id support to gitlab_tag_protection resource by @yugannkt (merge request)
- resource/gitlab_project_milestone: refactor: migrate gitlab_project_milestone to Framework by @heidi.berry (merge request)
- Update 19.0 Migration guide for state move info by @heidi.berry (merge request)
- resource/gitlab_project_integration_external_wiki: refactor: migrate external_wiki to framework by @heidi.berry (merge request)
- resource/gitlab_deploy_token, resource/gitlab_project_deploy_token: Add support to
gitlab_project_deploy_tokenfor cross-resource state move actions by @PatrickRice (merge request) - resource/gitlab_project_deploy_token: Gracefully delete project deploy token if project was moved by @timofurrer (merge request)
- resource/gitlab_release: Fix ability to create releases with milestones by @heidi.berry (merge request)
- resource/gitlab_project: Fix a bug that causes perpetual planned changes when using
gitlab_project_pull_mirrorwithgitlab_projectby @PatrickRice (merge request)
- resource/gitlab_project_hook: Support vulnerability events in gitlab project hooks by @nopejs (merge request)
- resource/gitlab_group_hook: Support vulnerability events in gitlab group hooks by @nopejs (merge request)
- resource/gitlab_group_service_account_access_token: Fix a bug where service accounts with more than 20 access tokens could show a replace operation when one was not needed by @PatrickRice (merge request)
- resource/gitlab_group_service_account_access_token: Fix a bug where group full namespace values caused errors when used with
groupinstead of the ID by @PatrickRice (merge request)
- resource/gitlab_secure_file: Add new resource for managing secure files on a project by @jack1902 (merge request)
- resource/gitlab_project_issue_link: Add new resource for managing project issue links by @aishahsofea (merge request)
- resource/gitlab_project_package_dependency_proxy: Add new resource for managing package dependency proxy settings for a project by @vijeta004 (merge request)
- resource/gitlab_project_cicd_catalog: Add new resource for registering a project in the CI/CD catalog by @n.h.long.9697 (merge request)
- resource/gitlab_project_pull_mirror: Add new resource for managing pull mirror configurations by @PatrickRice (merge request)
- resource/gitlab_group: Add allow merge missing options to group resource by @mness (merge request)
- resource/gitlab_group_share_group: Don't fetch projects when reading group shares to increase performance in... by @mdroessler (merge request)
- resource/gitlab_project_tag: refactor: migrate gitlab_project_tag to Framework by @heidi.berry (merge request)
- data/gitlab_group_membership: Add support for
group_saml_identityby @hamzahassanain067 (merge request)
- resource/gitlab_project_variable && resource/gitlab_group_variable: Fix
hiddencausing project_variable and group_variable to force replacement when not configured by @PatrickRice (merge request) - resource/gitlab_project_access_token, resource/gitlab_personal_access_token, resource/gitlab_group_service_account_access_token, resource/gitlab_group_access_token: fix: inconsistent result on token rotation by @PatrickRice (merge request)
- resource/gitlab_group: Switch gitlab_group.ip_restriction_ranges to set to prevent endless diff by @heidi.berry (merge request)
- resource/gitlab_group_service_account_access_token: fix: user dedicated API to handle Group service account tokens by @jeremy.tellaa (merge request)
- resource/gitlab_user_avatar: Add a new resource for managing avatars on project, group, and service account users by @mness (merge request)
- data/gitlab_security_policy_document: Add a datasource to generate policy file YAML using native HCL by @ccorona2 (merge request)
- data/gitlab_group_service_account_access_tokens: Add new data source for reading group service account access token metadata by @vijeta004 (merge request)
- data/gitlab_secure_file: Add new data source for reading secure files by @jack1902 (merge request)
- data/gitlab_project_issue_label_events: Add new data source for users to retrieve label events for an issue by @chanmickyyun (merge request)
- resource/gitlab_group: Validate group name and stub at plan-time instead of apply-time by @SinaMoghaddas (merge request)
- data/gitlab_project: Add support for merge_trains_skip_train_allowed (merge request)
- resource/gitlab_member_role: Add missing permissions by @u.kilianpaquier (merge request)
- resource/gitlab_branch: Fixed an issue where updating branch name caused "Invalid resource ID format" (merge request)
- resource/gitlab_group_service_account: Fixed an issue where read error caused service accounts to be flagged as deleted (merge request)
- docs: Fixed broken or redirected documentation links (merge request)
- docs: Clear old version of GitHub docs before copying new version in by @heidi.berry (merge request)
- datasource/gitlab_artifact_file: Add gitlab_artifact_file data source by @vijeta004 (merge request)
- datasource/gitlab_member_role: Add new datasource for retrieving member role by @mness (merge request)
- resource/gitlab_project_protected_environment: chore: improved the docs gitlab-project-protected-environment docs by @bas.bremer (merge request)
- resource/gitlab_deploy_key_enable: Migrate gitlab_deploy_key_enable from SDK to framework plugin (merge request)
- datasource/gitlab_project_protected_branch: Harden the protected branch test by @PatrickRice (merge request)
- resource/gitlab_group: Update logging statement when retrieving push rules to be DEBUG instead of ERROR to prevent confusion by @qerub (merge request)
- resource/gitlab_group_access_token, resource/gitlab_group_service_account_token, resource/gitlab_personal_access_token, resource/gitlab_project_access_token, resource/gitlab_user_impersonation_token, resource/gitlab_project_membership Fix an issue where nil
expiry_datecould cause a problem when refreshing tokens by @vijeta004 (merge request) - resource/gitlab_project_access_token, resource/gitlab_group_access_token, resource/gitlab_personal_access_token, resource/gitlab_group_service_account_access_token: fix(tokens): Update Access Token Validation Logic to only update token when expiry_date changes by @PatrickRice (merge request)
- datasource/gitlab_project_approval_rules: Add New Data Source for GitLab Project Approval Rules by @markwork (merge request)
- resource/gitlab_group_service_account: Add support for custom timeouts to
gitlab_group_service_accountby @PatrickRice (merge request)
- datasource/gitlab_projects: Deprecate datasource gitlab_projects._links by @heidi.berry (merge request)
- resource/gitlab_project: Add project resource group default process mode by @n.h.long.9697 (merge request)
- Add missing deprecation notices to some resources and datasources by @heidi.berry (merge request)
- Ensure deprecation notices properly display in the docs by @heidi.berry (merge request)
- resource/gitlab_application_settings: Fix mapping package_metadata_purl_types in update by @elC0mpa (merge request)
- resource/gitlab_project_membership:
expires_atnow validates that the date is not in the past, which previously caused an API error by @elC0mpa (merge request) - resource/gitlab_project_membership,resource/gitlab_group_membership:
member_role_idwill now be removed if not specified in the config, allowing users to revert to base roles by @elC0mpa (merge request)
- Bumped GitLab client-go dependency to v0.148.0 to improve default retry policy (merge request)
- resource/gitlab_group_level_mr_approvals: Add group level merge request approvals resource by @heidi.berry (merge request)
- resource/gitlab_project_external_status_check: Add new resource for project external status checks by @mness (merge request)
- resource/gitlab_project_hook: Update docs to indicate which version of GitLab is required to use custom headers by @heidi.berry (merge request)
- resource/gitlab_group_service_account: Wait for group service account users to be deleted during destroy by @heidi.berry (merge request)
- resource/gitlab_group_share_group: Add feature flag information for using custom roles by @heidi.berry (merge request)
- Add new
gitlab_group_deploy_tokenandgitlab_project_deploy_tokenresources. The existing genericgitlab_deploy_tokenresource has now been deprecated. by @mness (merge request) - Add new
gitlab_group_saml_linksdatasource by @heidi.berry (merge request) - Support client-go config file for provider authentication. See more information here: https://gitlab.com/gitlab-org/api/client-go#use-the-config-package-experimental by @timofurrer (merge request)
- resource/gitlab_project_level_notifications: Update to handle unknown value validation by @PatrickRice (merge request)
- resource/gitlab_group: Add support for
administratortoproject_creation_levelby @aldo.salas1 (merge request) - resource/gitlab_group_security_policy_attachments: This resource now checks permissions prior to adding the policy, and fails with a informative error if permissions are missing by @PatrickRice (merge request)
- resource/gitlab_project_security_policy_attachments: This resource now checks permissions prior to adding the policy, and fails with a informative error if permissions are missing by @PatrickRice (merge request)
- resource/gitlab_deploy_token: Add support for previously missing scope options by @mness (merge request)
- resource/gitlab_instance_service_account: Allow instance service accounts to be created without username and/or name by @heidi.berry (merge request)
- resource/gitlab_global_level_notifications: Update to handle unknown value validation by @PatrickRice (merge request)
- resource/gitlab_project_level_notifications: Update to handle unknown value validation by @PatrickRice (merge request)
- resource/gitlab_project_protected_environment: Fix error in protected environment using unknown deploy attributes by @PatrickRice (merge request)
- resource/gitlab_project_integration_github: Fix a provider panic that occurs when importing a non-existent integration by @heidi.berry (merge request)
- resource/gitlab_group_dependency_proxy: Fixed a bug where importing using an
importblock caused an immediate replace by @PatrickRice (merge request) - resource/gitlab_group: Fixed an issue with
permanently_remove_on_deletethat occurred when deleting groups on GitLab versions later than 18.0 by @heidi.berry (merge request)
- datasource/gitlab_project_access_tokens: Allows retrieving project access tokens by @ruben.aleman (merge request)
- resource/gitlab_project_container_registry_protection: Allows managing container registry protections for a project by @hristiyan.ivanov (merge request)
- resource/gitlab_project: Added support for
ci_push_repository_for_job_token_allowedby @danilobuerger (merge request) - resource/gitlab_group_hook: Add
emoji_eventssupport by @lllkq546449541 (merge request) - resource/gitlab_project_protected_environment: Create new
deploy_access_levels_attributeusing an object list instead of nested blocks to enable easier operations with other resources. The existingdeploy_access_levelsis deprecated and will be removed in 19.0. by @heidi.berry (merge request) - resource/gitlab_group_service_account: Allow using custom emails with group service accounts by @heidi.berry (merge request)
- resource/gitlab_branch_protection: Add
adminpush access level support by @netflash (merge request)
- resource/gitlab_project_label: Fixed a bug that caused a plan operation when a named color was used instead of a hex by @heidi.berry (merge request)
- access token resources: Fixed a bug where using an
unknownvalue forscopescaused an error by @PatrickRice (merge request)
- resource/gitlab_group_service_account_access_token: Fix a bug when using
scopeswith anunknownset, resulting in an error message about the provider by @heidi.berry (merge request)
- resource/gitlab_project_merge_request_note: New resource allows creating merge request notes by @heidi.berry (merge request)
- resource/gitlab_application_appearance: New resource allows managing instance-wide application appearance by @heidi.berry (merge request)
- datasource/gitlab_project_merge_requests: New datasource allows listing project merge requests by @heidi.berry (merge request)
- resource/gitlab_project: Add support for
ci_forward_deployment_rollback_allowedby @paroose (merge request) - resource/gitlab_project: Add support for
auto_duo_code_review_enabledby @mness (merge request) - resource/gitlab_project: Add
branchesoption to project resource when forking by @Taucher2003 (merge request) - resource/gitlab_group_saml_link: Update group access level list for SAML group links to include
plannerby @heidi.berry (merge request) - resource/gitlab_deploy_key: Add support for
expires_at, allowing expiring project deploy keys by @heidi.berry (merge request) - resource/gitlab_project_integration_mattermost: Rename mattermost integration resource to clarify that it's project-level. The old resource name is now deprecated. by @heidi.berry (merge request)
- resource/gitlab_project_integration_emails_on_push: Rename emails on push integration resource to clarify that it's project-level. The old resource name is now deprecated. by @heidi.berry (merge request)
- resource/gitlab_project_integration_external_wiki: Rename external wiki integration resource to clarify that it's project-level. The old resource name is now deprecated. by @heidi.berry (merge request)
- resource/gitlab_project_integration_custom_issue_tracker: Rename custom issue tracker integration resource to clarify that it's project-level. The old resource name is now deprecated. by @heidi.berry (merge request)
- resource/gitlab_project_integration_jenkins: Rename jenkins integration resource to clarify that it's project-level. The old resource name is now deprecated. by @heidi.berry (merge request)
- resource/gitlab_project_integration_harbor: Rename harbor integration resource to clarify that it's project-level. The old resource name is now deprecated. by @heidi.berry (merge request)
- resource/gitlab_group_service_account_access_token: Add support creating service account tokens with no expiry by @heidi.berry (merge request)
- resource/gitlab_project_job_token_scopes: The
enabledattribute will now attempt to check the instanceenforce_ci_inbound_job_token_scope_enabledprior to allowing a user to set the value tofalse, and will fail at plan time instead of apply time if theenabledsetting conflicts with instance settings. by @PatrickRice (merge request) - datasource/gitlab_user: Add experimental support for
email_exact_match, which will always return an exact match on the email. This will override the fuzzy matching of the GitLab search API when no users match the given email. by @ricardo.bartels (merge request) - multiple resources: Add missing examples to resources by @heidi.berry (merge request)
- Add missing deprecation notices (merge request)
- Ensure deprecation notices come out in the docs (merge request)
- resource/gitlab_branch: Add warning to use lifecycle ignore_changes for gitlab_branch.ref by @heidi.berry (merge request)
- resource/gitlab_project: If a project import fails, the specific import error will now be surfaces to the user by @heidi.berry (merge request)
- multiple label resources: Fixed an issue where using label color names would cause an error by @heidi.berry (merge request)
- resource/gitlab_repository_file: Update
encodingto be a required field by @heidi.berry (merge request) - resource/gitlab_integration_jira: Remove
project_key, useproject_keysinstead by @heidi.berry (merge request) - datasource/gitlab_project_issues: Update
not_assignee_id,not_author_id,not_my_reaction_emojifrom a list... by @heidi.berry (merge request) - Removes resource
gitlab_service_github. Usegitlab_integration_githubinstead. by @heidi.berry (merge request) - Remove resource
gitlab_service_emails_on_push. Usegitlab_integration_emails_on_pushinstead. by @heidi.berry (merge request) - Remove
force newrequirement when changing project variable environment... by @heidi.berry (merge request) - Removes resource
gitlab_service_jira. Usegitlab_integration_jirainstead. by @heidi.berry (merge request) - Remove
gitlab_service_external_wiki. Usegitlab_integration_external_wikiinstead. by @heidi.berry (merge request) - resource/gitlab_project: Remove field
name_regex, usename_regex_deleteinstead by @heidi.berry (merge request) - Remove resource
gitlab_service_pipelines_email. Usegitlab_integration_pipelines_emailinstead. by @heidi.berry (merge request) - Remove conditional check for
report_typebased on 17.2. Attempting to use... by @heidi.berry (merge request) - Remove
access_level, usegroup_accessinstead by @heidi.berry (merge request) - Removes field
soft_deleteas it was replaced by a normal delete in 14.9.... by @heidi.berry (merge request) - Remove application settings deprecated fields (See MR for details of old vs new fields) by @heidi.berry (merge request)
- Remove fields
extern_uidandexternal_providerfrom resource... by @heidi.berry (merge request) - resource/gitlab_project: Remove build_coverage_regex, simplify squash_option and secret push protection logic by @heidi.berry (merge request)
- Remove resource
gitlab_service_custom_issue_tracker. Use... by @heidi.berry (merge request) - Remove resource
gitlab_project_compliance_framework. Use... by @heidi.berry (merge request) - Remove resource
gitlab_service_microsoft_teams. Usegitlab_integration_microsoft_teams` instead. by @heidi.berry (merge request) - Breaking change, remove deprecated gitlab_service_slack by @heidi.berry (merge request)
- Add gitlab_integration_redmine resource by @0oMarko0 (merge request)
- resource/gitlab_group: Improve top level group note on gitlab_group documentation by @heidi.berry (merge request)
- resource/gitlab_instance_service_account: Add support for
emailby @bas.bremer (merge request) - Add
self_rotatesupport to tokens. Usingself_rotatewill use the token to... by @heidi.berry (merge request) - Update documentation links by @heidi.berry (merge request)
- Update documentation links by @heidi.berry (merge request)
This release was tested against GitLab 17.11, 17.10, and 17.9 for both CE and EE
- resource/gitlab_group_dependency_proxy: Adds support for managing the docker hub Group Dependency Proxy by @PatrickRice (merge request)
- resource/gitlab_project_job_token_scopes: Add support for
Enabledby @qa-andreas-grub (merge request) - resource/gitlab_group_ldap_link: Add support for
member_role_idto support custom roles by @PatrickRice (merge request) - resource/gitlab_project: Add support for ci_id_token_sub_claim_components by @bakkerduncan (merge request)
- resource/gitlab_project: Add ci_delete_pipelines_in_seconds by @ztzxt (merge request)
- resource/gitlab_project: Improved documentation for
squash_option@heidi.berry (merge request) - resource/gitlab_integration_jira: Added deprecation notice for
project_keyby @heidi.berry (merge request) - Add support for new
plannerrole to multiple membership resources by @heidi.berry (merge request) - Update documentation URLs for multiple integration resources by @@bas.bremer (merge request)
- Add token descriptions to project, group, and personal access tokens by @PatrickRice (merge request)
- resource/gitlab_project_mirror: Fixes an issue where
mirror_branch_regexwould cause a perpetual plan by @mness (merge request) - resource/gitlab_project_variable: Fixed an issue where removing project variables outside of TF could break the state file by @jonathand2 (merge request)
- resource/gitlab_group_variable: Fixed an issue where removing group variables outside of TF could break the state file by @jonathand2 (merge request)
- resource/gitlab_group: Fix an issue where
membership_lockwas set to false if not specified in the config by @PatrickRice (merge request) - resource/gitlab_group_issue_board: Fix an issue with group issue board error handling that would cause the provider to panic by @PatrickRice (merge request)
- resource/gitlab_group_issue_board: Added error handling to provide earlier error detection and messaging by @heidi.berry (merge request)
- resource/gitlab_group_membership: Fix an error where expires_at and member_role_id were not computed by @PatrickRice (merge request)
- resource/gitlab_instance_service_account: Refactor a system panic that could happen when waiting for delete by @timofurrer (merge request)
This release was tested against GitLab 17.10, 17.9, and 17.8 for both CE and EE
- resource/gitlab_project:
restrict_user_defined_variableswill always be set totrue, even when configured asfalse. This is an upstream API issue that can be tracked here. This will cause an immediateplanafterapplyif that attribute is included in the config. Removing the attribute from the config temporarily will prevent this behavior, and the setting may be configured via the API usingci_variable_override_restrictionattribute instead.
- resource/gitlab_integration_harbor: Add resource for managing project Harbor integrations by @bas.bremer (merge request)
- resource/gitlab_project_target_branch_rule: Add resource for managing defeault branch target rules for merge requests by @kevineor (merge request)
- datasource/gitlab_project_mirror_public_key: Add a new data source for retrieving public keys for project mirrors by @mness (merge request)
- datasource/gitlab_group_access_tokens: Add a new data source for retrieving group-level access tokens by @jdesnoes (merge request)
- resource/gitlab_group_hook: Add missing attributes to group_hook resource by @mness (merge request)
- resource/gitlab_group_service_account_access_token: Add support for
expiration_daysinrotation_configby @pguinoiseau (merge request) - resource/gitlab_user: Add support for
force_random_passwordby @PatrickRice (merge request) - resource/gitlab_project_variable: Add support for
hiddenvariables by @PatrickRice (merge request) - resource/gitlab_group_share_group: Add support for
member_role_idby @heidi.berry (merge request) - resource/gitlab_project_environment: Add
auto_stop_settingtogitlab_project_environmentby @jtymes (merge request) - resource/gitlab_project_mirror: Add support for
mirror_branch_regexby @heidi.berry (merge request) - resource/gitlab_project_mirror: Add support for
auth_methodby @mness (merge request) - resource/gitlab_project: Add support for
permanently_delete_on_destroyby @heidi.berry (merge request) - resource/gitlab_application_settings: Add support for
lock_memberships_to_ldapby @heidi.berry (merge request) - datasource/gitlab_users: Add support for several new attributes. by @heidi.berry (merge request)
- datasource/gitlab_project_environment: Add
auto_stop_settingas a read-only attribute by @jtymes (merge request)
- Add missing deprecation notices (merge request)
- Ensure deprecation notices come out in the docs (merge request)
- resource/gitlab_value_stream_analytics: Update
stagesfrom an unordered list to an ordered list since order matters in the API by @calee1 (merge request) - resource/gitlab_group_membership: Fix group membership resource error when user is removed outside of terraform by @mness (merge request)
- resource/gitlab_group_label: Fixed an error encountered when upgrading past version 17.5 where an
UpgradeStatefunction was missing by @PatrickRice (merge request)
This release was tested against GitLab 17.9, 17.8, and 17.7 for both CE and EE
- resource/gitlab_integration_jira:
comment_on_event_enabledisn't persisting properly to the underlying integration. This appears to be an upstream issue, but can be tracked here. This will cause an immediateplanafterapplyif that attribute is included in the config. Removing the attribute from the config temporarily will allow it to be modified via the UI until this issue is resolved.
- resource/gitlab_project_release: Add a new resource for managing project releases by @heidi.berry (merge request)
- resource/gitlab_wiki_page: Add a new wiki page resource by @nursultanryskulov1 (merge request)
- datasource/gitlab_instance_service_account: Add a new instance service account datasource by @ipsavitsky234 (merge request)
- resource/gitlab_group_variable: Added support for
hiddenvariables by @yogeshlonkar (merge request) - resource/gitlab_member_role: Align custom permissions to current API options (adds 5 new permissions to the provider) by @PatrickRice (merge request)
- resource/gitlab_project_job_token_scope: Add support for
groupd_idby @dc-tec (merge request) - resource/gitlab_project_hook: Add support for
resource_access_token_eventsby @dc-tec (merge request) - resource/gitlab_project_membership: Add custom role support to project membership via
member_role_idby @mness (merge request) - resource/gitlab_instance_service_account: Add
gitlab_instance_service_accountdocumentation by @ipsavitsky234 (merge request) - Update Documentation Links to align to new API documentation Launch by @Taucher2003 (merge request)
- Update the CONTRIBUTING.md docs to fix links and provide better development instructions by @jtymes (merge request)
- resource/gitlab_integration_jira: Fix issue where
comment_on_event_enabledcauses a plan after apply when not defined in the config by @PatrickRice (merge request) - resource/gitlab_group_service_account_access_token: Fix an error when deleting an expired service account access token using a non-admin user by @heidi.berry (merge request)
- resource/gitlab_group_service_account_access_token: Fix an error when rotating a service account access token that would cause an invalid
idattribute by @PatrickRice (merge request) - resource/gitlab_value_stream_analytics: Fix an error with label validation, fixed typo in one event name by @calee1 (merge request)
- datasource/gitlab_group_service_account: Set name and username in group service accounts as read-only to align with API by @ipsavitsky234 (merge request)
- Remove documentation related to very old GitLab versions by @heidi.berry (merge request)
- Update Documentation to include explicit version support policies by @heidi.berry (merge request)
This release was tested against GitLab 17.8, 17.7, and 17.6 for both CE and EE
Note: While we normally attempt to avoid breaking changes until major releases, this change aligns the
gitlab_project_issuesresource to the upstream API. That means that if we held off on implementing it, our users could pass in multiple values to several attributes, and the API would ignore all but the first of them. Weighing the breaking change against the bad user experience and potential confusion in userplanoperations, we determined it was better to accept the small breaking change now than hold off another 4 months for 18.0.
- datasource/gitlab_project_issues: Update several attributes to support a maximum of 1 item in their list to align to the GitLab API by @gitlab-dependency-update-bot (merge request)
- New Resource resource/gitlab_value_stream_analytics: Adds support managing value stream stages by @calee1 (merge request)
- resource/gitlab_group: Add 'owner' support for project creation level by @mness (merge request)
- resource/gitlab_group_hook: Add a validator to prevent spaces in the URL by @PatrickRice (merge request)
- resource/gitlab_project_hook: Add name and description to gitlab_project_hook resource by @heidi.berry (merge request)
- datasource/gitlab_project_membership: Support user_ids attribute by @timofurrer (merge request)
This release was tested against GitLab 17.7, 17.6, and 17.5 for both CE and EE
- resource/gitlab_group_access_token: Update token deletion logic to include a
revokecheck by @PatrickRice (merge request) - resource/gitlab_project_access_token: Update token deletion logic to include a
revokecheck by @PatrickRice (merge request)
This release was tested against GitLab 17.7, 17.6, and 17.5 for both CE and EE
- New Resource resource/gitlab_instance_service_account: Allows managing instance-level service accounts by @ipsavitsky234 (merge request)
- resource/gitlab_integration_jira: Align Jira integration resource with the API by @slaup1 (merge request)
- resource/gitlab_project: Add support for 'prevent_merge_without_jira_issue' by @slaup1 (merge request)
- resource/gitlab_branch: Add support for
keep_on_destroy, which will preserve a branch when adestroyoperation is performed by @jae-sorcero (merge request)
- resource/gitlab_group_service_account_access_token: Fixed an issue where revoking a service account token required more permissions than the documentation suggested when using SaaS by @u120230 (merge request)
- resource/gitlab_group: Fixed an issue where older versions of GitLab may fail due to missing
DefaultBranchProtectionDefaultsby @PatrickRice (merge request) - resource/gitlab_application_settings: Fixed an issue where
DefaultBranchProtectionDefaultsdidn't apply properly by @PatrickRice (merge request) - resource/gitlab_project: Fixed an issue where
restrict_user_defined_variablescaused a perpetual plan when not included in the config by @PatrickRice (merge request)
This release was tested against GitLab 17.6, 17.5, and 17.4 for both CE and EE
- resource/gitlab_group_service_account_token: Add support for
rotation_configurationwith a limited set of attributes by @heidi.berry (merge request)
- resource/gitlab_project_compliance_frameworks: Fixed an issue where project compliance frameworks didn't delete compliance frameworks properly. Fixed a bug where compliance frameworks weren't set properly on a project where they were removed outside of TF by @mness (merge request)
- resource/gitlab_group: Fixed an issue where an
allowed_email_domain_listadded outside of TF would be unset when upgrading the provider to 17.6 by @PatrickRice (merge request)
This release was tested against GitLab 17.6, 17.5, and 17.4 for both CE and EE
- New Resource resource/gitlab_project_compliance_frameworks: Add new resource
gitlab_project_compliance_frameworks, allowing managing multiple compliance frameworks on a single project by @mness (merge request) - New Datasource datasource/gitlab_group_billable_member_memberships: Add new data source
gitlab_group_billable_member_membershipsby @mdroessler (merge request) - New Datasource datasource/gitlab_project_environments: Add new data source
gitlab_project_environmentsby @ruben.aleman (merge request) - New Datasource data/gitlab_runners: Add new data source
gitlab_runnersby @ruben.aleman (merge request)
- docs: add import block examples to resources by @ruben.aleman (merge request)
- data/gitlab_project: Add
ci_pipeline_variables_minimum_rolesetting by @hfyngvason (merge request) - data/gitlab_projects: Add
ci_pipeline_variables_minimum_rolesetting by @hfyngvason (merge request) - data/gitlab_metadata: Add
external_kas_proxy_urlsetting by @timofurrer (merge request) - resource/gitlab_user_runner: Add
maintenance_notesetting by @ruben.aleman (merge request) - resource/gitlab_group: Add
allowed_email_domains_listsetting by @jeremad (merge request) - resource/gitlab_project: Add
ci_pipeline_variables_minimum_rolesetting by @hfyngvason (merge request) - resource/gitlab_project_environment: Add support for multiple attributes related to cluster agents by @timofurrer (merge request)
- resource/gitlab_project_hook: Add
custom_headerssupport by @PatrickRice (merge request) - resource/gitlab_group_hook: Add
custom_headerssupport by @PatrickRice (merge request) - resource/gitlab_branch_protection: Add
deploy_keysupport toallowed_to_pushby @nicolas.boussuge.fintech (merge request) - resource/gitlab_group_security_policy_attachment: Update documentation to make usage with compliance frameworks and policies more clear by @odupre (merge request)
- resource/personal_access_token: Remove the "RequiresReplace()" modifier on rotation_config for access tokens by @PatrickRice (merge request)
- resource/project_access_token: Remove the "RequiresReplace()" modifier on rotation_config for access tokens by @PatrickRice (merge request)
- resource/group_access_token: Remove the "RequiresReplace()" modifier on rotation_config for access tokens by @PatrickRice (merge request)
- resource/gitlab_service_account_access_token: Improve example documentation and include better information on required permissions for gitlab.com by @heidi.berry (merge request)
- resource/gitlab_member_role: Add documentation examples and import examples by @john.shimmin (merge request)
- resource/gitlab_group_label: Fix an issue where
applyfails when changing thenameattribute by @krzywykrzych (merge request) - resource/gitlab_application_settings: Fix panic when using
valid_runner_registrarsby @PatrickRice (merge request) - resource/gitlab_service_account_access_token: Fix an issue where non-admin tokens cannot use the service account access token resource by @PatrickRice (merge request)
- resource/gitlab_service_account_access_token: Fix invalid HCL in the example by @telliffoshea (merge request)
- resource/gitlab_member_role: Fix an issue where
enabled_permissionscould cause issues due to sorting by @john.shimmin (merge request) - resource/gitlab_group_access_token: Fix an issue where removing
rotation_configurationafter anapplyoperation caused a provider panic by @PatrickRice (merge request) - resource/gitlab_project_access_token: Fix an issue where removing
rotation_configurationafter anapplyoperation caused a provider panic by @PatrickRice (merge request) - resource/gitlab_personal_access_token: Fix an issue where removing
rotation_configurationafter anapplyoperation caused a provider panic by @PatrickRice (merge request)
This release was tested against GitLab 17.5, 17.4, and 17.3 for both CE and EE
- New Resource resource/gitlab_group_service_account: Allows creating service accounts for a gitlab group by @michal.szczepek (merge request)
- New Resource resource/gitlab_group_service_account_token: Allows creating service account tokens for a service account by @michal.szczepek (merge request)
- New Datasource data/gitlab_group_service_account: Allows creating service accounts for a gitlab group by @michal.szczepek (merge request)
- New Datasource data/gitlab_group_provisioned_users: Allows listing users provisioned by an Identity Provider by @nvh04121 (merge request)
- provider/gitlab: Add support for
headersto the provider to allow setting custom headers by @ruben.aleman (merge request) - resource/gitlab_application_settings: Add support for 20 additional new fields by @Jitsusama (merge request)
- resource/gitlab_application_settings: Add support for 23 (for a total of 43 in 17.5) additional new fields by @Jitsusama (merge request)
- resource/gitlab_project: Support
allow_pipeline_trigger_approve_deploymentby @loozhengyuan (merge request) - resource/gitlab_project: Support
model_experiments_access_levelandmodel_registry_access_levelby @jeremad (merge request) - resource/gitlab_group: Add support for specifying the default branch by @jae-sorcero (merge request)
- resource/gitlab_group: Add
no oneas a valid permissions when usingdefault_branch_protection_defaultsby @jae-sorcero (merge request) - resource/gitlab_personal_access_token: Add support for
rotation_configurationby @ruben.aleman (merge request) - data/gitlab_pipeline_schedules: Add
idfor each schedule found using the datasource by @nicolas.boussuge.fintech (merge request)
- resource/gitlab_project: Only apply
use_custom_templateduring creation if the value istrue. Fixes an issue where usinguse_custom_template = falsewould cause a 500 error by @PatrickRice (merge request)
This release was tested against GitLab 17.4, 17.3, and 17.2 for both CE and EE
- New Resource resource/gitlab_member_role: Allows creating custom roles at an instance or group level by @slaup1 (merge request)
- New Resource resource/user_impersonation_token: Adds support for generating an impersonation token with an admin user by @slaup1 (merge request)
- New Datasource data/gitlab_protected_tag(s): Two new datasources allow retrieving a single tag or list of tags by project by @mness (merge request)
- New Datasource data/gitlab_pipeline_schedule(s): Two new datasources allow retrieving a single pipeline schedule or list of pipeline scheduled by project by @heidi.berry (merge request)
- resource/gitlab_group: Add support for
default_branch_protection_defaultsby @heidi.berry (merge request) - resource/gitlab_group: Add support for
reject_non_dco_commitsby @mness (merge request) - resource/gitlab_project_approval_rule: Add support for
report_type, allowing the creation ofCoverage-Checkrules by @MDeVilliers1 (merge request) - resource/gitlab_group_label: Update format of the resource ID to allow
nameupdates by @nvh04121 (merge request) - resource/gitlab_group_label: Updating
nameno longer forces destroy/creation of the label by @PatrickRice (merge request - resource/gitlab_service_jira: Aligned fields to upstream API, adding support for 9 new fields by @deepflame (merge request
- resource/gitlab_application_settings: Add support for 25 new fields by @Jitsusama (merge request)
- resource/gitlab_project: Add support for
pre_receive_secret_detection_enabledby @PatrickRice (merge request) - resource/gitlab_project: Add support for
reject_non_dco_commitsby @mness (merge request) - resource/gitlab_project_push_rules: Add support for
reject_non_dco_commitsby @mness (merge request) - resource/gitlab_user: Add support for
extern_uidandexternal_providerby @heidi.berry (merge request) - docs/use-case-tech-lead-bootstrapping-small-team: Added new documentation to the provider with an example of creating a small team using GitLab by @Jitsusama (merge request)
- resource/gitlab_user_runner: Fix an issue where managing an imported runner would fail with an error that
tokenwas unknown by @PatrickRice (merge request) - resource/gitlab_personal_access_token: Fix an issue where tokens with no expiration date encountered a provider error by @PatrickRice (merge request)
This release was tested against GitLab 17.3, 17.2, and 17.1 for both CE and EE
- The provider now uses an exponential backoff when no RateLimit-Reset headers are sent from GitLab by @PatrickRice (merge request)
- resource/gitlab_project_access_token: Fixed an error when applying an update using a plan file that could cause the ID to return an error when rotating by @PatrickRice (merge request)
- resource/gitlab_project_access_token: Fixed an error when applying an update using a plan from from a previous day to rotate an access token by @PatrickRice (merge request)
- resource/gitlab_group_access_token: Fixed an error when applying an update using a plan file that could cause the ID to return an error when rotating by @PatrickRice (merge request)
- resource/gitlab_group_access_token: Fixed an error when applying an update using a plan from from a previous day to rotate an access token by @PatrickRice (merge request)
- resource/gitlab_group_protected_environment: Updated documentation for
deploy_access_levelsto be more specific by @mness (merge request) - resource/gitlab_project_protected_environment: Updated documentation for
deploy_access_levelsto be more specific by @mness (merge request) - resource/gitlab_group_saml_link: Updated documentation for
access_levelto be more descriptive when using custom roles by @PatrickRice (merge request)
This release was tested against GitLab 17.3, 17.2, and 17.1 for both CE and EE
- 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 data/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 data/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_ruleswill 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)
- 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_typeby @clemenschuaccso (merge request)
This release was tested against GitLab 17.2, 17.1, and 17.0 for both CE and EE
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)
- 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_tokenfrom SDK to TF Plugin Framework by @theipster (merge request)
- 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)
This release was tested against GitLab 17.1, 17.0, and 16.11 for both CE and EE
- Add missing deprecation notices (merge request)
- Ensure deprecation notices come out in the docs (merge request)
- 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
timeprovider caused segfaults by @PatrickRice (merge request) - resource/gitlab_project_access_token: Fix an issue where using access tokens with a
timeprovider caused segfaults by @PatrickRice (merge request)
- 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_atattribute 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_readmeto add border case documentation by @PatrickRice (merge request)
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)
This release was tested against GitLab 17.0, 16.11, and 16.10 for both CE and EE
KNOWN ISSUES:
gitlab_current_userreturns an empty string forpublic_email(#6305)
BREAKING CHANGES:
- resources/project_protected_environment: Removed support for
required_approval_countfield, userequired_approvalsinapproval_rulesordeploy_access_levelinstead (!1940) - resources/group_protected_environment: Removed support for
required_approval_countfield, userequired_approvalsinapproval_rulesordeploy_access_levelinstead (!1940) - resources/gitlab_group: Removed a version check related to
commit_committer_checkandreject_unsigned_commitsthat 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_enabledinstead (!1929) - resources/gitlab_project: Removed support for
emails_disabled, useemails_enabledinstead (!1929) - resources/gitlab_pipeline_schedule:
refnow requires the full ref instead of allowing the use of the short ref. If you previously usedmain, you now need to userefs/heads/maininstead, for example (!1923) - resources/gitlab_pipeline_trigger:
tokencan no longer be imported. (!1905) - resources/gitlab_pipeline_trigger: Updating the
projectattribute will now force the creation of a new pipeline trigger (!1905) - data/gitlab_group(s): Removed support for
emails_disabled, useemails_enabledinstead (!1929) - data/gitlab_project(s): Removed support for
emails_disabled, useemails_enabledinstead (!1929) - data/gitlab_project(s): Removed support for
public, usevisibilityinstead (!1929) masteris 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_checkto thepush_rulesblock (!1937) - resources/gitlab_project: Added support for the use of
commit_committer_name_checkto thepush_rulesblock (!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_lengthto 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_ruleson GitLab CE wherepush_rulesare not supported (!1891) - resources/gitlab_group_access_token: Fixed an issue with token rotation using
rotation_configurationwhere tokens wouldn't rotate properly afterexpires_atwas 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_atwould encounter an error after updatingexpires_attwice (!1916) - resources/gitlab_project_access_token: Fixed an issue with token rotation using
rotation_configurationwhere tokens wouldn't rotate properly afterexpires_atwas 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_atwould encounter an error after updatingexpires_attwice (!1916) - resources/gitlab_pipeline_trigger: Fixed a bug where applying TF with different users could corrupt the pipeline trigger
token!1905
This release was tested against GitLab 16.9, 16.10, and 16.11 for both CE and EE
IMPROVEMENTS:
- New Data Source data/gitlab_compliance_framework: Allows querying Compliance Frameworks to help retrieve the ID for use in downstream resources (!1880)
- resources/gitlab_project_access_token: Added support for the use of
rotation_configurationto automatically rotate tokens periodically. (!1887) - resources/gitlab_project_access_token: Added support for rotating the token by changing the
expires_atinstead of deleting and re-creating the token. (!1887) - resources/gitlab_group_access_token: Added support for the use of
rotation_configurationto automatically rotate tokens periodically. (!1887) - resources/gitlab_group_access_token: Added support for rotating the token by changing the
expires_atinstead of deleting and re-creating the token. (!1887) - resources/gitlab_project_access_token: Added support for new token scopes related to AI, k8s, and observability (!1878)
- resources/gitlab_group_access_token: Added support for new token scopes related to AI, k8s, and observability (!1878)
- resources/gitlab_project: Added support for
emails_enabledand deprecated support foremails_disabled, which will be removed in 17.0 (!1881) - resources/gitlab_project_protected_environment: Added support for
group_inheritance_type(!1855) - resources/gitlab_group_protected_environment: Added support for
group_inheritance_type(!1855) - resources/gitlab_project_hook: Added support for
custom_webhook_template(!1862) - resources/gitlab_group_hook: Added support for
custom_webhook_template(!1862) - resources/gitlab_group_membership: Added support for
member_role_id, enabling the use of a custom role when assigning users to a group (!1809) - data/gitlab_project_hook(s): Added support for
custom_webhook_template(!1862) - data/gitlab_group_hook(s): Added support for
custom_webhook_template(!1862)
BUG FIXES:
- resource/gitlab_project_hook: Fixed an issue where changing the
projectvalue didn't force a new resource (!1871)
This release was tested against GitLab 16.8, 16.9, and 16.10 for both CE and EE
NOTES:
- scripts/gitlab.rb has been updated for local development to set the license mode and customer portal URL for testing. If you're using a personal license for local development, you may need to update this file temporarily to run EE locally. (!1861)
IMPROVEMENTS:
- New Data Source datasource/gitlab_release: Allows querying a GitLab Release by project and tag name to get release information or assets (!1851)
BUG FIXES:
- resources/gitlab_project_level_mr_approvals: fixed a documentation issue with the use of
merge_requests_disable_committers_approval(!1864) - resources/gitlab_group_ldap_link: fixed an issue where deleting the group associated to an LDAP link would result in a TF state that required manual intervention. Using a value of
truewith theforceattribute will now remove the LDAP link from state when the group is deleted. (!1842) - resources/gitlab_cluster_agent: fixed the example documentation to show the file contents as encoded (!1852)
- resources/gitlab_pipeline_schedule: fixed a potential panic on the provider that could occur when there was an error editing the pipeline schedule (!1847)
This release was tested against GitLab 16.7, 16.8, and 16.9 for both CE and EE
BUG FIXES:
- Fixed a Go version mismatch when using
goreleaserthat prevented v16.9.0 from being published properly (!1839)
This release was tested against GitLab 16.7, 16.8, and 16.9 for both CE and EE
IMPROVEMENTS:
- resource/gitlab_project_variable: added support for
description(!1827) - resource/gitlab_group_variable: added support for
description(!1827) - resource/gitlab_project: added support for
ci_restrict_pipeline_cancellation_role(!1825) - datasource/gitlab_project_variable: added support for
description(!1827) - datasource/gitlab_project_variables: added support for
description(!1827) - datasource/gitlab_group_variable: added support for
description(!1827) - datasource/gitlab_group_variables: added support for
description(!1827) - datasource/gitlab_project: added support for
ci_restrict_pipeline_cancellation_role(!1825) - datasource/gitlab_projects: added support for
ci_restrict_pipeline_cancellation_role(!1825)
BUG FIXES:
- resource/gitlab_project_protected_environment: Fixed an issue where using characters in the project name that required encoding (such as "/") would cause an error (!1835)
- resource/application_settings: Fixed an issue where elasticsearch namespace and project IDs accepted a list of strings instead of a list of integers. Providing a list of integers would cause a provider error, rendering the attributes unusable. (!1824)
This release was tested against GitLab 16.6, 16.7, and 16.8 for both CE and EE
BUG FIXES:
- resource/gitlab_compliance_framework: Improved permissions-based error handling for the resource, so permissions errors don't result in a "provider error" warning (!6193)
- resource/gitlab_pipeline_schedule: Fixed an issue with
take_ownership = truewhere the ownership would only be updated when a separate attribute change was identified. The provider will now always assume ownership even if no other changes are identified (!1765)
This release was tested against GitLab 16.6, 16.7, and 16.8 for both CE and EE
BREAKING CHANGE:
- gitlab_application_settings: Removed support for
delayed_group_deletionanddelayed_project_deletion, which haven't been supported since GitLab 16.0 (!1799)
IMPROVEMENTS:
- New Resource
gitlab_global_level_notificationsallows managing global notifications for the user (!1801) - resource/gitlab_project: Added support for the
timeoutsblock, to allow configurable timeouts for creating projects (!1797) - resource/gitlab_application_settings: Added support for
housekeeping_optimize_repository_period, and updated the description ofhousekeeping_enabledto be more descriptive of what fields were required for a successful apply (!1777) - datasource/gitlab_project: Added support for
shared_with_groupswhich includes groups that are shared with the project (!1795) - datasource/gitlab_group: Added support for
shared_with_groupswhich includes groups that are shared with the group (!1769) - datasource/gitlab_user: Added support for the
is_botattribute (!1798) - datasource/gitlab_users: Added support for the
is_botattribute (!1798)
BUG FIXES:
- resource/gitlab_pipeline_schedule_variable: Fixed an issue where deleting the pipeline associated to the variable outside of terraform would cause the resource to be stuck in an error state (!1796)
- resource/gitlab_project_hook: Fixed an issue where changing the URL of a webhook would delete the associated
token. Changing the URL will now force a new webhook to be created (!1794)
This release was tested against GitLab 16.5, 16.6, and 16.7 for both CE and EE
DEPRECATION:
- This release updates the recommended Terraform version for this Provider from 1.0.0 to 1.4.0, and updates the version of Terraform we use for CI/CD to 1.4.0 as a result. This is related to a bug that was fixed in Terraform 1.4.0 related to how complex objects are compared. Without using Terraform 1.4.0, the provider cannot guarantee that plan output using nested objects is the same every time. Prior versions will likely still result in a successul plan and apply, but we will ask you to update prior to assisting with issue triage.
IMPROVEMENTS:
- resource/gitlab_branch_protection: Updating
allowed_to_pushwill no longer destroy and re-create branch protection, it will instead update it in-place (!1593) - resource/gitlab_group_issue_board: Issue boards now supports the use of scoped labels, and label position can be explicitly configured (!1771)
- resource/gitlab_project: Add support for
group_runners_enabled(!1735) - datasource/gitlab_group: Groups with many projects will now be retrieved significantly faster (!1770)
- datasource/gitlab_project: Add support for
group_runners_enabled(!1735)
BUG FIXES:
- resource/gitlab_pipeline_schedule: Fixed an issue where a pipeline schedule with no owner could cause a provider panic (!1762)
- resource/gitlab_group_ldap_link: Fixed an issue with
forcethat could cause an error when attempting to delete an ldap link (!1757)
This release was tested against GitLab 16.4, 16.5, and 16.6 for both CE and EE
KNOWN ISSUES:
- Attempting to use the
gitlab_usersdatasource withsortwill not return users in the specified sort order when used with GitLab 16.6.0, as GitLab 16.6.0 uses relevancy sorting and ignoressort. This will be resolved with GitLab 16.6.1.
IMPROVEMENTS:
- New Resource:
gitlab_project_level_notificationsallows managing notification events for project (!1715) - resource/gitlab_project_approval_rule: added support for
applies_to_all_protected_branches(!1755) - resource/gitlab_pipeline_schedule: added support for
take_ownership, which will take ownership of the pipeline schedule prior to attempting an update (!1745) - resource/gitlab_group: added support for
push_rules(!1730)
BUG FIXES:
- resource/gitlab_user_runner: Fixed an issue where not including
maximum_timeoutcould cause an issue when updating the runner (!1758) - datasource/gitlab_user: When using
email, the the data source will now return the first user returned from the API instead of encountering an error when more than one is identified. When used with GitLab 16.6.0, this will always be the exact match if an exact match is available. (!1743)
This release was tested against GitLab 16.3, 16.4, and 16.5 for both CE and EE
IMPROVEMENTS:
- New Resource:
gitlab_group_protected_environmentallows managing group-level protected environments (!1707) - resource/gitlab_user_sshkey: Added support for creating an SSH key for the current user by making
user_idoptional (!1726) - resource/gitlab_group: Added support for managing the
shared_runners_settingattribute (!1710) - resource/gitlab_project: Added support for creating an empty repository using the
empty_repoattribute (!1713) - resource/gitlab_project: Added support for the
public_jobsattribute, deprecating the oldpublic_buildsattribute (!1700) - datasource/gitlab_project: Added support for reading the
empty_repoattribute (!1713) - datasource/gitlab_projects: Added support for reading the
empty_repoattribute (!1713) - datasource/gitlab_group: Added support for reading the
shared_runner_settingattribute (!1717) - datasource/gitlab_groups: Added support for reading the
shared_runner_settingattribute (!1717) - datasource/gitlab_group_subgroups: Added support for reading the
shared_runner_settingattribute (!1719)
BUG FIXES:
- resource/gitlab_group: Removed "default" hints in the documentation, since defaults can be changed by admins in some cases (!1696)
- resource/gitlab_group_ldap_link: Fixed an issue where changing CN or Filter didn't force a new resource (!1729)
- resource/gitlab_project: Fixed an issue where the documentation didn't contain valid values for several fields (!1714)
- resource/gitlab_tag_protection: Fix d an issue where the resource read the wrong
create_access_levelwhen usingno one(!1694)
This release was tested against GitLab 16.2, 16.3, and 16.4 for both CE and EE
BUG FIXES:
- resource/gitlab_project_protected_environment: Fix segfault when using
for_eachfordeploy_access_levelswhenapproval_rulesare not specified (!1699)
This release was tested against GitLab 16.2, 16.3, and 16.4 for both CE and EE
BREAKING CHANGES:
This breaking change was made early for security reasons. If a configuration relies on the value being non-sensitive,
users can use the nonsensitive() function
in Terraform.
- resource/gitlab_user_runner:
tokenis now marked as sensitive (!1688)
IMPROVEMENTS:
- resource/gitlab_project_mirror: Updated documentation to include a warning about
keep_divergent_refsdefault value (!1691) - resource/gitlab_project_protected_environment: Add support for
approval_rules(!1679) - resource/gitlab_group_access_token: Add support for the
create_runnerscope (!1675) - resource/gitlab_personal_access_token: Add support for the
create_runnerscope (!1675) - resource/gitlab_project_access_token: Add support for the
create_runnerscope (!1675)
BUG FIXES:
- resource/gitlab_branch: No longer returns an error when the branch is missing during a destroy (!1690)
- datasource/gitlab_cluster_agents: Fixed an issue where
agent_idwas always0(!1677) - datasource/gitlab_group_subgroups: Fixed an issue where the data source returned a maximum of 20 subgroups (!1689)
This release was tested against GitLab 16.0, 16.1, and 16.2 for both CE and EE
IMPROVEMENTS:
- New Resource:
gitlab_user_runnerallows managing runners using the new runner flow without using a registration token (!1618) - New Resource:
gitlab_group_epic_boardallows managing epic boards for groups (!1658) - New Resource:
gitlab_project_job_token_allowallows 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_atattribute (!1661) - resource/gitlab_personal_access_token: Require the
expires_atattribute (!1661) - resource/gitlab_project_access_token: Require the
expires_atattribute (!1661) - resource/gitlab_pipeline_schedule_variable: Fix several spelling errors in the documentation that would make examples non-functional (!1647)
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
adminas a value forunprotect_access_level(!1626) - datasource/gitlab_groups: Add
top_level_onlysupport (!1606) - datasource/gitlab_project: Add
topicsupport (!1610)
BUG FIXES:
- resource/gitlab_application_settings: Fix documentation to list the correct
import_sources(!1638) - resource/gitlab_project: Previously,
name_regex_deletewas 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
textencoding returned a base64 encoding error (!1642)
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
encodingparameter. This allows usingtextencoding, which re-introduces the ability to have plaintext comparisons during a plan operation (!1633)
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_createattribute (!1549)
BUG FIXES:
- resource/gitlab_deploy_token: Fix dynamic
usernameattribute reading after creation (!1569) - resource/gitlab_branch_protection: Remove unsupported
no onevalue forunprotect_access_level(!1594) - resource/gitlab_project: Fix deprecation of
name_regexattribute (!1600)
MISC:
- Added a new guide for how to contribute a new resource from scratch (!1487)
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_idtogroup
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_idtoprojectwhen already on v16 - resource/gitlab_project_freeze_period: Fix state migration for
project_idtoprojectwhen already on v16 - resource/gitlab_project_membership: Fix state migration for
project_idtoprojectwhen already on v16 - resource/gitlab_project_share_group: Fix state migration for
project_idtoprojectwhen already on v16
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_idis afloat64in 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_idtoproject - resource/gitlab_project_freeze_period: Add state migration for
project_idtoproject - resource/gitlab_project_membership: Add state migration for
project_idtoproject - resource/gitlab_project_share_group: Add state migration for
project_idtoproject - resource/gitlab_project_access_token: Mark
expires_atas computed - resource/gitlab_group_access_token: Mark
expires_atas computed
- 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
valueattribute to non-sensitive (!1521) - resource/gitlab_group_variable: Change
valueattribute to non-sensitive (!1521) - resource/gitlab_project_variable: Change
valueattribute 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_idattribute 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_idattribute toproject(!1553) - resource/gitlab_project_level_mr_approvals: Change
project_idattribute toproject(!1553) - resource/gitlab_project_membership: Change
project_idattribute toproject(!1553) - resource/gitlab_project_share_group: Change
project_idattribute toproject(!1553) - resource/gitlab_project_access_token: Require
expires_atattribute (!1557)
FEATURES:
- resource/gitlab_instance_variable: Support
rawattribute (!1533) - resource/gitlab_group_variable: Support
rawattribute (!1533) - resource/gitlab_project_variable: Support
rawattribute (!1533) - datasource/gitlab_instance_variable: Support
rawattribute (!1533) - datasource/gitlab_group_variable: Support
rawattribute (!1533) - datasource/gitlab_project_variable: Support
rawattribute (!1533)
IMPROVEMENTS:
- resource/gitlab_project_environment: Wait for environment to stop before deleting it (!1509)
This release was tested against GitLab 15.9, 15.10 and 15.11 for both CE and EE.
BREAKING CHANGES:
- resource/gitlab_project: Remove specialized branch protection logic for GitLab prior to 14.11 (!1486)
IMPROVEMENTS:
- resource/gitlab_application_settings: Support
can_create_groupattribute (!1484) - resource/gitlab_project: Support
keep_latest_artifactattribute (!1506) - resource/gitlab_group_subgroups: Support
skip_groupsattribute (!1516) - datasource/gitlab_project: Support
keep_latest_artifactattribute (!1506) - datasource/gitlab_projects: Support
keep_latest_artifactattribute (!1506)
BUG FIXES:
- resource/gitlab_project: Fix waiting when
skip_wait_for_default_branch_protectionis disabled (!1489) - resource/gitlab_group_ldap_link: Fix re-creating LDAP link if it was removed out of bounds (!1495)
- resource/gitlab_runner: Fix plan for
tagsattribute to make it order independent (!1492)
This release was tested against GitLab 15.8, 15.9 and 15.10 for both CE and EE.
FEATURES:
IMPROVEMENTS:
- resource/gitlab_personal_access_token: Support
admin_modeas value in thescopesattribute (#1456) - resource/gitlab_group: Remove explicit attribute defaults. This solves an issue where newly imported resources may have plan changes for default attributes. In some cases, the new API-based default values are more permissive than the old provider-based defaults. See The linked MR for details. (#1479)
- resource/gitlab_repository_file: Add validator to avoid leading
/and./in path (#1472) - resource/gitlab_project: Deprecate the
name_regex_deletein favor of thename_regexattribute (#1466) - resource/gitlab_project: Support
environments_access_levelattribute (#1469) - resource/gitlab_project: Support
feature_flags_access_levelattribute (#1469) - resource/gitlab_project: Support
infrastructure_access_levelattribute (#1469) - resource/gitlab_project: Support
monitor_access_levelattribute (#1469) - resource/gitlab_project: Support
release_access_levelattribute (#1469) - datasource/gitlab_project: Mark
runners_tokenas sensitive (#1461) - datasource/gitlab_project: Support
environments_access_levelattribute (#1469) - datasource/gitlab_project: Support
feature_flags_access_levelattribute (#1469) - datasource/gitlab_project: Support
infrastructure_access_levelattribute (#1469) - datasource/gitlab_project: Support
monitor_access_levelattribute (#1469) - datasource/gitlab_project: Support
release_access_levelattribute (#1469) - datasource/gitlab_projects: Support
environments_access_levelattribute (#1469) - datasource/gitlab_projects: Support
feature_flags_access_levelattribute (#1469) - datasource/gitlab_projects: Support
infrastructure_access_levelattribute (#1469) - datasource/gitlab_projects: Support
monitor_access_levelattribute (#1469) - datasource/gitlab_projects: Support
release_access_levelattribute (#1469)
BUG FIXES:
- resource/gitlab_project: Add validator to the
idattribute to prevent misuse (#1476) - resource/gitlab_group: Wait for the group to be fully created and functional (#1465)
- resource/gitlab_service_slack: Fix perpetual diff in
webhookattribute due to upstream API deprecation (#1470) - resource/gitlab_service_microsoft_teams: Fix perpetual diff in
webhookattribute due to upstream API deprecation (#1470)
This release was tested against GitLab 15.7, 15.8 and 15.9 for both CE and EE.
FEATURES:
- New Resource:
gitlab_pages_domain(#1419)
IMPROVEMENTS:
- provider: Support
GITLAB_EARLY_AUTH_CHECKenvironment variable as default for theearly_auth_checkprovider attribute (#1455) - resource/gitlab_project: Support public and private repositories in
import_urlfor imports and pull mirrors (#1452)
BUG FIXES:
- resource/gitlab_application_settings: Support
"nil"forenabled_git_protocolsto disable it (#1457) - resource/gitlab_repository_file: Handle
404s whenoverwrite_on_createistrue(#1433) - datasource/gitlab_project: Don't get
push_ruleswhen user does not have permissions for it (#1450)
This release was tested against GitLab 15.6, 15.7 and 15.8 for both CE and EE.
FEATURES:
- provider: mask
tokenin provider logs (#1394)
IMPROVEMENTS:
- resource/gitlab_project: Add
ip_restriction_rangesattribute (#1392) - datasource/gitlab_group_membership: Add
inheritedattribute to include inherited memberships (#1402)
BUG FIXES:
- provider: Fix
early_auth_checkalways set totrue(#1414) - resource/gitlab_project_share_group: Fix refreshing shared groups of a project (#1412)
- resource/gitlab_project_protected_environment: Fix perpetual diffs of
deploy_access_levels(#1421) - resource/gitlab_project_approval_rule: auto-import default
any_approverrule during create (#1425) - resource/gitlab_group: Mark
shared_runners_minutes_limitandextra_shared_runners_minutes_limitasComputed(#1423) - datasource/gitlab_projects: Support validation for all valid
order_byvalues (#1429)
This release was tested against GitLab 15.5, 15.6 and 15.7 for both CE and EE.
BUG FIXES:
- provider: default to
gitlab.comas base URL if it is not provided (#1400)
- This release was tested against GitLab 15.5, 15.6 and 15.7 for both CE and EE.
- This is the first release aligned with GitLab. See #1331.
BREAKING CHANGES:
See Terraform GitLab Provider Version 15.7 Upgrade Guide for details.
- Require at least Terraform 1.0 and Terraform Protocol Version 6 (#1336)
- Provider
tokenargument has changed tosensitive(#1385)
FEATURES:
- resource/gitlab_project: Support forking a project (#1377)
- resource/gitlab_project: Support avatars (#1387)
- resource/gitlab_group: Support avatars (#1387)
- New Data Source:
gitlab_metadata(#1355)
IMPROVEMENTS:
- resource/gitlab_project: Add
ci_separated_cachesattribute (#1320) - datasource/gitlab_project: Add
ci_separated_catchesattribute (#1320) - resource/gitlab_project: Rely on API defaults to only send minimal requests (#1376)
- resource/gitlab_project: Add
restrict_user_defined_variablesattribute (#1372) - resource/gitlab_repository_file: Add
overwrite_on_createattribute (#1374)
BUG FIXES:
- resource/gitlab_user: Fix suppress logic for
skip_confirmationattribute (#1375) - resource/gitlab_project: Fix disabling
container_expiration_policy(#1386)
This release was tested against GitLab 15.4, 15.5 and 15.6 for both CE and EE.
FEATURES:
- New Data Source:
gitlab_groups(#1252) - New Data Source:
gitlab_group_subgroups(#1280) - New Data Source:
gitlab_user_sshkeys(#1296)
IMPROVEMENTS:
- resource/gitlab_project: deprecate
pipelines_enabledand remove default (#1357) - resource/gitlab_project_access_token: Support
read_registryandwrite_registryas valid scopes (#1289) - resource/gitlab_application_settings: Add
group_owners_can_manage_default_branch_protectionattribute (#1334) - resource/gitlab_user: Suppress undesired diff for
skip_confirmationattribute (#1339) - resource/gitlab_group: Add
extra_shared_runners_minutes_limitattribute (#1232) - resource/gitlab_group: Add
membership_lockattribute (#1232) - resource/gitlab_group: Add
shared_runners_minutes_limitattribute (#1232) - datasource/gitlab_group: Add
extra_shared_runners_minutes_limitattribute (#1232) - datasource/gitlab_group: Add
membership_lockattribute (#1232) - datasource/gitlab_group: Add
shared_runners_minutes_limitattribute (#1232)
This release was tested against GitLab 15.1, 15.2 and 15.3 for both CE and EE.
This is the first release from the new project on GitLab.
FEATURES
- New Resource:
gitlab_service_emails_on_push(#1305)
IMPROVEMENTS:
- resource/gitlab_project: Add
suggestion_commit_messageattribute (#1249) - datasource/gitlab_project: Add
suggestion_commit_messageattribute (#1249) - datasource/gitlab_projects: Add
suggestion_commit_messageattribute (#1249) - resource/gitlab_branch_protection: Support
no oneinunprotect_access_level(#1278)
BUG FIXES:
- resource/gitlab_repository_file: Fix check if file exists during read (#1260)
This release was tested against GitLab 15.1, 15.2 and 15.3 for both CE and EE.
FEATURES:
- New Resource:
gitlab_group_saml_link(#1243)
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_idattribute 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_providerattribute (#1220) - resource/gitlab_group_membership: Support
skip_subresources_on_destroyandunassign_issuables_on_destroyremoval option attributes (#1209) - resource/gitlab_project: Reference doc for required
gitlab_group_project_templateresource when usingtemplate_project_idattribute (#1223)
BUG FIXES:
- resource/gitlab_user_sshkey: Ignore leading and trailing whitespaces in key (#1175)
- resource/gitlab_project: Fix setting
ci_forward_deployment_enabledtofalseduring creation (#1218)
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)
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_countattribute (#1097) - resource/gitlab_project_access_token: Add
owneras possible value toaccess_level(#1145) - resource/gitlab_project_membership: Add
owneras possible value toaccess_level(#1145) - resource/gitlab_project_share_group: Add
owneras possible value toaccess_level(#1145) - resource/gitlab_project: Add
ci_default_git_depthattribute (#1146) - datasource/gitlab_project: Add
ci_default_git_depthattribute (#1146) - datasource/gitlab_projects: Add
ci_default_git_depthattribute (#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
falseto API for explicitly set optional attributes (#1152) - resource/gitlab_group: Fix passing false to API for explicitly set optional attributes (#1152)
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)
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
3fordefault_branch_protectionattribute (#1070) - resource/gitlab_project_badge: Add
nameattribute (#1052) - resource/gitlab_group: Transfer a subgroup does not longer re-create the group (#1078)
- resource/gitlab_topic: Add
nameattribute (#1095)
BUG FIXES:
- resource/gitlab_project_issue: Remove
OptionalfromComputed-only attributes (#1081) - datasource/gitlab_project_issues: Fix type of
not_milestoneattribute from list of strings to a single string (#1095)
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_pushattribute (#1009) - resource/gitlab_deploy_key_enable: Fully support
can_pushattribute (#1009) - resource/gitlab_group_access_token: Support
owneras access level (#999) - resource/gitlab_pipeline_trigger: Mark
tokenattribute as sensitive (#1034) - resource/gitlab_project: Deprecate
build_coverage_regex(#1036) - resource/gitlab_project_access_token: Add
access_levelattribute (#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_filemodeattribute (#1038) - resource/gitlab_user: Add
namespace_idattribute (#987) - datasource/gitlab_user: Add
namespace_idattribute (#987) - datasource/gitlab_users: Add
namespace_idattribute (#987)
BUG FIXES:
- resource/gitlab_service_slack: Fix a resource ID bug that causes
gitlab_service_slackresources that were created before provider version 3.9.0 to return an error. (#1013)
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_slackresources 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
contentto beautify plans (#972)
IMPROVEMENTS:
- resource/gitlab_branch_protection: Make
push_access_levelandmerge_access_leveloptional (#934) - resource/gitlab_branch_protection: Add
unprotect_access_levelandallowed_to_unprotectattributes (#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_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
auto_cancel_pending_pipelinesattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
auto_devops_deploy_strategyattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
auto_devops_enabledattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
autoclose_referenced_issuesattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
build_git_strategyattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
builds_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
container_expiration_policyattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
container_registry_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
emails_disabledattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
external_authorization_classification_labelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
forking_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
issues_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
merge_commit_templateattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
merge_requests_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
operations_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
public_buildsattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
repository_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
repository_storageattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
requirements_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
resolve_outdated_diff_discussionsattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
security_and_compliance_access_levelattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
squash_commit_templateattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
topicsattribute (#917) - resource/gitlab_project, datasource/gitlab_project, datasource/gitlab_projects: Add
wiki_access_levelattribute (#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)
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_slackresources 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_groupattribute (#914) - resource/gitlab_group: Add
prevent_forking_outside_groupattribute (#914) - resource/gitlab_project_approval_rule: Add
rule_typeattribute (#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)
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_slackresources 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)
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_slackresources 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_enabledandmerge_trains_enabledattributes (#900) - resource/gitlab_project_level_mr_approvals: Add
required_password_to_approveattribute (#808) - resource/gitlab_user: Add support for
deactivateduser state (#899)
BUG FIXES:
- resource/gitlab_branch_protection: fix issue claiming that no valid access level(#892)
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_slackresources 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 levelcan be found (#892)
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_slackresources that were created before 3.9.0, you should skip this version.
FEATURES:
IMPROVEMENTS:
- datasource/gitlab_project: Add
printing_merge_request_link_enabledattribute (#783) - datasource/gitlab_project: Add
ci_forward_deployment_enabledattribute (#732) - datasource/gitlab_projects: Add
ci_forward_deployment_enabledattribute (#732) - datasource/gitlab_group_membership: Support pagination (#858)
- resource/gitlab_group_ldap_link: Add import support (#771)
- resource/gitlab_project: Add
ci_forward_deployment_enabledattribute (#732) - resource/gitlab_project: Add
printing_merge_request_link_enabledattribute (#783) - resource/gitlab_project_hook: Add
releases_eventsattribute (#773) - resource/gitlab_branch_protection: Add
allow_force_pushattribute (#877) - resource/gitlab_service_jira: Add
api_urlattribute (#597) - resource/gitlab_user: Add
stateattribute 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_protectionto0(#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_repoandweb_urlattributes ifpathchanges (#875)
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_slackresources that were created before 3.9.0, you should skip this version.
BUGFIXES:
- Fix crash in
gitlab_userdata source
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_slackresources that were created before 3.9.0, you should skip this version.
FEATURES:
- 0519c96 - Add
gitlab_repository_fileresource (#724) - a915ccb - Add the
gitlab_project_access_tokenresource (#588) - 8564a07 - Add
gitlab_group_custom_attribute,gitlab_project_custom_attribute, andgitlab_user_custom_attribute(#731) - 39b0b6d - Add support for
gitlab_group_badgeresource (#673) - dd0da2b - Implement configuration of the integration "Microsoft Teams" (#308) (#784)
- febe745 - Add
gitlab_project_protected_branchandgitlab_project_protected_branchesdata sources (#551) - b4d4f8d - Support
early_auth_checkflag in provider config (#787) - 1455db0 - Add
gitlab_managed_licenseresource (#700) - be59cd1 - New
archive_on_destroyattribute forgitlab_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_templateandmerge_requests_templateattributes 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, andgitlab_tag_protection(#819) - 1455db0 - New attribute
group_accessingitlab_project_share_groupandgitlab_group_ldap_link(attributeaccess_levelis now considered deprecated on those resources) (#819)
BUGFIXES:
- f3b0f31 - Handle manually removed resources (#318)
- fc84cc3 - Properly allow arguments
idorpath_with_namespacefor 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_approvalsimport (#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)
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 gitlab.com/gitlab-org/api/client-go 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)
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)
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 gitlab.com/gitlab-org/api/client-go from 0.44.0 to 0.46.0 (#586)
BUG FIXES:
- Fix "Run failed" on forks (#565)
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_pathin addition toidin 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:
FEATURES:
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)
FEATURES:
- Project Approval Rules (#250)
ENHANCEMENTS
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)
BREAKING CHANGES:
- Resource
gitlab_project_push_ruleshas been removed. You now instead specify project push rules using thepush_rulesattribute on thegitlab_projectresource. - The
shared_with_groupsattribute has been removed from thegitlab_projectresource (but not the data source). You may use thegitlab_project_share_groupresource instead.
NOTES:
- If you are using the
environment_scopeattribute ofgitlab_project_variableto 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_variableresource changed. The upgrade should be automatic. - The default value of the
gitlab_project_variableresource'senvironment_scopeattribute has changed from0to*.
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_namespaceandpush_rules(#405, #403, #422) - resource/gitlab_branch_protection: New
code_owner_approval_requiredattribute (#380) - resource/gitlab_project: New attributes
packages_enabled,path_with_namespace, andpush_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, andtwo_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_urlattribute (#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
emailattribute can be changed without forcing recreation (#261) - resource/gitlab_user: Require either the
passwordorreset_passwordattribute 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_branchattribute changing tonullafter first apply (#343) - resource/gitlab_project_share_group: Fix the
access_levelattribute 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_scopefrom0to*(#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)
ENHANCEMENTS:
- Improvements to resource
gitlab_userimport (#340)
FEATURES:
- New Resource:
gitlab_service_github(#311)
ENHANCEMENTS:
- add attribute
remove_source_branch_after_mergeto projects (#289)
BUGFIXES:
- fix for flaky
gitlab_grouptests (#320) - Creating custom skip function for group_ldap_link tests. (#328)
FEATURES:
ENHANCEMENTS:
- Add
management_project_idfor Group and Project Clusters (#301)
FEATURES:
ENHANCEMENTS:
- Update resource gitlab_group_label to read labels from all pages (#302)
- Provide a way to specify client cert and key (#315)
BUGFIXES:
- Increase MaxIdleConnsPerHost in http.Transport (#305)
- Implement
maskedparameters forgitlab_group_variable(#271)
ENHANCEMENTS:
- Add jira flags (#274)
BUGFIXES:
- Support for soft-delete of groups and projects in Gitlab Enterprise Edition (#282, #283, #285, #291)
ENHANCEMENTS:
- Switched from Travis CI to Github Actions (#216)
ENHANCEMENTS:
- Implement
lfs_enabled,request_access_enabled, andpipelines_enabledparameters forgitlab_project(#225, #226, #227)
BUGFIXES:
- Fix label support when there is more than 20 labels on a project (#229)
- Enable
environment_scopeforgitlab_project_variablelookup (#228) - Fix users data source when there is more than 20 users returned (#230)
FEATURES:
- New Resource:
gitlab_group_label(#186) - New Resource:
gitlab_group_cluster(#178) - New Resource:
gitlab_pipeline_schedule_variable(#204)
ENHANCEMENTS:
- Add
runners_tokento gitlab groups (#218) - Add
reset_passwordtogitlab_user(#127) - Update
access_levelavailable values (#220) - Make read callbacks graceful for
gitlab_project_share_group,gitlab_branch_protectionandgitlab_labelresources (#223)
BUGFIXES:
- Fix state not being updated for
gitlab_branch_protection(#166) - Set ForceNew for
gitlab_pipeline_scheduleproject(#203)
We would like to thank Gitlab, which has provided us a EE license. This project is now tested against Gitlab CE and Gitlab EE.
FEATURES:
- New Resource:
gitlab_project_push_rules(#163) - New Resource:
gitlab_deploy_key_enable(#176) - New Resource:
gitlab_project_share_group(#167)
ENHANCEMENTS:
- Add
initialize_with_readmetogitlab_project(#179) - Add support for more variable options (#169)
- Documentation improvements (#168, #187, #171)
BUGFIXES:
- Fix tag protection URL (#156)
- Properly manage the default branch in a git repo (#158)
- Resolve triggers pagination issue by calling
GetPipelineTrigger(#173)
FEATURES:
ENHANCEMENTS:
- Add
archivedargument togitlab_project(#148) - Add
managedargument togitlab_project_cluster(#137)
FEATURES:
- New Datasource:
gitlab_group(#129)
This is the first release to support Terraform 0.12.
BACKWARDS INCOMPATIBILITIES:
- all: Previous versions of this provider silently removed state from state when
Gitlab returned an error 404. Now we error on this and you must reconciliate
the state (e.g.
terraform state rm). We have done this because we can not make the difference between permission denied and resources removed outside of terraform (gitlab returns 404 in both cases) (#130)
FEATURES:
- New Resource:
gitlab_tag_protection(#125)
ENHANCEMENTS:
- Add
container_registry_enabledargument togitlab_project(#115) - Add
shared_runners_enabledargument togitlab_project(#134 #104)
FEATURES:
ENHANCEMENTS:
- Support for request/response logging when >
DEBUGseverity is set (#93) - Datasource
gitlab_usersupports user_id, email lookup and return lots of new attributes (#102) - Resource
gitlab_deploy_keycan now be imported (#197) - Add
tagsattribute forgitlab_project(#106)
BUGFIXES:
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_groupsis now order-independent (#86)- add
merge_method,only_allow_merge_if_*,approvals_before_mergeparameters togitlab_project(#72, #88)
FEATURES:
- New Resource:
gitlab_project_membership - New Resource:
gitlab_group_membership(#8) - New Resource:
gitlab_project_variable(#47) - New Resource:
gitlab_group_variable(#47)
BACKWARDS INCOMPATIBILITIES:
gitlab_project_membership is not compatible with a previous unreleased version due to an id change resource will need to be reimported manually
e.g
terraform state rm gitlab_project_membership.foo
terraform import gitlab_project_membership.foo 12345:1337BACKWARDS INCOMPATIBILITIES:
- This provider now uses the v4 api. It means that if you set up a custom API url, you need to update it to use the /api/v4 url. As a side effect, we no longer support Gitlab < 9.0. (#20)
- We now support Parent ID for
gitlab_groups. However, due to a limitation in the gitlab API, changing a Parent ID requires destroying and recreating the group. Since previous versions of this provider did not support it, there are chances that terraform will try do delete all your nested group when you update to 1.0.0. A workaround to prevent this is to use theignore_changeslifecycle parameter. (#28)
resource "gitlab_group" "nested_group" {
name = "bar-name-%d"
path = "bar-path-%d"
lifecycle {
ignore_changes = ["parent_id"]
}
}
FEATURES:
IMPROVEMENTS:
- Add
cacert_fileandinsecureoptions to the provider. (#5) - Fix race conditions with
gitlab_projectdeletion. (#19) - Add
parent_idargument togitlab_group. (#28) - Add support for
gitlab_projectimport. (#30) - Add support for
gitlab_groupsimport. (#31) - Add
pathargument forgitlab_project. (#21) - Fix indempotency issue with
gitlab_deploy_keyand white spaces. (#34)
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout