You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,29 @@
1
+
## 16.4.0 (2023-09-22)
2
+
3
+
This release was tested against GitLab 16.2, 16.3, and 16.4 for both CE and EE
4
+
5
+
BREAKING CHANGES:
6
+
7
+
This breaking change was made early for security reasons. If a configuration relies on the value being non-sensitive,
8
+
users can use the [`nonsensitive()`](https://developer.hashicorp.com/terraform/language/functions/nonsensitive) function
9
+
in Terraform.
10
+
11
+
- resource/gitlab_user_runner: `token` is now marked as sensitive ([!1688](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1688))
12
+
13
+
IMPROVEMENTS:
14
+
15
+
- resource/gitlab_project_mirror: Updated documentation to include a warning about `keep_divergent_refs` default value ([!1691](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1691))
16
+
- resource/gitlab_project_protected_environment: Add support for `approval_rules` ([!1679](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1679))
17
+
- resource/gitlab_group_access_token: Add support for the `create_runner` scope ([!1675](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1675))
18
+
- resource/gitlab_personal_access_token: Add support for the `create_runner` scope ([!1675](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1675))
19
+
- resource/gitlab_project_access_token: Add support for the `create_runner` scope ([!1675](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1675))
20
+
21
+
BUG FIXES:
22
+
23
+
- resource/gitlab_branch: No longer returns an error when the branch is missing during a destroy ([!1690](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1690))
24
+
- datasource/gitlab_cluster_agents: Fixed an issue where `agent_id` was always `0` ([!1677](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1677))
25
+
- datasource/gitlab_group_subgroups: Fixed an issue where the data source returned a maximum of 20 subgroups ([!1689](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1689))
26
+
1
27
## 16.3.0 (2023-08-22)
2
28
3
29
This release was tested against GitLab 16.0, 16.1, and 16.2 for both CE and EE
-`expires_at` (String) The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD.
44
44
-`group` (String) The ID or path of the group to add the group access token to.
45
45
-`name` (String) The name of the group access token.
46
-
-`scopes` (Set of String) The scope for the group access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `read_api`, `read_registry`, `write_registry`, `read_repository`, `write_repository`.
46
+
-`scopes` (Set of String) The scope for the group access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `read_api`, `read_registry`, `write_registry`, `read_repository`, `write_repository`, `create_runner`.
-`expires_at` (String) The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD.
43
43
-`name` (String) The name of the personal access token.
44
-
-`scopes` (Set of String) The scope for the personal access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `read_user`, `read_api`, `read_repository`, `write_repository`, `read_registry`, `write_registry`, `sudo`, `admin_mode`.
44
+
-`scopes` (Set of String) The scope for the personal access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `read_user`, `read_api`, `read_repository`, `write_repository`, `read_registry`, `write_registry`, `sudo`, `admin_mode`, `create_runner`.
-`scopes` (Set of String) The scope for the project access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `read_api`, `read_registry`, `write_registry`, `read_repository`, `write_repository`, `create_runner`.
-`approval_rules` (Attributes List) Array of approval rules to deploy, with each described by a hash. (see [below for nested schema](#nestedatt--approval_rules))
97
138
-`deploy_access_levels` (Block Set) Array of access levels allowed to deploy, with each described by a hash. (see [below for nested schema](#nestedblock--deploy_access_levels))
98
139
-`required_approval_count` (Number) The number of approvals required to deploy to this environment.
99
140
100
141
### Read-Only
101
142
102
143
-`id` (String) The ID of this Terraform resource. In the format of `<project>:<environment-name>`.
103
144
145
+
<aid="nestedatt--approval_rules"></a>
146
+
### Nested Schema for `approval_rules`
147
+
148
+
Optional:
149
+
150
+
-`access_level` (String) Levels of access allowed to approve a deployment to this protected environment. Valid values are `developer`, `maintainer`.
151
+
-`group_id` (Number) The ID of the group allowed to approve a deployment to this protected environment. The project must be shared with the group. This is mutually exclusive with user_id.
152
+
-`required_approvals` (Number) The number of approval required to allow deployment to this protected environment. This is mutually exclusive with user_id.
153
+
-`user_id` (Number) The ID of the user allowed to approve a deployment to this protected environment. The user must be a member of the project. This is mutually exclusive with group_id and required_approvals.
154
+
155
+
Read-Only:
156
+
157
+
-`access_level_description` (String) Readable description of level of access.
158
+
-`id` (Number) The unique ID of the Approval Rules object.
159
+
160
+
104
161
<aid="nestedblock--deploy_access_levels"></a>
105
162
### Nested Schema for `deploy_access_levels`
106
163
@@ -113,6 +170,7 @@ Optional:
113
170
Read-Only:
114
171
115
172
-`access_level_description` (String) Readable description of level of access.
173
+
-`id` (Number) The unique ID of the Deploy Access Level object.
0 commit comments