FEATURES:
- New Data Source:
gitlab_group_membership
[GH-264] - New Resource:
gitlab_project_level_mr_approvals
[GH-356] - New Resource:
gitlab_project_mirror
[GH-358] - New Resource:
gitlab_service_pipelines_email
[GH-375]
ENHANCEMENTS:
- resource/gitlab_branch_protection: New
code_owner_approval_required
attribute [GH-380] - resource/gitlab_group_label: Can now be imported [GH-339]
- resource/gitlab_project: New
import_url
attribute [GH-381] - resource/gitlab_project_push_rules: Can now be imported [GH-360]
- resource/gitlab_project_variable: Better error message when a masked variable fails validation [GH-371]
- resource/gitlab_service_jira: Automatically detect removal [GH-337]
- resource/gitlab_user: The
email
attribute can be changed without forcing recreation [GH-261]
BUG FIXES:
- resource/gitlab_pipeline_schedule: Fix a rare error during deletion [GH-364]
- resource/gitlab_pipeline_schedule_variable: Fix a rare error during deletion [GH-364]
- resource/gitlab_service_jira: Fix a rare state inconsistency problem during creation [GH-363]
- resource/gitlab_user: Fix some attributes saving incorrectly in state [GH-261]
ENHANCEMENTS:
- Improvements to resource
gitlab_user
import (#340)
FEATURES:
- New Resource:
gitlab_service_github
(#311)
ENHANCEMENTS:
- add attribute
remove_source_branch_after_merge
to projects (#289)
BUGFIXES:
- fix for flaky
gitlab_group
tests (#320) - Creating custom skip function for group_ldap_link tests. (#328)
FEATURES:
ENHANCEMENTS:
- Add
management_project_id
for 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
masked
parameters 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_enabled
parameters forgitlab_project
(#225, #226, #227)
BUGFIXES:
- Fix label support when there is more than 20 labels on a project (#229)
- Enable
environment_scope
forgitlab_project_variable
lookup (#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_token
to gitlab groups (#218) - Add
reset_password
togitlab_user
(#127) - Update
access_level
available values (#220) - Make read callbacks graceful for
gitlab_project_share_group
,gitlab_branch_protection
andgitlab_label
resources (#223)
BUGFIXES:
- Fix state not being updated for
gitlab_branch_protection
(#166) - Set ForceNew for
gitlab_pipeline_schedule
project
(#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_readme
togitlab_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
archived
argument togitlab_project
(#148) - Add
managed
argument 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_enabled
argument togitlab_project
(#115) - Add
shared_runners_enabled
argument togitlab_project
(#134 #104)
FEATURES:
ENHANCEMENTS:
- Support for request/response logging when >
DEBUG
severity is set (#93) - Datasource
gitlab_user
supports user_id, email lookup and return lots of new attributes (#102) - Resource
gitlab_deploy_key
can now be imported (#197) - Add
tags
attribute 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_groups
is now order-independent (#86)- add
merge_method
,only_allow_merge_if_*
,approvals_before_merge
parameters 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:1337
BACKWARDS 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_changes
lifecycle parameter. (#28)
resource "gitlab_group" "nested_group" {
name = "bar-name-%d"
path = "bar-path-%d"
lifecycle {
ignore_changes = ["parent_id"]
}
}
FEATURES:
IMPROVEMENTS:
- Add
cacert_file
andinsecure
options to the provider. (#5) - Fix race conditions with
gitlab_project
deletion. (#19) - Add
parent_id
argument togitlab_group
. (#28) - Add support for
gitlab_project
import. (#30) - Add support for
gitlab_groups
import. (#31) - Add
path
argument forgitlab_project
. (#21) - Fix indempotency issue with
gitlab_deploy_key
and white spaces. (#34)
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout