File tree Expand file tree Collapse file tree 8 files changed +28
-28
lines changed
Expand file tree Collapse file tree 8 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ Data source for Grafana Stack
1414
1515``` terraform
1616resource "grafana_cloud_stack" "test" {
17- name = "gcloudstacktest"
18- slug = "gcloudstacktest"
17+ name = "gcloudstacktest"
18+ slug = "gcloudstacktest"
1919 region_slug = "eu"
2020 description = "Test Grafana Cloud Stack"
2121}
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ description: |-
1616
1717``` terraform
1818resource "grafana_dashboard" "test" {
19- config_json = jsonencode({
20- id = 12345,
21- title = "Production Overview",
22- tags = [ "templated" ],
23- timezone = "browser",
24- schemaVersion = 16,
25- version = 0,
26- refresh = "25s"
19+ config_json = jsonencode({
20+ id = 12345,
21+ title = "Production Overview",
22+ tags = ["templated"],
23+ timezone = "browser",
24+ schemaVersion = 16,
25+ version = 0,
26+ refresh = "25s"
2727 })
2828}
2929
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ resource "grafana_api_key" "foo" {
2222}
2323
2424resource "grafana_api_key" "bar" {
25- name = "key_bar"
26- role = "Admin"
25+ name = "key_bar"
26+ role = "Admin"
2727 seconds_to_live = 30
2828}
2929
3030
3131output "api_key_foo_key_only" {
32- value = grafana_api_key.foo.key
32+ value = grafana_api_key.foo.key
3333 sensitive = true
3434}
3535
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ description: |-
2020resource "grafana_builtin_role_assignment" "viewer" {
2121 builtin_role = "Viewer"
2222 roles {
23- uid = "firstuid"
23+ uid = "firstuid"
2424 global = false
2525 }
2626 roles {
27- uid = "seconduid"
27+ uid = "seconduid"
2828 global = true
2929 }
3030}
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ description: |-
1414
1515``` terraform
1616resource "grafana_cloud_stack" "test" {
17- name = "gcloudstacktest"
18- slug = "gcloudstacktest"
17+ name = "gcloudstacktest"
18+ slug = "gcloudstacktest"
1919 region_slug = "eu"
2020 description = "Test Grafana Cloud Stack"
2121}
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ Manages Grafana library panels.
1818
1919``` terraform
2020resource "grafana_library_panel" "test" {
21- name = "updated name"
22- model_json = jsonencode({
23- title = "updated name",
24- id = 12,
25- version = 35
21+ name = "updated name"
22+ model_json = jsonencode({
23+ title = "updated name",
24+ id = 12,
25+ version = 35
2626 })
2727}
2828```
Original file line number Diff line number Diff line change @@ -18,18 +18,18 @@ description: |-
1818
1919``` terraform
2020resource "grafana_role" "super_user" {
21- name = "Super User"
21+ name = "Super User"
2222 description = "My Super User description"
23- uid = "superuseruid"
24- version = 1
25- global = true
23+ uid = "superuseruid"
24+ version = 1
25+ global = true
2626
2727 permissions {
2828 action = "users:create"
2929 }
3030 permissions {
3131 action = "users:read"
32- scope = "global:users:*"
32+ scope = "global:users:*"
3333 }
3434}
3535```
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ description: |-
1515
1616``` terraform
1717resource "grafana_team_external_group" "test-team-group" {
18- team_id = 1
18+ team_id = 1
1919 groups = [
2020 "test-group-1",
2121 "test-group-2"
You can’t perform that action at this time.
0 commit comments