File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
examples/data-sources/gitlab_group_variables Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,19 @@ The `gitlab_group_variables` data source allows to retrieve all group-level CI/C
13
13
14
14
** Upstream API** : [ GitLab REST API docs] ( https://docs.gitlab.com/ee/api/group_level_variables.html )
15
15
16
-
16
+ ## Example Usage
17
+
18
+ ``` terraform
19
+ data "gitlab_group_variables" "vars" {
20
+ group = "my/example/group"
21
+ }
22
+
23
+ # Using an environment scope
24
+ data "gitlab_group_variables" "staging_vars" {
25
+ group = "my/example/group"
26
+ environment_scope = "staging/*"
27
+ }
28
+ ```
17
29
18
30
<!-- schema generated by tfplugindocs -->
19
31
## Schema
Original file line number Diff line number Diff line change
1
+ data "gitlab_group_variables" "vars" {
2
+ group = " my/example/group"
3
+ }
4
+
5
+ # Using an environment scope
6
+ data "gitlab_group_variables" "staging_vars" {
7
+ group = " my/example/group"
8
+ environment_scope = " staging/*"
9
+ }
You can’t perform that action at this time.
0 commit comments