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
+22-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,26 @@
1
1
2
+
## 17.3.0 (2024-08-15)
3
+
4
+
This release was tested against GitLab 17.3, 17.2, and 17.1 for both CE and EE
5
+
6
+
### IMPROVEMENTS (8 changes)
7
+
8
+
-**New Resource** resource/gitlab_group_security_policy_attachment: [Add new resource for association security policy projects to a group](gitlab-org/terraform-provider-gitlab@fa00e1ec7636dc47b9b4292d164825bf39af0cef) by @PatrickRice ([merge request](gitlab-org/terraform-provider-gitlab!2048))
9
+
-**New Datasource** resource/gitlab_group_ids: [Add new datasource retrieving group ID, Full Path, or GraphQL ID based on group ID or Url-encoded path](gitlab-org/terraform-provider-gitlab@e0b0f88070caea6592c1983aa7792a77b27e9b88) by @PatrickRice ([merge request](gitlab-org/terraform-provider-gitlab!2057))
10
+
-**New Datasource** resource/gitlab_project_ids: [Add new datasource retrieving project ID, Full Path, or GraphQL ID based on project ID or Url-encoded path](gitlab-org/terraform-provider-gitlab@e0b0f88070caea6592c1983aa7792a77b27e9b88) by @PatrickRice ([merge request](gitlab-org/terraform-provider-gitlab!2057))
11
+
- resource/gitlab_project_job_token_scopes: [Add support for `target_group_ids`, allowing groups to be used in the allow list](gitlab-org/terraform-provider-gitlab@f4246b814952900a5ddfb509ca2c081d47e820e1) by @chapsuK ([merge request](gitlab-org/terraform-provider-gitlab!2040))
12
+
- resource/gitlab_group: [Add support for `permanently_remove_on_delete`, allowing groups to be permanently deleted on destroy instead of entering a waiting period](gitlab-org/terraform-provider-gitlab@a0374ef9b9ff87cc9f93a1523fc3bd0998ab0c6f) by @PatrickRice ([merge request](gitlab-org/terraform-provider-gitlab!2044))
13
+
- resource/gitlab_application_settings: [Add support for `max_terraform_state_size_bytes`, allowing configuration of terraform state size at an instance level](gitlab-org/terraform-provider-gitlab@d852a3360f034648816969cb3f94e310f6fb74d9) by @christian.affolter ([merge request](gitlab-org/terraform-provider-gitlab!1960))
14
+
- resource/gitlab_project_push_rules: [`gitlab_project_push_rules` will now take over ownership of existing push rules, since a default set is created on project creation](gitlab-org/terraform-provider-gitlab@89e32696080ab4647d49cd077f7ffe0a5675766e) by @mness ([merge request](gitlab-org/terraform-provider-gitlab!2046))
15
+
- resource/gitlab_project_job_token_scopes: [Added support for `project`, allowing the use of the resource by project ID or url-encoded path](gitlab-org/terraform-provider-gitlab@f040983bed1545fe445d41fb56e36f938cee35de) by @heidi.berry ([merge request](gitlab-org/terraform-provider-gitlab!1981))
16
+
17
+
### BUG FIXES (4 changes)
18
+
19
+
- resource/gitlab_group_access_token: [Fix example to use the proper resource](gitlab-org/terraform-provider-gitlab@f20836445c6190feb4dc081eca9f02887b39c205) by @blrz ([merge request](gitlab-org/terraform-provider-gitlab!2050))
20
+
- resource/gitlab_group_security_policy_attachment: [Fix example to use the proper resource](gitlab-org/terraform-provider-gitlab@0fe493c436fb7bb333d40c8f5aab8da18f1c272c) by @calebw ([merge request](gitlab-org/terraform-provider-gitlab!2054))
21
+
- resource/gitlab_project_security_policy_attachment: [Fix example to use the proper resource](gitlab-org/terraform-provider-gitlab@0fe493c436fb7bb333d40c8f5aab8da18f1c272c) by @calebw ([merge request](gitlab-org/terraform-provider-gitlab!2054))
22
+
- resource/gitlab_user_runner: [Fix description to remove typo in `group_type`](gitlab-org/terraform-provider-gitlab@f67c731da1f9fcd102053c047de1455043853291) by @clemenschuaccso ([merge request](gitlab-org/terraform-provider-gitlab!2049))
23
+
2
24
## 17.2.0 (2024-07-18)
3
25
4
26
This release was tested against GitLab 17.2, 17.1, and 17.0 for both CE and EE
@@ -12,7 +34,6 @@ Note: As a security related change, this breaking change is allowed outside a ma
12
34
13
35
-**New Resource** resource/gitlab_project_security_policy_attachment: [Add new resource for associating security policy projects to a project](gitlab-org/terraform-provider-gitlab@3fc5f6c8a9d74f8b034af84a73fb9dcb6d323179) by @PatrickRice ([merge request](gitlab-org/terraform-provider-gitlab!2009))
14
36
- resource/gitlab_personal_access_token: [Migrate `gitlab_personal_access_token` from SDK to TF Plugin Framework](gitlab-org/terraform-provider-gitlab@24489118da1ce464994cdfcedecbe804edf65490) by @theipster ([merge request](gitlab-org/terraform-provider-gitlab!2005))
# generated by https://github.com/hashicorp/terraform-plugin-docs
3
+
page_title: "gitlab_group_ids Data Source - terraform-provider-gitlab"
4
+
subcategory: ""
5
+
description: |-
6
+
The gitlab_group_ids data source identification information for a given group, allowing a user to translate a full path or ID into the GraphQL ID of the group.
7
+
Upstream API: GitLab GraphQL API docs https://docs.gitlab.com/ee/api/graphql/reference/#querygroup
8
+
---
9
+
10
+
# gitlab_group_ids (Data Source)
11
+
12
+
The `gitlab_group_ids` data source identification information for a given group, allowing a user to translate a full path or ID into the GraphQL ID of the group.
13
+
14
+
**Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/ee/api/graphql/reference/#querygroup)
15
+
16
+
## Example Usage
17
+
18
+
```terraform
19
+
resource "gitlab_group" "new_group" {
20
+
// include required attributes
21
+
}
22
+
23
+
// use group IDs to get additional information, such as the GraphQL ID
24
+
// for other resources
25
+
data "gitlab_group_ids" "foo" {
26
+
group = "gitlab_group.new_group.id"
27
+
}
28
+
29
+
output "graphQL_id" {
30
+
value = data.gitlab_group_ids.foo.group_graphql_id
31
+
}
32
+
```
33
+
34
+
<!-- schema generated by tfplugindocs -->
35
+
## Schema
36
+
37
+
### Required
38
+
39
+
-`group` (String) The ID or URL-encoded path of the group.
40
+
41
+
### Read-Only
42
+
43
+
-`group_full_path` (String) The full path of the group.
44
+
-`group_graphql_id` (String) The GraphQL ID of the group.
45
+
-`group_id` (String) The ID of the group.
46
+
-`id` (String) The ID of this Terraform resource. In the format of `<group_id>`.
# generated by https://github.com/hashicorp/terraform-plugin-docs
3
+
page_title: "gitlab_project_ids Data Source - terraform-provider-gitlab"
4
+
subcategory: ""
5
+
description: |-
6
+
The gitlab_project_ids data source identification information for a given project, allowing a user to translate a full path or ID into the GraphQL ID of the project.
7
+
Upstream API: GitLab GraphQL API docs https://docs.gitlab.com/ee/api/graphql/reference/#queryproject
8
+
---
9
+
10
+
# gitlab_project_ids (Data Source)
11
+
12
+
The `gitlab_project_ids` data source identification information for a given project, allowing a user to translate a full path or ID into the GraphQL ID of the project.
13
+
14
+
**Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/ee/api/graphql/reference/#queryproject)
15
+
16
+
## Example Usage
17
+
18
+
```terraform
19
+
resource "gitlab_project" "new_project" {
20
+
// include required attributes
21
+
}
22
+
23
+
// use project IDs to get additional information, such as the GraphQL ID
24
+
// for other resources
25
+
data "gitlab_project_ids" "foo" {
26
+
project = "gitlab_project.new_project.id"
27
+
}
28
+
29
+
output "graphQL_id" {
30
+
value = data.gitlab_project_ids.foo.project_graphql_id
31
+
}
32
+
```
33
+
34
+
<!-- schema generated by tfplugindocs -->
35
+
## Schema
36
+
37
+
### Required
38
+
39
+
-`project` (String) The ID or URL-encoded path of the project.
40
+
41
+
### Read-Only
42
+
43
+
-`id` (String) The ID of this Terraform resource. In the format of `<project_id>`.
44
+
-`project_full_path` (String) The full path of the project.
45
+
-`project_graphql_id` (String) The GraphQL ID of the project.
-`max_pages_size` (Number) Maximum size of pages repositories in MB.
190
190
-`max_personal_access_token_lifetime` (Number) Maximum allowable lifetime for access tokens in days.
191
191
-`max_ssh_key_lifetime` (Number) Maximum allowable lifetime for SSH keys in days. Introduced in GitLab 14.6.
192
+
-`max_terraform_state_size_bytes` (Number) Maximum size in bytes of the Terraform state files. Set this to 0 for unlimited file size.
192
193
-`metrics_method_call_threshold` (Number) A method call is only tracked when it takes longer than the given amount of milliseconds.
193
194
-`minimum_password_length` (Number) Indicates whether passwords require a minimum length. Introduced in GitLab 15.1. Premium and Ultimate only.
194
195
-`mirror_available` (Boolean) Allow repository mirroring to configured by project Maintainers. If disabled, only Administrators can configure repository mirroring.
-`membership_lock` (Boolean) Users cannot be added to projects in this group.
70
70
-`mentions_disabled` (Boolean) Disable the capability of a group from getting mentioned.
71
71
-`parent_id` (Number) Id of the parent group (creates a nested group).
72
+
-`permanently_remove_on_delete` (Boolean) Whether the group should be permanently removed during a `delete` operation. This only works with subgroups. Must be configured via an `apply` before the `destroy` is run.
72
73
-`prevent_forking_outside_group` (Boolean) Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
73
74
-`project_creation_level` (String) Determine if developers can create projects in the group. Valid values are: `noone`, `maintainer`, `developer`
74
75
-`push_rules` (Block List, Max: 1) Push rules for the group. (see [below for nested schema](#nestedblock--push_rules))
-`group` (String) The ID or Full Path of the group which will have the security policy project assigned to it.
74
+
-`policy_project` (String) The ID or Full Path of the security policy project.
75
+
76
+
### Read-Only
77
+
78
+
-`group_graphql_id` (String) The GraphQL ID of the group to which the security policty project will be attached.
79
+
-`id` (String) The ID of this Terraform resource. In the format of `<group>:<policy_project>`.
80
+
-`policy_project_graphql_id` (String) The GraphQL ID of the security policy project.
81
+
82
+
## Import
83
+
84
+
Import is supported using the following syntax:
85
+
86
+
```shell
87
+
# GitLab group security policy attachments can be imported using an id made up of `group:policy_project_id` where the policy project ID is the project ID of the policy project, e.g.
0 commit comments