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
+36
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,39 @@
1
+
## 17.10.0 (2025-03-20)
2
+
3
+
This release was tested against GitLab 17.10, 17.9, and 17.8 for both CE and EE
4
+
5
+
## KNOWN ISSUES (1 change)
6
+
7
+
- resource/gitlab_project: `restrict_user_defined_variables` will always be set to `true`, even when configured as `false`. This is an upstream API issue that can be tracked [here](https://gitlab.com/gitlab-org/gitlab/-/issues/526130). This will cause an immediate `plan` after `apply` if 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 using `ci_variable_override_restriction` attribute instead.
8
+
9
+
### FEATURES (4 changes)
10
+
11
+
- resource/gitlab_integration_harbor: [Add resource for managing project Harbor integrations](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/fb23b2cd01091be1d5527cb795a5ae63909d098e) by @bas.bremer ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2371))
12
+
- resource/gitlab_project_target_branch_rule: [Add resource for managing defeault branch target rules for merge requests](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/9b57d1dd8032e5b59b5263e6a339b508dd6978ed) by @kevineor ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2307))
13
+
- datasource/gitlab_project_mirror_public_key: [Add a new data source for retrieving public keys for project mirrors](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/c9738041b2d94286e21ef59c8b59dacf9381d72f) by @mness ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2373))
14
+
- datasource/gitlab_group_access_tokens: [Add a new data source for retrieving group-level access tokens](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/43fa923d8823deef3d473fa75c0d9c27e3ff28bb) by @jdesnoes ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2341))
15
+
16
+
### IMPROVEMENTS (12 changes)
17
+
18
+
- resource/gitlab_group_hook: [Add missing attributes to group_hook resource](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/42f0718bfd452fa435295b7854ca0628c3061a49) by @mness ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2363))
19
+
- resource/gitlab_group_service_account_access_token: [Add support for `expiration_days` in `rotation_config`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/2c5df5cf607105d0c2feda78056607e37515b5a7) by @pguinoiseau ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2326))
20
+
- resource/gitlab_user: [Add support for `force_random_password`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/b12b74b64d5720863e281dc51db5ecef5319186f) by @PatrickRice ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2354))
21
+
- resource/gitlab_project_variable: [Add support for `hidden` variables](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/cc9721a2ee3cf126c4038352943c90b08f521005) by @PatrickRice ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2369))
22
+
- resource/gitlab_group_share_group: [Add support for `member_role_id`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/9080be31789a63811113654142dc70c53d8ea2e2) by @heidi.berry ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2344))
23
+
- resource/gitlab_project_environment: [Add `auto_stop_setting` to `gitlab_project_environment`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/c8669f4ca7e59241f21badbd2be4d99001f9bdd3) by @jtymes ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2300))
24
+
- resource/gitlab_project_mirror: [Add support for `mirror_branch_regex`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/6fd6a628e8dbf01c93fe26f3359a36ed639def96) by @heidi.berry ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2360))
25
+
- resource/gitlab_project_mirror: [Add support for `auth_method`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/c9738041b2d94286e21ef59c8b59dacf9381d72f) by @mness ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2373))
26
+
- resource/gitlab_project: [Add support for `permanently_delete_on_destroy`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/f3523d96438bfe1712dce19f73ef04801b4f8fa5) by @heidi.berry ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2358))
27
+
- resource/gitlab_application_settings: [Add support for `lock_memberships_to_ldap`](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/c3ab985184d7536d8b34b4bc1a763c058930d3b1) by @heidi.berry ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2359))
28
+
- datasource/gitlab_users: [Add support for several new attributes.](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/fde7c9f221526fb1600548aafa0b748deba8d2e9) by @heidi.berry ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2361))
29
+
- datasource/gitlab_project_environment: [Add `auto_stop_setting` as a read-only attribute](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/c8669f4ca7e59241f21badbd2be4d99001f9bdd3) by @jtymes ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2300))
30
+
31
+
### BUG FIXES (3 changes)
32
+
33
+
- resource/gitlab_value_stream_analytics: [Update `stages` from an unordered list to an ordered list since order matters in the API](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/7982745332ad8f4b90d1019e6273317e58326230) by @calee1 ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2339))
34
+
- resource/gitlab_group_membership: [Fix group membership resource error when user is removed outside of terraform](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/e2ce55c59cf9af30825be8ea8c822097d5716574) by @mness ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2356))
35
+
- resource/gitlab_group_label: [Fixed an error encountered when upgrading past version 17.5 where an `UpgradeState` function was missing](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/commit/f64becbf07afce3729a31bb05071308a2e1efe3f) by @PatrickRice ([merge request](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/2368))
36
+
1
37
## 17.9.0 (2025-02-20)
2
38
3
39
This release was tested against GitLab 17.9, 17.8, and 17.7 for both CE and EE
# generated by https://github.com/hashicorp/terraform-plugin-docs
3
+
page_title: "gitlab_project_mirror_public_key Data Source - terraform-provider-gitlab"
4
+
subcategory: ""
5
+
description: |-
6
+
The gitlab_project_mirror_public_key data source allows the public key of a project mirror to be retrieved by its mirror id and the project it belongs to.
7
+
Note: Supported on GitLab 17.9 or higher.
8
+
Upstream API: GitLab REST API docs https://docs.gitlab.com/api/remote_mirrors/#get-a-single-projects-remote-mirror-public-key
9
+
---
10
+
11
+
# gitlab_project_mirror_public_key (Data Source)
12
+
13
+
The `gitlab_project_mirror_public_key` data source allows the public key of a project mirror to be retrieved by its mirror id and the project it belongs to.
14
+
15
+
**Note**: Supported on GitLab 17.9 or higher.
16
+
17
+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/remote_mirrors/#get-a-single-projects-remote-mirror-public-key)
18
+
19
+
## Example Usage
20
+
21
+
```terraform
22
+
data "gitlab_project_mirror_public_key" "example" {
23
+
project_id = 30
24
+
mirror_id = 42
25
+
}
26
+
27
+
data "gitlab_project_mirror_public_key" "example" {
28
+
project_id = "foo/bar/baz"
29
+
mirror_id = 123
30
+
}
31
+
```
32
+
33
+
<!-- schema generated by tfplugindocs -->
34
+
## Schema
35
+
36
+
### Required
37
+
38
+
-`mirror_id` (Number) The id of the remote mirror.
39
+
-`project_id` (String) The integer or path with namespace that uniquely identifies the project.
40
+
41
+
### Read-Only
42
+
43
+
-`id` (String) The ID of this Terraform resource. In the format of `<project_id>:<mirror_id>`.
44
+
-`public_key` (String) Public key of the remote mirror.
-`keep_latest_artifact` (Boolean) Prevent the deletion of the artifacts from the most recent successful jobs, regardless of the expiry time.
218
218
-`local_markdown_version` (Number) Increase this value when any cached Markdown should be invalidated.
219
219
-`lock_duo_features_enabled` (Boolean) Indicates whether the GitLab Duo features enabled setting is enforced for all subgroups. Self-managed, Premium and Ultimate only.
220
+
-`lock_memberships_to_ldap` (Boolean) Set to true to lock all memberships to LDAP. Premium and Ultimate only.
-`mailgun_signing_key` (String, Sensitive) The Mailgun HTTP webhook signing key for receiving events from webhook.
222
223
-`maintenance_mode` (Boolean) When instance is in maintenance mode, non-administrative users can sign in with read-only access and make read-only API requests.
Copy file name to clipboardExpand all lines: docs/resources/group_service_account_access_token.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: |-
7
7
~> Use of the timestamp() function with expires_at will cause the resource to be re-created with every apply, it's recommended to use plantimestamp() or a static value instead.
8
8
~> Reading the access token status of a service account requires an admin token or a top-level group owner token on gitlab.com. As a result, this resource will ignore permission errors when attempting to read the token status, and will rely on the values in state instead. This can lead to apply-time failures if the token configured for the provider doesn't have permissions to rotate tokens for the service account.
9
9
~> Use rotation_configuration to automatically rotate tokens instead of using timestamp() as timestamp will cause changes with every plan. terraform apply must still be run to rotate the token.
10
-
~> Due to a limitation in the API, the rotation_configuration is unable to set the new expiry date. Instead, when the resource is created, it will default the expiry date to 7 days in the future. On each subsequent apply, the new expiry will be 7 days from the date of the apply.
10
+
~> Due to a limitation in the API, the rotation_configuration is unable to set the new expiry date before GitLab 17.9. Instead, when the resource is created, it will default the expiry date to 7 days in the future. On each subsequent apply, the new expiry will be 7 days from the date of the apply.
11
11
Upstream API: GitLab API docs https://docs.gitlab.com/api/group_service_accounts/#create-a-personal-access-token-for-a-service-account-user
12
12
---
13
13
@@ -21,7 +21,7 @@ The `gitlab_group_service_account_access_token` resource allows to manage the li
21
21
22
22
~> Use `rotation_configuration` to automatically rotate tokens instead of using `timestamp()` as timestamp will cause changes with every plan. `terraform apply` must still be run to rotate the token.
23
23
24
-
~> Due to a limitation in the API, the `rotation_configuration` is unable to set the new expiry date. Instead, when the resource is created, it will default the expiry date to 7 days in the future. On each subsequent apply, the new expiry will be 7 days from the date of the apply.
24
+
~> Due to a limitation in the API, the `rotation_configuration` is unable to set the new expiry date before GitLab 17.9. Instead, when the resource is created, it will default the expiry date to 7 days in the future. On each subsequent apply, the new expiry will be 7 days from the date of the apply.
25
25
26
26
**Upstream API**: [GitLab API docs](https://docs.gitlab.com/api/group_service_accounts/#create-a-personal-access-token-for-a-service-account-user)
27
27
@@ -104,6 +104,10 @@ Required:
104
104
105
105
-`rotate_before_days` (Number) The duration (in days) before the expiration when the token should be rotated. As an example, if set to 7 days, the token will rotate 7 days before the expiration date, but only when `terraform apply` is run in that timeframe.
106
106
107
+
Optional:
108
+
109
+
-`expiration_days` (Number) The duration (in days) the new token should be valid for.
110
+
107
111
## Import
108
112
109
113
Starting in Terraform v1.5.0 you can use an [import block](https://developer.hashicorp.com/terraform/language/import) to import `gitlab_group_service_account_access_token`. For example:
0 commit comments