File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
resources/grafana_synthetic_monitoring_installation Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ resource "grafana_dashboard" "test_folder" {
4747``` terraform
4848// Step 1: Create a stack
4949provider "grafana" {
50- alias = "cloud"
51- cloud_api_key = "my-token"
50+ alias = "cloud"
51+ cloud_access_policy_token = "my-token"
5252}
5353
5454resource "grafana_cloud_stack" "my_stack" {
@@ -95,7 +95,7 @@ resource "grafana_folder" "my_folder" {
9595### Installing Synthetic Monitoring on a new Grafana Cloud Stack
9696
9797``` terraform
98- variable "cloud_api_key " {
98+ variable "cloud_access_policy_token " {
9999 description = "Cloud Access Policy token for Grafana Cloud with the following scopes: accesspolicies:read|write|delete, stacks:read|write|delete"
100100}
101101variable "stack_slug" {}
@@ -105,8 +105,8 @@ variable "cloud_region" {
105105
106106// Step 1: Create a stack
107107provider "grafana" {
108- alias = "cloud"
109- cloud_api_key = var.cloud_api_key
108+ alias = "cloud"
109+ cloud_access_policy_token = var.cloud_access_policy_token
110110}
111111
112112resource "grafana_cloud_stack" "sm_stack" {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Required access policy scopes:
3030## Example Usage
3131
3232``` terraform
33- variable "cloud_api_key " {
33+ variable "cloud_access_policy_token " {
3434 description = "Cloud Access Policy token for Grafana Cloud with the following scopes: accesspolicies:read|write|delete, stacks:read|write|delete"
3535}
3636variable "stack_slug" {}
@@ -40,8 +40,8 @@ variable "cloud_region" {
4040
4141// Step 1: Create a stack
4242provider "grafana" {
43- alias = "cloud"
44- cloud_api_key = var.cloud_api_key
43+ alias = "cloud"
44+ cloud_access_policy_token = var.cloud_access_policy_token
4545}
4646
4747resource "grafana_cloud_stack" "sm_stack" {
Original file line number Diff line number Diff line change 11// Step 1: Create a stack
22provider "grafana" {
3- alias = " cloud"
4- cloud_api_key = " my-token"
3+ alias = " cloud"
4+ cloud_access_policy_token = " my-token"
55}
66
77resource "grafana_cloud_stack" "my_stack" {
Original file line number Diff line number Diff line change 1- variable "cloud_api_key " {
1+ variable "cloud_access_policy_token " {
22 description = " Cloud Access Policy token for Grafana Cloud with the following scopes: accesspolicies:read|write|delete, stacks:read|write|delete"
33}
44variable "stack_slug" {}
@@ -8,8 +8,8 @@ variable "cloud_region" {
88
99// Step 1: Create a stack
1010provider "grafana" {
11- alias = " cloud"
12- cloud_api_key = var. cloud_api_key
11+ alias = " cloud"
12+ cloud_access_policy_token = var. cloud_access_policy_token
1313}
1414
1515resource "grafana_cloud_stack" "sm_stack" {
You can’t perform that action at this time.
0 commit comments