From d37afa7de410c1925c91b48f05008ba3d3ec9a63 Mon Sep 17 00:00:00 2001 From: gitlab-terraform-provider-bot Date: Thu, 15 Feb 2024 20:33:52 +0000 Subject: [PATCH] Update docs for v16.9.1 release --- CHANGELOG.md | 20 ++++++++++++++++++++ docs/data-sources/group_variable.md | 1 + docs/data-sources/group_variables.md | 1 + docs/data-sources/project.md | 1 + docs/data-sources/project_variable.md | 1 + docs/data-sources/project_variables.md | 1 + docs/data-sources/projects.md | 1 + docs/resources/application_settings.md | 4 ++-- docs/resources/group_variable.md | 1 + docs/resources/project.md | 1 + docs/resources/project_variable.md | 1 + 11 files changed, 31 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 343c177b5..56af852ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## 16.9.0 (2024-02-15) + +This release was tested against GitLab 16.7, 16.8, and 16.9 for both CE and EE + +IMPROVEMENTS: +- resource/gitlab_project_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827)) +- resource/gitlab_group_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827)) +- resource/gitlab_project: added support for `ci_restrict_pipeline_cancellation_role` ([!1825](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1825)) +- datasource/gitlab_project_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827)) +- datasource/gitlab_project_variables: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827)) +- datasource/gitlab_group_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827)) +- datasource/gitlab_group_variables: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827)) +- datasource/gitlab_project: added support for `ci_restrict_pipeline_cancellation_role` ([!1825](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1825)) +- datasource/gitlab_projects: added support for `ci_restrict_pipeline_cancellation_role` ([!1825](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1825)) + +BUG FIXES: + +- resource/gitlab_project_protected_environment: Fixed an issue where using characters in the project name that required encoding (such as "/") would cause an error ([!1835](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1835)) +- resource/application_settings: Fixed an issue where elasticsearch namespace and project IDs accepted a list of strings instead of a list of integers. Providing a list of integers would cause a provider error, rendering the attributes unusable. ([!1824](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1824)) + ## 16.8.1 (2024-01-24) This release was tested against GitLab 16.6, 16.7, and 16.8 for both CE and EE diff --git a/docs/data-sources/group_variable.md b/docs/data-sources/group_variable.md index 13c9d37ef..e92f76754 100644 --- a/docs/data-sources/group_variable.md +++ b/docs/data-sources/group_variable.md @@ -43,6 +43,7 @@ data "gitlab_group_variable" "bar" { ### Read-Only +- `description` (String) The description of the variable. - `id` (String) The ID of this resource. - `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`. - `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`. diff --git a/docs/data-sources/group_variables.md b/docs/data-sources/group_variables.md index 78f4f0902..87ed82718 100644 --- a/docs/data-sources/group_variables.md +++ b/docs/data-sources/group_variables.md @@ -48,6 +48,7 @@ data "gitlab_group_variables" "staging_vars" { Read-Only: +- `description` (String) - `environment_scope` (String) - `group` (String) - `key` (String) diff --git a/docs/data-sources/project.md b/docs/data-sources/project.md index 596d6a836..00d21277a 100644 --- a/docs/data-sources/project.md +++ b/docs/data-sources/project.md @@ -49,6 +49,7 @@ data "gitlab_project" "example" { - `build_timeout` (Number) The maximum amount of time, in seconds, that a job can run. - `builds_access_level` (String) Set the builds access level. Valid values are `disabled`, `private`, `enabled`. - `ci_config_path` (String) CI config file path for the project. +- `ci_restrict_pipeline_cancellation_role` (String) The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are `developer`, `maintainer`, `no one` - `ci_separated_caches` (Boolean) Use separate caches for protected branches. - `container_expiration_policy` (List of Object) Set the image cleanup policy for this project. **Note**: this field is sometimes named `container_expiration_policy_attributes` in the GitLab Upstream API. (see [below for nested schema](#nestedatt--container_expiration_policy)) - `container_registry_access_level` (String) Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`. diff --git a/docs/data-sources/project_variable.md b/docs/data-sources/project_variable.md index aca7f2da7..00e91d61c 100644 --- a/docs/data-sources/project_variable.md +++ b/docs/data-sources/project_variable.md @@ -43,6 +43,7 @@ data "gitlab_project_variable" "bar" { ### Read-Only +- `description` (String) The description of the variable. - `id` (String) The ID of this resource. - `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`. - `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`. diff --git a/docs/data-sources/project_variables.md b/docs/data-sources/project_variables.md index c21461029..3505c43c7 100644 --- a/docs/data-sources/project_variables.md +++ b/docs/data-sources/project_variables.md @@ -48,6 +48,7 @@ data "gitlab_project_variables" "staging_vars" { Read-Only: +- `description` (String) - `environment_scope` (String) - `key` (String) - `masked` (Boolean) diff --git a/docs/data-sources/projects.md b/docs/data-sources/projects.md index 9bc4bf1e8..7a414fe52 100644 --- a/docs/data-sources/projects.md +++ b/docs/data-sources/projects.md @@ -96,6 +96,7 @@ Read-Only: - `ci_config_path` (String) - `ci_default_git_depth` (Number) - `ci_forward_deployment_enabled` (Boolean) +- `ci_restrict_pipeline_cancellation_role` (String) - `container_expiration_policy` (List of Object) (see [below for nested schema](#nestedobjatt--projects--container_expiration_policy)) - `container_registry_access_level` (String) - `container_registry_enabled` (Boolean) diff --git a/docs/resources/application_settings.md b/docs/resources/application_settings.md index c52379ebd..9c2fd4669 100644 --- a/docs/resources/application_settings.md +++ b/docs/resources/application_settings.md @@ -118,9 +118,9 @@ resource "gitlab_application_settings" "this" { - `elasticsearch_limit_indexing` (Boolean) Limit Elasticsearch to index certain namespaces and projects. - `elasticsearch_max_bulk_concurrency` (Number) Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations. - `elasticsearch_max_bulk_size_mb` (Number) Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations. -- `elasticsearch_namespace_ids` (List of String) The namespaces to index via Elasticsearch if elasticsearch_limit_indexing is enabled. +- `elasticsearch_namespace_ids` (List of Number) The namespaces to index via Elasticsearch if elasticsearch_limit_indexing is enabled. - `elasticsearch_password` (String, Sensitive) The password of your Elasticsearch instance. -- `elasticsearch_project_ids` (List of String) The projects to index via Elasticsearch if elasticsearch_limit_indexing is enabled. +- `elasticsearch_project_ids` (List of Number) The projects to index via Elasticsearch if elasticsearch_limit_indexing is enabled. - `elasticsearch_search` (Boolean) Enable Elasticsearch search. - `elasticsearch_url` (List of String) The URL to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (for example, http://localhost:9200, http://localhost:9201). - `elasticsearch_username` (String) The username of your Elasticsearch instance. diff --git a/docs/resources/group_variable.md b/docs/resources/group_variable.md index b0e169606..e2d0daa2c 100644 --- a/docs/resources/group_variable.md +++ b/docs/resources/group_variable.md @@ -37,6 +37,7 @@ resource "gitlab_group_variable" "example" { ### Optional +- `description` (String) The description of the variable. - `environment_scope` (String) The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans. - `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`. - `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`. diff --git a/docs/resources/project.md b/docs/resources/project.md index 5ff503ebc..8f541f901 100644 --- a/docs/resources/project.md +++ b/docs/resources/project.md @@ -153,6 +153,7 @@ resource "gitlab_project" "import_private" { - `ci_config_path` (String) Custom Path to CI config file. - `ci_default_git_depth` (Number) Default number of revisions for shallow cloning. - `ci_forward_deployment_enabled` (Boolean) When a new deployment job starts, skip older deployment jobs that are still pending. +- `ci_restrict_pipeline_cancellation_role` (String) The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are `developer`, `maintainer`, `no one` - `ci_separated_caches` (Boolean) Use separate caches for protected branches. - `container_expiration_policy` (Block List, Max: 1) Set the image cleanup policy for this project. **Note**: this field is sometimes named `container_expiration_policy_attributes` in the GitLab Upstream API. (see [below for nested schema](#nestedblock--container_expiration_policy)) - `container_registry_access_level` (String) Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`. diff --git a/docs/resources/project_variable.md b/docs/resources/project_variable.md index f7953d7c4..b6bc8536e 100644 --- a/docs/resources/project_variable.md +++ b/docs/resources/project_variable.md @@ -38,6 +38,7 @@ resource "gitlab_project_variable" "example" { ### Optional +- `description` (String) The description of the variable. - `environment_scope` (String) The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans. - `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`. - `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.