-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gitlabhq:main' into lint-issue-AT001
- Loading branch information
Showing
47 changed files
with
1,782 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"go.testEnvVars": { | ||
"TF_ACC": "1", | ||
"GITLAB_TOKEN": "ACCTEST1234567890123", | ||
"GITLAB_BASE_URL": "http://127.0.0.1:8080" | ||
}, | ||
"go.testFlags": ["-count=1", "-v"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_group_variable Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_group_variable data source allows to retrieve details about a group-level CI/CD variable. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/group_level_variables.html | ||
--- | ||
|
||
# gitlab_group_variable (Data Source) | ||
|
||
The `gitlab_group_variable` data source allows to retrieve details about a group-level CI/CD variable. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_level_variables.html) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `group` (String) The name or id of the group. | ||
- `key` (String) The name of the variable. | ||
|
||
### Optional | ||
|
||
- `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. | ||
- `id` (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- `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`. | ||
- `value` (String) The value of the variable. | ||
- `variable_type` (String) The type of a variable. Valid values are: `env_var`, `file`. Default is `env_var`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_group_variables Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_group_variables data source allows to retrieve all group-level CI/CD variables. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/group_level_variables.html | ||
--- | ||
|
||
# gitlab_group_variables (Data Source) | ||
|
||
The `gitlab_group_variables` data source allows to retrieve all group-level CI/CD variables. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_level_variables.html) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `group` (String) The name or id of the group. | ||
|
||
### Optional | ||
|
||
- `environment_scope` (String) The environment scope of the variable. Defaults to all environment (`*`). | ||
- `id` (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- `variables` (List of Object) The list of variables returned by the search (see [below for nested schema](#nestedatt--variables)) | ||
|
||
<a id="nestedatt--variables"></a> | ||
### Nested Schema for `variables` | ||
|
||
Read-Only: | ||
|
||
- `environment_scope` (String) | ||
- `group` (String) | ||
- `key` (String) | ||
- `masked` (Boolean) | ||
- `protected` (Boolean) | ||
- `value` (String) | ||
- `variable_type` (String) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_instance_variable Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_instance_variable data source allows to retrieve details about an instance-level CI/CD variable. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/instance_level_ci_variables.html | ||
--- | ||
|
||
# gitlab_instance_variable (Data Source) | ||
|
||
The `gitlab_instance_variable` data source allows to retrieve details about an instance-level CI/CD variable. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/instance_level_ci_variables.html) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `key` (String) The name of the variable. | ||
|
||
### Optional | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- `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`. | ||
- `value` (String) The value of the variable. | ||
- `variable_type` (String) The type of a variable. Valid values are: `env_var`, `file`. Default is `env_var`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_instance_variables Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_instance_variables data source allows to retrieve all instance-level CI/CD variables. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/instance_level_ci_variables.html | ||
--- | ||
|
||
# gitlab_instance_variables (Data Source) | ||
|
||
The `gitlab_instance_variables` data source allows to retrieve all instance-level CI/CD variables. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/instance_level_ci_variables.html) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- `variables` (List of Object) The list of variables returned by the search (see [below for nested schema](#nestedatt--variables)) | ||
|
||
<a id="nestedatt--variables"></a> | ||
### Nested Schema for `variables` | ||
|
||
Read-Only: | ||
|
||
- `key` (String) | ||
- `masked` (Boolean) | ||
- `protected` (Boolean) | ||
- `value` (String) | ||
- `variable_type` (String) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_project_variable Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_project_variable data source allows to retrieve details about a project-level CI/CD variable. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/project_level_variables.html | ||
--- | ||
|
||
# gitlab_project_variable (Data Source) | ||
|
||
The `gitlab_project_variable` data source allows to retrieve details about a project-level CI/CD variable. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/project_level_variables.html) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `key` (String) The name of the variable. | ||
- `project` (String) The name or id of the project. | ||
|
||
### Optional | ||
|
||
- `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. | ||
- `id` (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- `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`. | ||
- `value` (String) The value of the variable. | ||
- `variable_type` (String) The type of a variable. Valid values are: `env_var`, `file`. Default is `env_var`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_project_variables Data Source - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_project_variables data source allows to retrieve all project-level CI/CD variables. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/project_level_variables.html | ||
--- | ||
|
||
# gitlab_project_variables (Data Source) | ||
|
||
The `gitlab_project_variables` data source allows to retrieve all project-level CI/CD variables. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/project_level_variables.html) | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `project` (String) The name or id of the project. | ||
|
||
### Optional | ||
|
||
- `environment_scope` (String) The environment scope of the variable. Defaults to all environment (`*`). | ||
- `id` (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- `variables` (List of Object) The list of variables returned by the search (see [below for nested schema](#nestedatt--variables)) | ||
|
||
<a id="nestedatt--variables"></a> | ||
### Nested Schema for `variables` | ||
|
||
Read-Only: | ||
|
||
- `environment_scope` (String) | ||
- `key` (String) | ||
- `masked` (Boolean) | ||
- `project` (String) | ||
- `protected` (Boolean) | ||
- `value` (String) | ||
- `variable_type` (String) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.