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