Repository: grafana/terraform-provider-grafana

Issue:
`grafana_cloud_ips` data source: expose `hosted_profiles` IP set
### Feature Request

The `grafana_cloud_ips` data source currently does not expose the IP set for hosted profile endpoints.

We use this data to generate Kubernetes network policies, so we're currently experiencing issues implementing profiling. As a temporary workaround, we have directly fetched the JSON list from the endpoint listed here: https://grafana.com/docs/grafana-cloud/security-and-account-management/allow-list/#hosted-profiles

Hints from issue comments:
@suntala: Pinged the Pyroscope team on Slack: https://raintank-corp.slack.com/archives/C03NCLB4GG7/p1757429134734839@suntala: BizApps is handling this: https://raintank-corp.slack.com/archives/C03LAPC8BK7/p1757490759246059@nachogiljaldo: I created [a PR](https://github.com/grafana/terraform-provider-grafana/pull/2344) to address this (wip), however it's worth noticing that you may want to use an improved version of this: https://registry.terraform.io/providers/grafana/grafana/latest/docs/data-sources/cloud_stack#profiles_ip_allow_list_cname-2

That has a more fine grained set of IPs which are the ones specific to this cell.

Solution patch:
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 82ee6ff4..172b4616 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -15,3 +15,4 @@
 /internal/resources/slo/*                           @grafana/platform-monitoring @grafana/slo-squad
 /internal/resources/syntheticmonitoring/*           @grafana/platform-monitoring @grafana/synthetic-monitoring
 /internal/resources/appplatform/*                   @grafana/platform-monitoring @grafana/grafana-app-platform-squad
+/internal/resources/appplatform/alertenrichment*    @grafana/platform-monitoring @grafana/alerting-squad
diff --git a/docker-compose.yml b/docker-compose.yml
index ef1cb12c..21effba9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -31,7 +31,7 @@ services:
       - GF_SERVER_ROOT_URL=${GRAFANA_URL}
       - GF_ENTERPRISE_LICENSE_TEXT=${GF_ENTERPRISE_LICENSE_TEXT:-}
       - GF_SERVER_SERVE_FROM_SUB_PATH=${GF_SERVER_SERVE_FROM_SUB_PATH:-}
-      - GF_FEATURE_TOGGLES_ENABLE=nestedFolders,ssoSettingsApi,ssoSettingsSAML,ssoSettingsLDAP,grafanaManagedRecordingRulesDatasources,enableSCIM
+      - GF_FEATURE_TOGGLES_ENABLE=nestedFolders,ssoSettingsApi,ssoSettingsSAML,ssoSettingsLDAP,grafanaManagedRecordingRulesDatasources,enableSCIM,alertEnrichmentMultiStep,alertEnrichmentConditional
     healthcheck:
       test: wget --no-verbose --tries=1 --spider http://0.0.0.0:3000/api/health || exit 1 # Use wget because older versions of Grafana don't have curl
       interval: 10s
diff --git a/docs/data-sources/cloud_ips.md b/docs/data-sources/cloud_ips.md
index 6c645471..5d5c0204 100644
--- a/docs/data-sources/cloud_ips.md
+++ b/docs/data-sources/cloud_ips.md
@@ -25,5 +25,6 @@ data "grafana_cloud_ips" "test" {}
 - `hosted_grafana` (Set of String) Set of IP addresses that are used for hosted Grafana.
 - `hosted_logs` (Set of String) Set of IP addresses that are used for hosted logs.
 - `hosted_metrics` (Set of String) Set of IP addresses that are used for hosted metrics.
+- `hosted_profiles` (Set of String) Set of IP addresses that are used for hosted profiles.
 - `hosted_traces` (Set of String) Set of IP addresses that are used for hosted traces.
 - `id` (String) The ID of this resource.
diff --git a/docs/resources/apps_dashboard_dashboard_v1beta1.md b/docs/resources/apps_dashboard_dashboard_v1beta1.md
index 21824e4c..7eebeaf2 100644
--- a/docs/resources/apps_dashboard_dashboard_v1beta1.md
+++ b/docs/resources/apps_dashboard_dashboard_v1beta1.md
@@ -14,7 +14,25 @@ Manages Grafana dashboards using the new Grafana APIs.
 * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)
 * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/#new-dashboard-apis)
 
-
+## Example Usage
+
+```terraform
+resource "grafana_apps_dashboard_dashboard_v1beta1" "example" {
+  metadata {
+    uid = "example-dashboard"
+  }
+
+  spec {
+    title = "Example Dashboard"
+    json = jsonencode({
+      title         = "Example Dashboard"
+      uid           = "example-dashboard"
+      panels        = []
+      schemaVersion = 42
+    })
+  }
+}
+```
 
 <!-- schema generated by tfplugindocs -->
 ## Schema
diff --git a/docs/resources/apps_playlist_playlist_v0alpha1.md b/docs/resources/apps_playlist_playlist_v0alpha1.md
index c994f357..4402c03c 100644
--- a/docs/resources/apps_playlist_playlist_v0alpha1.md
+++ b/docs/resources/apps_playlist_playlist_v0alpha1.md
@@ -14,7 +14,27 @@ Manages Grafana playlists using the new Grafana APIs.
 * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-manage-playlists/)
 * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/apis/)
 
-
+## Example Usage
+
+```terraform
+resource "grafana_apps_playlist_playlist_v0alpha1" "example" {
+  metadata {
+    uid = "example-playlist"
+  }
+
+  spec {
+    title    = "Example Playlist"
+    interval = "5m"
+
+    items = [
+      {
+        type  = "dashboard_by_uid"
+        value = "example-dashboard-uid"
+      }
+    ]
+  }
+}
+```
 
 <!-- schema generated by tfplugindocs -->
 ## Schema
diff --git a/examples/resources/grafana_apps_alertenrichment_alertenrichment_v1beta1/resource.tf b/examples/resources/grafana_apps_alertenrichment_alertenrichment_v1beta1/resource.tf
new file mode 100644
index 00000000..4659d519
--- /dev/null
+++ b/examples/resources/grafana_apps_alertenrichment_alertenrichment_v1beta1/resource.tf
@@ -0,0 +1,110 @@
+resource "grafana_apps_alertenrichment_alertenrichment_v1beta1" "enrichment" {
+  metadata {
+    uid = "test_enrichment"
+  }
+
+  spec {
+    title       = "Comprehensive alert enrichment"
+    description = "Demonstrates many enrichment steps and configurations"
+
+    # Target specific alert rules by UIDs
+    alert_rule_uids = ["alert-rule-1", "alert-rule-2"]
+
+    # Target specific receiver names
+    receivers = ["webhook", "slack-critical"]
+
+    # Label matchers - supports =, !=, =~, !~ operators
+    label_matchers = [
+      {
+        type  = "="
+        name  = "severity"
+        value = "critical"
+      },
+      {
+        type  = "=~"
+        name  = "team"
+        value = "alerting|alerting-team"
+      }
+    ]
+
+    # Annotation matchers
+    annotation_matchers = [
+      {
+        type  = "!="
+        name  = "runbook_url"
+        value = ""
+      }
+    ]
+
+    # Adds annotations to alerts with the assign step
+    step {
+      assign {
+        timeout = "30s"
+        annotations = {
+          "priority"    = "high"
+          "runbook_url" = "https://runbooks.grafana.com/alert-handling"
+        }
+      }
+    }
+
+    # Calls external service
+    step {
+      external {
+        url = "https://some-api.grafana.com/alert-enrichment"
+      }
+    }
+
+    # Data source step with logs query
+    step {
+      data_source {
+        timeout = "30s"
+
+        logs_query {
+          data_source_type = "loki"
+          data_source_uid  = "loki-uid-123"
+          expr             = "{job=\"my-app\"} |= \"error\""
+          max_lines        = 5
+        }
+      }
+    }
+
+    # Data source step with raw query
+    step {
+      data_source {
+        timeout = "30s"
+
+        raw_query {
+          ref_id = "A"
+          request = jsonencode({
+            datasource = {
+              type = "prometheus"
+              uid  = "prometheus-uid-456"
+            }
+            expr          = "rate(http_requests_total[5m])"
+            refId         = "A"
+            intervalMs    = 1000
+            maxDataPoints = 43200
+          })
+        }
+      }
+    }
+
+    # Triggers a new Sift investigation
+    step {
+      sift {}
+    }
+
+    # Generates AI explanation of the alert using Grafana LLM plugin
+    step {
+      explain {
+        annotation = "ai_explanation"
+      }
+    }
+
+
+    # Trigger a new Assistant Investigation
+    step {
+      assistant_investigations {}
+    }
+  }
+}
diff --git a/examples/resources/grafana_apps_dashboard_dashboard_v1beta1/resource.tf b/examples/resources/grafana_apps_dashboard_dashboard_v1beta1/resource.tf
new file mode 100644
index 00000000..6799858c
--- /dev/null
+++ b/examples/resources/grafana_apps_dashboard_dashboard_v1beta1/resource.tf
@@ -0,0 +1,15 @@
+resource "grafana_apps_dashboard_dashboard_v1beta1" "example" {
+  metadata {
+    uid = "example-dashboard"
+  }
+
+  spec {
+    title = "Example Dashboard"
+    json = jsonencode({
+      title         = "Example Dashboard"
+      uid           = "example-dashboard"
+      panels        = []
+      schemaVersion = 42
+    })
+  }
+}
diff --git a/examples/resources/grafana_apps_playlist_playlist_v0alpha1/resource.tf b/examples/resources/grafana_apps_playlist_playlist_v0alpha1/resource.tf
new file mode 100644
index 00000000..5c3b5136
--- /dev/null
+++ b/examples/resources/grafana_apps_playlist_playlist_v0alpha1/resource.tf
@@ -0,0 +1,17 @@
+resource "grafana_apps_playlist_playlist_v0alpha1" "example" {
+  metadata {
+    uid = "example-playlist"
+  }
+
+  spec {
+    title    = "Example Playlist"
+    interval = "5m"
+
+    items = [
+      {
+        type  = "dashboard_by_uid"
+        value = "example-dashboard-uid"
+      }
+    ]
+  }
+}
diff --git a/internal/resources/appplatform/alertenrichment_resource.go b/internal/resources/appplatform/alertenrichment_resource.go
index 223132f1..0a2773f7 100644
--- a/internal/resources/appplatform/alertenrichment_resource.go
+++ b/internal/resources/appplatform/alertenrichment_resource.go
@@ -2,6 +2,7 @@ package appplatform
 
 import (
 	"context"
+	"encoding/json"
 	"fmt"
 	"maps"
 	"slices"
@@ -9,10 +10,14 @@ import (
 	"time"
 
 	"github.com/grafana/grafana/apps/alerting/alertenrichment/pkg/apis/alertenrichment/v1beta1"
+	commonapi "github.com/grafana/grafana/pkg/apimachinery/apis/common/v0alpha1"
 	"github.com/grafana/terraform-provider-grafana/v4/internal/common"
+	"github.com/hashicorp/terraform-plugin-framework-jsontypes/jsontypes"
 	"github.com/hashicorp/terraform-plugin-framework/attr"
 	"github.com/hashicorp/terraform-plugin-framework/diag"
 	"github.com/hashicorp/terraform-plugin-framework/resource/schema"
+	"github.com/hashicorp/terraform-plugin-framework/resource/schema/int64default"
+	"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringdefault"
 	"github.com/hashicorp/terraform-plugin-framework/schema/validator"
 	"github.com/hashicorp/terraform-plugin-framework/types"
 	"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
@@ -27,7 +32,9 @@ To add a new enricher step type:
 */
 
 const (
-	timeoutDescription = "Maximum execution time (e.g., '30s', '1m')"
+	timeoutDescription       = "Maximum execution time (e.g., '30s', '1m')"
+	defaultMaxLines          = 3
+	defaultExplainAnnotation = "ai_explanation"
 )
 
 var objAsOpts = basetypes.ObjectAsOptions{
@@ -53,14 +60,34 @@ type matcherModel struct {
 	Value types.String `tfsdk:"value"`
 }
 
-// matcherType is the Terraform type for a matcher
-var matcherType = types.ObjectType{
-	AttrTypes: map[string]attr.Type{
-		"type":  types.StringType,
-		"name":  types.StringType,
-		"value": types.StringType,
-	},
-}
+var (
+	// matcherType is the Terraform type for a matcher
+	matcherType = types.ObjectType{
+		AttrTypes: map[string]attr.Type{
+			"type":  types.StringType,
+			"name":  types.StringType,
+			"value": types.StringType,
+		},
+	}
+
+	// logsQueryType is the Terraform type for the logs query block
+	logsQueryType = types.ObjectType{
+		AttrTypes: map[string]attr.Type{
+			"data_source_type": types.StringType,
+			"data_source_uid":  types.StringType,
+			"expr":             types.StringType,
+			"max_lines":        types.Int64Type,
+		},
+	}
+
+	// rawQueryType is the Terraform type for the raw query block
+	rawQueryType = types.ObjectType{
+		AttrTypes: map[string]attr.Type{
+			"ref_id":  types.StringType,
+			"request": jsontypes.NormalizedType{},
+		},
+	}
+)
 
 // assignStepModel represents the Terraform model for an assign enrichment step
 type assignStepModel struct {
@@ -68,6 +95,54 @@ type assignStepModel struct {
 	Annotations types.Map    `tfsdk:"annotations"`
 }
 
+// assistantInvestigationsStepModel represents the assistant investigation step configuration
+type assistantInvestigationsStepModel struct {
+	Timeout types.String `tfsdk:"timeout"`
+}
+
+// siftStepModel represents the sift step configuration
+type siftStepModel struct {
+	Timeout types.String `tfsdk:"timeout"`
+}
+
+// externalStepModel represents the external HTTP step configuration
+type externalStepModel struct {
+	Timeout types.String `tfsdk:"timeout"`
+	URL     types.String `tfsdk:"url"`
+}
+
+// assertsStepModel represents the Asserts step configuration
+type assertsStepModel struct {
+	Timeout types.String `tfsdk:"timeout"`
+}
+
+// explainStepModel represents the explain step configuration
+type explainStepModel struct {
+	Timeout    types.String `tfsdk:"timeout"`
+	Annotation types.String `tfsdk:"annotation"`
+}
+
+// dataSourceStepModel represents the data source step configuration
+type dataSourceStepModel struct {
+	Timeout   types.String `tfsdk:"timeout"`
+	LogsQuery types.Object `tfsdk:"logs_query"`
+	RawQuery  types.Object `tfsdk:"raw_query"`
+}
+
+// logsQueryModel holds options for a logs query data source request
+type logsQueryModel struct {
+	DataSourceType types.String `tfsdk:"data_source_type"`
+	DataSourceUID  types.String `tfsdk:"data_source_uid"`
+	Expr           types.String `tfsdk:"expr"`
+	MaxLines       types.Int64  `tfsdk:"max_lines"`
+}
+
+// rawQueryModel holds options for a raw data source query request
+type rawQueryModel struct {
+	RefID   types.String         `tfsdk:"ref_id"`
+	Request jsontypes.Normalized `tfsdk:"request"`
+}
+
 // stepRegistry holds step definitions and provides methods for filtering and operations.
 type stepRegistry struct {
 	Definitions map[string]*stepDefinition
@@ -210,7 +285,15 @@ func (r *stepRegistry) BuildStepsList(ctx context.Context, steps []v1beta1.Step)
 			)}
 		}
 
-		data := map[string]attr.Value{name: obj}
+		data := make(map[string]attr.Value)
+		for k, t := range elemType.AttrTypes {
+			if ot, ok := t.(types.ObjectType); ok {
+				data[k] = types.ObjectNull(ot.AttrTypes)
+			} else {
+				data[k] = types.ObjectNull(map[string]attr.Type{})
+			}
+		}
+		data[name] = obj
 
 		elem, dd := types.ObjectValue(elemType.AttrTypes, data)
 		if dd.HasError() {
@@ -226,6 +309,26 @@ func initStepRegistry() *stepRegistry {
 		Definitions: make(map[string]*stepDefinition),
 	}
 
+	// Define logs and raw blocks for data_source step
+	logsBlock := schema.SingleNestedBlock{
+		Description: "Logs query configuration for querying log data sources.",
+		Attributes: map[string]schema.Attribute{
+			"data_source_type": schema.StringAttribute{Optional: true, Description: "Data source type (e.g., 'loki')."},
+			"data_source_uid":  schema.StringAttribute{Optional: true, Description: "UID of the data source to query."},
+			"expr":             schema.StringAttribute{Optional: true, Description: "Log query expression to execute."},
+			"max_lines":        schema.Int64Attribute{Optional: true, Computed: true, Description: "Maximum number of log lines to include. Defaults to 3.", Default: int64default.StaticInt64(int64(defaultMaxLines))},
+		},
+		Validators: []validator.Object{requireAttrsWhenPresent("data_source_type", "expr")},
+	}
+	rawBlock := schema.SingleNestedBlock{
+		Description: "Raw query configuration for advanced data source queries.",
+		Attributes: map[string]schema.Attribute{
+			"ref_id":  schema.StringAttribute{Optional: true, Computed: true, Description: "Reference ID for correlating queries.", Default: stringdefault.StaticString("")},
+			"request": schema.StringAttribute{Optional: true, CustomType: jsontypes.NormalizedType{}, Description: "Raw request payload for the data source query."},
+		},
+		Validators: []validator.Object{requireAttrsWhenPresent("request")},
+	}
+
 	registry.Definitions["assign"] = newStepDef(
 		schema.SingleNestedBlock{
 			Description: "Assign annotations to an alert.",
@@ -244,11 +347,108 @@ func initStepRegistry() *stepRegistry {
 		assignStepFromAPI,
 	)
 
+	registry.Definitions["external"] = newStepDef(
+		schema.SingleNestedBlock{
+			Description: "Call an external HTTP service for enrichment.",
+			Attributes: map[string]schema.Attribute{
+				"timeout": schema.StringAttribute{Optional: true, Description: timeoutDescription},
+				"url":     schema.StringAttribute{Optional: true, Description: "HTTP endpoint URL to call for enrichment"},
+			},
+			Validators: []validator.Object{requireAttrsWhenPresent("url")},
+		},
+		v1beta1.EnricherTypeExternal,
+		map[string]attr.Type{
+			"timeout": types.StringType,
+			"url":     types.StringType,
+		},
+		externalStepToAPI,
+		externalStepFromAPI,
+	)
+
+	registry.Definitions["asserts"] = newStepDef(
+		schema.SingleNestedBlock{
+			Description: "Integrate with Grafana Asserts for enrichment.",
+			Attributes:  map[string]schema.Attribute{"timeout": schema.StringAttribute{Optional: true, Description: timeoutDescription}},
+		},
+		v1beta1.EnricherTypeAsserts,
+		map[string]attr.Type{
+			"timeout": types.StringType,
+		},
+		assertsStepToAPI,
+		assertsStepFromAPI,
+	)
+
+	registry.Definitions["explain"] = newStepDef(
+		schema.SingleNestedBlock{
+			Description: "Generate AI explanation and store in an annotation.",
+			Attributes: map[string]schema.Attribute{
+				"timeout":    schema.StringAttribute{Optional: true, Description: timeoutDescription},
+				"annotation": schema.StringAttribute{Optional: true, Computed: true, Description: "Annotation name to set the explanation in. Defaults to 'ai_explanation'.", Default: stringdefault.StaticString(defaultExplainAnnotation)},
+			},
+		},
+		v1beta1.EnricherTypeExplain,
+		map[string]attr.Type{
+			"timeout":    types.StringType,
+			"annotation": types.StringType,
+		},
+		explainStepToAPI,
+		explainStepFromAPI,
+	)
+
+	registry.Definitions["sift"] = newStepDef(
+		schema.SingleNestedBlock{
+			Description: "Analyze alerts for patterns and insights.",
+			Attributes:  map[string]schema.Attribute{"timeout": schema.StringAttribute{Optional: true, Description: timeoutDescription}},
+		},
+		v1beta1.EnricherTypeSift,
+		map[string]attr.Type{
+			"timeout": types.StringType,
+		},
+		siftStepToAPI,
+		siftStepFromAPI,
+	)
+
+	registry.Definitions["assistant_investigations"] = newStepDef(
+		schema.SingleNestedBlock{
+			Description: "Use AI assistant to investigate alerts and add insights.",
+			Attributes:  map[string]schema.Attribute{"timeout": schema.StringAttribute{Optional: true, Description: timeoutDescription}},
+		},
+		v1beta1.EnricherTypeLoop,
+		map[string]attr.Type{
+			"timeout": types.StringType,
+		},
+		assistantInvestigationsStepToAPI,
+		assistantInvestigationsStepFromAPI,
+	)
+
+	registry.Definitions["data_source"] = newStepDef(
+		schema.SingleNestedBlock{
+			Description: "Query Grafana data sources and add results to alerts.",
+			Attributes:  map[string]schema.Attribute{"timeout": schema.StringAttribute{Optional: true, Description: timeoutDescription}},
+			Blocks: map[string]schema.Block{
+				"logs_query": logsBlock,
+				"raw_query":  rawBlock,
+			},
+			Validators: []validator.Object{
+				attributeCountExactly(1, "logs_query", "raw_query"),
+			},
+		},
+		v1beta1.EnricherTypeDataSourceQuery,
+		map[string]attr.Type{
+			"timeout":    types.StringType,
+			"logs_query": logsQueryType,
+			"raw_query":  rawQueryType,
+		},
+		dataSourceStepToAPI,
+		dataSourceStepFromAPI,
+	)
+
 	return registry
 }
 
 var registry = initStepRegistry()
 
+// stepsBlock defines the top-level `step` list block.
 func stepsBlock() map[string]schema.Block {
 	blocks := make(map[string]schema.Block)
 	for name, def := range registry.Definitions {
@@ -266,6 +466,67 @@ func stepsBlock() map[string]schema.Block {
 	}
 }
 
+func processLogsQueryToAPI(ctx context.Context, model dataSourceStepModel, step *v1beta1.Step) diag.Diagnostics {
+	var logsQueryModel logsQueryModel
+	if diag := model.LogsQuery.As(ctx, &logsQueryModel, objAsOpts); diag.HasError() {
+		return diag
+	}
+
+	maxLines := int(logsQueryModel.MaxLines.ValueInt64())
+
+	step.Enricher.DataSource = &v1beta1.DataSourceEnricher{
+		Type: v1beta1.DataSourceQueryTypeLogs,
+		Logs: &v1beta1.LogsDataSourceQuery{
+			DataSourceType: logsQueryModel.DataSourceType.ValueString(),
+			DataSourceUID:  logsQueryModel.DataSourceUID.ValueString(),
+			Expr:           logsQueryModel.Expr.ValueString(),
+			MaxLines:       maxLines,
+		},
+	}
+	return nil
+}
+
+func processRawQueryToAPI(ctx context.Context, model dataSourceStepModel, step *v1beta1.Step) diag.Diagnostics {
+	var rawQueryModel rawQueryModel
+	if diag := model.RawQuery.As(ctx, &rawQueryModel, objAsOpts); diag.HasError() {
+		return diag
+	}
+
+	var requestUnstructured commonapi.Unstructured
+	if diags := rawQueryModel.Request.Unmarshal(&requestUnstructured); diags.HasError() {
+		return diags
+	}
+
+	step.Enricher.DataSource = &v1beta1.DataSourceEnricher{
+		Type: v1beta1.DataSourceQueryTypeRaw,
+		Raw: &v1beta1.RawDataSourceQuery{
+			RefID:   rawQueryModel.RefID.ValueString(),
+			Request: requestUnstructured,
+		},
+	}
+	return nil
+}
+
+func processLogsQueryFromAPI(ctx context.Context, step v1beta1.Step, model *dataSourceStepModel) diag.Diagnostics {
+	if step.Enricher.DataSource.Logs == nil {
+		return nil
+	}
+
+	lqm := logsQueryModel{
+		DataSourceType: types.StringValue(step.Enricher.DataSource.Logs.DataSourceType),
+		DataSourceUID:  types.StringValue(step.Enricher.DataSource.Logs.DataSourceUID),
+		Expr:           types.StringValue(step.Enricher.DataSource.Logs.Expr),
+		MaxLines:       types.Int64Value(int64(step.Enricher.DataSource.Logs.MaxLines)),
+	}
+	logsQueryObj, diags := types.ObjectValueFrom(ctx, logsQueryType.AttrTypes, lqm)
+	if diags.HasError() {
+		return diags
+	}
+	model.LogsQuery = logsQueryObj
+	model.RawQuery = types.ObjectNull(rawQueryType.AttrTypes)
+	return nil
+}
+
 func assignStepToAPI(ctx context.Context, m assignStepModel) (v1beta1.Step, diag.Diagnostics) {
 	annotations := make([]v1beta1.Assignment, 0, len(m.Annotations.Elements()))
 	for name, valueAttr := range m.Annotations.Elements() {
@@ -331,6 +592,187 @@ func timeoutValueOrNull(d time.Duration) types.String {
 	return types.StringValue(d.String())
 }
 
+func externalStepToAPI(ctx context.Context, m externalStepModel) (v1beta1.Step, diag.Diagnostics) {
+	step := v1beta1.Step{
+		Type: v1beta1.StepTypeEnricher,
+		Enricher: &v1beta1.EnricherConfig{
+			Type: v1beta1.EnricherTypeExternal,
+			External: &v1beta1.ExternalEnricher{
+				URL: m.URL.ValueString(),
+			},
+		},
+	}
+	if diags := setTimeout(&step, m.Timeout); diags.HasError() {
+		return v1beta1.Step{}, diags
+	}
+	return step, nil
+}
+
+func externalStepFromAPI(ctx context.Context, step v1beta1.Step) (externalStepModel, diag.Diagnostics) {
+	return externalStepModel{
+		Timeout: timeoutValueOrNull(step.Timeout.Duration),
+		URL:     types.StringValue(step.Enricher.External.URL),
+	}, nil
+}
+
+func assertsStepToAPI(ctx context.Context, m assertsStepModel) (v1beta1.Step, diag.Diagnostics) {
+	step := v1beta1.Step{
+		Type: v1beta1.StepTypeEnricher,
+		Enricher: &v1beta1.EnricherConfig{
+			Type:    v1beta1.EnricherTypeAsserts,
+			Asserts: &v1beta1.AssertsEnricher{},
+		},
+	}
+	if diags := setTimeout(&step, m.Timeout); diags.HasError() {
+		return v1beta1.Step{}, diags
+	}
+	return step, nil
+}
+
+func assertsStepFromAPI(ctx context.Context, step v1beta1.Step) (assertsStepModel, diag.Diagnostics) {
+	return assertsStepModel{
+		Timeout: timeoutValueOrNull(step.Timeout.Duration),
+	}, nil
+}
+
+func explainStepToAPI(ctx context.Context, m explainStepModel) (v1beta1.Step, diag.Diagnostics) {
+	annotation := m.Annotation.ValueString()
+	step := v1beta1.Step{
+		Type: v1beta1.StepTypeEnricher,
+		Enricher: &v1beta1.EnricherConfig{
+			Type: v1beta1.EnricherTypeExplain,
+			Explain: &v1beta1.ExplainEnricher{
+				Annotation: annotation,
+			},
+		},
+	}
+	if diags := setTimeout(&step, m.Timeout); diags.HasError() {
+		return v1beta1.Step{}, diags
+	}
+	return step, nil
+}
+
+func explainStepFromAPI(ctx context.Context, step v1beta1.Step) (explainStepModel, diag.Diagnostics) {
+	ann := types.StringValue(defaultExplainAnnotation)
+	if step.Enricher.Explain.Annotation != "" {
+		ann = types.StringValue(step.Enricher.Explain.Annotation)
+	}
+	return explainStepModel{
+		Timeout:    timeoutValueOrNull(step.Timeout.Duration),
+		Annotation: ann,
+	}, nil
+}
+
+func siftStepToAPI(ctx context.Context, m siftStepModel) (v1beta1.Step, diag.Diagnostics) {
+	step := v1beta1.Step{
+		Type: v1beta1.StepTypeEnricher,
+		Enricher: &v1beta1.EnricherConfig{
+			Type: v1beta1.EnricherTypeSift,
+			Sift: &v1beta1.SiftEnricher{},
+		},
+	}
+	if diags := setTimeout(&step, m.Timeout); diags.HasError() {
+		return v1beta1.Step{}, diags
+	}
+	return step, nil
+}
+
+func siftStepFromAPI(ctx context.Context, step v1beta1.Step) (siftStepModel, diag.Diagnostics) {
+	return siftStepModel{
+		Timeout: timeoutValueOrNull(step.Timeout.Duration),
+	}, nil
+}
+
+func assistantInvestigationsStepToAPI(ctx context.Context, m assistantInvestigationsStepModel) (v1beta1.Step, diag.Diagnostics) {
+	step := v1beta1.Step{
+		Type: v1beta1.StepTypeEnricher,
+		Enricher: &v1beta1.EnricherConfig{
+			Type: v1beta1.EnricherTypeLoop,
+			Loop: &v1beta1.LoopEnricher{},
+		},
+	}
+	if diags := setTimeout(&step, m.Timeout); diags.HasError() {
+		return v1beta1.Step{}, diags
+	}
+	return step, nil
+}
+
+func assistantInvestigationsStepFromAPI(ctx context.Context, step v1beta1.Step) (assistantInvestigationsStepModel, diag.Diagnostics) {
+	return assistantInvestigationsStepModel{
+		Timeout: timeoutValueOrNull(step.Timeout.Duration),
+	}, nil
+}
+
+func dataSourceStepToAPI(ctx context.Context, m dataSourceStepModel) (v1beta1.Step, diag.Diagnostics) {
+	hasLogsQuery := !m.LogsQuery.IsNull() && !m.LogsQuery.IsUnknown()
+	hasRawQuery := !m.RawQuery.IsNull() && !m.RawQuery.IsUnknown()
+
+	step := v1beta1.Step{
+		Type: v1beta1.StepTypeEnricher,
+		Enricher: &v1beta1.EnricherConfig{
+			Type: v1beta1.EnricherTypeDataSourceQuery,
+		},
+	}
+
+	if hasLogsQuery {
+		if diags := processLogsQueryToAPI(ctx, m, &step); diags.HasError() {
+			return v1beta1.Step{}, diags
+		}
+	} else if hasRawQuery {
+		if diags := processRawQueryToAPI(ctx, m, &step); diags.HasError() {
+			return v1beta1.Step{}, diags
+		}
+	}
+
+	if diags := setTimeout(&step, m.Timeout); diags.HasError() {
+		return v1beta1.Step{}, diags
+	}
+
+	return step, nil
+}
+
+func dataSourceStepFromAPI(ctx context.Context, step v1beta1.Step) (dataSourceStepModel, diag.Diagnostics) {
+	model := dataSourceStepModel{
+		Timeout: timeoutValueOrNull(step.Timeout.Duration),
+	}
+
+	if step.Enricher.DataSource.Type == v1beta1.DataSourceQueryTypeLogs {
+		if diags := processLogsQueryFromAPI(ctx, step, &model); diags.HasError() {
+			return dataSourceStepModel{}, diags
+		}
+	} else if step.Enricher.DataSource.Type == v1beta1.DataSourceQueryTypeRaw {
+		if diags := processRawQueryFromAPI(ctx, step, &model); diags.HasError() {
+			return dataSourceStepModel{}, diags
+		}
+	}
+
+	return model, nil
+}
+
+func processRawQueryFromAPI(ctx context.Context, step v1beta1.Step, model *dataSourceStepModel) diag.Diagnostics {
+	if step.Enricher.DataSource.Raw == nil {
+		return nil
+	}
+
+	requestJSON, err := json.Marshal(&step.Enricher.DataSource.Raw.Request)
+	if err != nil {
+		return diag.Diagnostics{
+			diag.NewErrorDiagnostic("invalid raw query", fmt.Sprintf("failed to marshal request: %v", err)),
+		}
+	}
+	rqm := rawQueryModel{
+		RefID:   types.StringValue(step.Enricher.DataSource.Raw.RefID),
+		Request: jsontypes.NewNormalizedValue(string(requestJSON)),
+	}
+	rawQueryObj, diags := types.ObjectValueFrom(ctx, rawQueryType.AttrTypes, rqm)
+	if diags.HasError() {
+		return diags
+	}
+	model.RawQuery = rawQueryObj
+	model.LogsQuery = types.ObjectNull(logsQueryType.AttrTypes)
+	return nil
+}
+
 // AlertEnrichment creates a new Grafana Alert Enrichment resource
 func AlertEnrichment() NamedResource {
 	return NewNamedResource[*v1beta1.AlertEnrichment, *v1beta1.AlertEnrichmentList](
@@ -350,7 +792,9 @@ Manages Grafana Alert Enrichments.
 						},
 						"description": schema.StringAttribute{
 							Optional:    true,
+							Computed:    true,
 							Description: "Description of the alert enrichment.",
+							Default:     stringdefault.StaticString(""),
 						},
 						"alert_rule_uids": schema.ListAttribute{
 							Optional:    true,
@@ -595,6 +1039,7 @@ func isValidMatcher(matcher, name, value string) error {
 	if matcher == "" || name == "" {
 		return fmt.Errorf("matcher 'type' and 'name' must be set")
 	}
+
 	switch v1beta1.MatchType(matcher) {
 	case v1beta1.MatchTypeEqual, v1beta1.MatchTypeNotEqual, v1beta1.MatchTypeRegexp, v1beta1.MatchNotRegexp:
 		return nil
@@ -605,12 +1050,12 @@ func isValidMatcher(matcher, name, value string) error {
 
 // requireAttrsWhenPresent validator ensures required attributes are set only when a block is configured.
 // This is required because the current framework version does not support required attributes in optional blocks in a way we use them.
-type requireAttrsWhenPresentValidator struct{ names []string }
-
-func requireAttrsWhenPresent(names ...string) requireAttrsWhenPresentValidator {
-	return requireAttrsWhenPresentValidator{names: names}
+func requireAttrsWhenPresent(names ...string) validator.Object {
+	return onlyIfConfiguredValidator{wrapped: requireAttrsWhenPresentValidator{names: names}}
 }
 
+type requireAttrsWhenPresentValidator struct{ names []string }
+
 func (v requireAttrsWhenPresentValidator) Description(context.Context) string {
 	return "Validates required attributes when the block is configured."
 }
@@ -620,9 +1065,6 @@ func (v requireAttrsWhenPresentValidator) MarkdownDescription(ctx context.Contex
 }
 
 func (v requireAttrsWhenPresentValidator) ValidateObject(ctx context.Context, req validator.ObjectRequest, resp *validator.ObjectResponse) {
-	if req.ConfigValue.IsNull() || req.ConfigValue.IsUnknown() {
-		return
-	}
 	attrs := req.ConfigValue.Attributes()
 	for _, name := range v.names {
 		a, ok := attrs[name]
@@ -688,3 +1130,66 @@ func (v stepExactlyOneBlockValidator) ValidateList(ctx context.Context, req vali
 		}
 	}
 }
+
+// onlyIfConfiguredValidator wraps a validator to only run when the object is actually configured
+type onlyIfConfiguredValidator struct {
+	wrapped validator.Object
+}
+
+func (v onlyIfConfiguredValidator) Description(ctx context.Context) string {
+	return v.wrapped.Description(ctx)
+}
+
+func (v onlyIfConfiguredValidator) MarkdownDescription(ctx context.Context) string {
+	return v.wrapped.MarkdownDescription(ctx)
+}
+
+func (v onlyIfConfiguredValidator) ValidateObject(ctx context.Context, req validator.ObjectRequest, resp *validator.ObjectResponse) {
+	// Only run wrapped validator if object is configured
+	if req.ConfigValue.IsNull() || req.ConfigValue.IsUnknown() {
+		return
+	}
+	v.wrapped.ValidateObject(ctx, req, resp)
+}
+
+// attributeCountExactly validates that exactly n of the specified attributes are configured
+func attributeCountExactly(n int, attributeNames ...string) validator.Object {
+	return onlyIfConfiguredValidator{wrapped: attributeCountExactlyValidator{
+		expectedCount:  n,
+		attributeNames: attributeNames,
+	}}
+}
+
+// attributeCountExactlyValidator implements the exactly n attributes validation
+type attributeCountExactlyValidator struct {
+	expectedCount  int
+	attributeNames []string
+}
+
+func (v attributeCountExactlyValidator) Description(ctx context.Context) string {
+	return fmt.Sprintf("Exactly %d of [%s] must be configured", v.expectedCount, strings.Join(v.attributeNames, ", "))
+}
+
+func (v attributeCountExactlyValidator) MarkdownDescription(ctx context.Context) string {
+	return v.Description(ctx)
+}
+
+func (v attributeCountExactlyValidator) ValidateObject(ctx context.Context, req validator.ObjectRequest, resp *validator.ObjectResponse) {
+	configuredCount := 0
+	attrs := req.ConfigValue.Attributes()
+
+	for _, name := range v.attributeNames {
+		if attr, ok := attrs[name]; ok && !attr.IsNull() && !attr.IsUnknown() {
+			configuredCount++
+		}
+	}
+
+	if configuredCount != v.expectedCount {
+		resp.Diagnostics.AddAttributeError(
+			req.Path,
+			"Invalid number of attributes",
+			fmt.Sprintf("Expected exactly %d of [%s] to be configured, got %d",
+				v.expectedCount, strings.Join(v.attributeNames, ", "), configuredCount),
+		)
+	}
+}
diff --git a/internal/resources/cloud/data_source_cloud_ips.go b/internal/resources/cloud/data_source_cloud_ips.go
index 34987272..6c693710 100644
--- a/internal/resources/cloud/data_source_cloud_ips.go
+++ b/internal/resources/cloud/data_source_cloud_ips.go
@@ -56,6 +56,14 @@ func datasourceIPs() *common.DataSource {
 					Type: schema.TypeString,
 				},
 			},
+			"hosted_profiles": {
+				Description: "Set of IP addresses that are used for hosted profiles.",
+				Type:        schema.TypeSet,
+				Computed:    true,
+				Elem: &schema.Schema{
+					Type: schema.TypeString,
+				},
+			},
 		},
 	}
 	return common.NewLegacySDKDataSource(common.CategoryCloud, "grafana_cloud_ips", schema)
@@ -64,11 +72,12 @@ func datasourceIPs() *common.DataSource {
 func datasourceIPsRead(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics {
 	d.SetId("cloud_ips")
 	for attr, dataURL := range map[string]string{
-		"hosted_alerts":  "https://grafana.com/api/hosted-alerts/source-ips.txt",
-		"hosted_grafana": "https://grafana.com/api/hosted-grafana/source-ips.txt",
-		"hosted_metrics": "https://grafana.com/api/hosted-metrics/source-ips.txt",
-		"hosted_traces":  "https://grafana.com/api/hosted-traces/source-ips.txt",
-		"hosted_logs":    "https://grafana.com/api/hosted-logs/source-ips.txt",
+		"hosted_alerts":   "https://grafana.com/api/hosted-alerts/source-ips.txt",
+		"hosted_grafana":  "https://grafana.com/api/hosted-grafana/source-ips.txt",
+		"hosted_metrics":  "https://grafana.com/api/hosted-metrics/source-ips.txt",
+		"hosted_traces":   "https://grafana.com/api/hosted-traces/source-ips.txt",
+		"hosted_logs":     "https://grafana.com/api/hosted-logs/source-ips.txt",
+		"hosted_profiles": "https://grafana.com/api/hosted-profiles/source-ips.txt",
 	} {
 		// nolint: gosec
 		resp, err := http.Get(dataURL)
diff --git a/provider_schema.json b/provider_schema.json
index 99dfe0b5..b5d08c98 100644
--- a/provider_schema.json
+++ b/provider_schema.json
@@ -1 +1 @@
-{"format_version":"1.0","provider_schemas":{"registry.terraform.io/grafana/grafana":{"provider":{"version":0,"block":{"attributes":{"auth":{"type":"string","description":"API token, basic auth in the `username:password` format or `anonymous` (string literal). May alternatively be set via the `GRAFANA_AUTH` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"ca_cert":{"type":"string","description":"Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the `GRAFANA_CA_CERT` environment variable.","description_kind":"markdown","optional":true},"cloud_access_policy_token":{"type":"string","description":"Access Policy Token for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_ACCESS_POLICY_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"cloud_api_url":{"type":"string","description":"Grafana Cloud's API URL. May alternatively be set via the `GRAFANA_CLOUD_API_URL` environment variable.","description_kind":"markdown","optional":true},"cloud_provider_access_token":{"type":"string","description":"A Grafana Cloud Provider access token. May alternatively be set via the `GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"cloud_provider_url":{"type":"string","description":"A Grafana Cloud Provider backend address. May alternatively be set via the `GRAFANA_CLOUD_PROVIDER_URL` environment variable.","description_kind":"markdown","optional":true},"connections_api_access_token":{"type":"string","description":"A Grafana Connections API access token. May alternatively be set via the `GRAFANA_CONNECTIONS_API_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"connections_api_url":{"type":"string","description":"A Grafana Connections API address. May alternatively be set via the `GRAFANA_CONNECTIONS_API_URL` environment variable.","description_kind":"markdown","optional":true},"fleet_management_auth":{"type":"string","description":"A Grafana Fleet Management basic auth in the `username:password` format. May alternatively be set via the `GRAFANA_FLEET_MANAGEMENT_AUTH` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"fleet_management_url":{"type":"string","description":"A Grafana Fleet Management API address. May alternatively be set via the `GRAFANA_FLEET_MANAGEMENT_URL` environment variable.","description_kind":"markdown","optional":true},"frontend_o11y_api_access_token":{"type":"string","description":"A Grafana Frontend Observability API access token. May alternatively be set via the `GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"http_headers":{"type":["map","string"],"description":"Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the `GRAFANA_HTTP_HEADERS` environment variable in JSON format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.","description_kind":"markdown","optional":true},"k6_access_token":{"type":"string","description":"The k6 Cloud API token. May alternatively be set via the `GRAFANA_K6_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"k6_url":{"type":"string","description":"The k6 Cloud API url. May alternatively be set via the `GRAFANA_K6_URL` environment variable.","description_kind":"markdown","optional":true},"oncall_access_token":{"type":"string","description":"A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"oncall_url":{"type":"string","description":"An Grafana OnCall backend address. May alternatively be set via the `GRAFANA_ONCALL_URL` environment variable.","description_kind":"markdown","optional":true},"org_id":{"type":"number","description":"The Grafana org ID, if you are using a self-hosted OSS or enterprise Grafana instance. May alternatively be set via the `GRAFANA_ORG_ID` environment variable.","description_kind":"markdown","optional":true},"retries":{"type":"number","description":"The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the `GRAFANA_RETRIES` environment variable.","description_kind":"markdown","optional":true},"retry_status_codes":{"type":["set","string"],"description":"The status codes to retry on for Grafana API and Grafana Cloud API calls. Use `x` as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the `GRAFANA_RETRY_STATUS_CODES` environment variable.","description_kind":"markdown","optional":true},"retry_wait":{"type":"number","description":"The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the `GRAFANA_RETRY_WAIT` environment variable.","description_kind":"markdown","optional":true},"sm_access_token":{"type":"string","description":"A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"sm_url":{"type":"string","description":"Synthetic monitoring backend address. May alternatively be set via the `GRAFANA_SM_URL` environment variable. The correct value for each service region is cited in the [Synthetic Monitoring documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url). Note the `sm_url` value is optional, but it must correspond with the value specified as the `region_slug` in the `grafana_cloud_stack` resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicit `sm_url` set to the same value for each provider ensures all providers interact with the same SM API.","description_kind":"markdown","optional":true},"stack_id":{"type":"number","description":"The Grafana stack ID, if you are using a Grafana Cloud stack. May alternatively be set via the `GRAFANA_STACK_ID` environment variable.","description_kind":"markdown","optional":true},"store_dashboard_sha256":{"type":"bool","description":"Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate.","description_kind":"markdown","optional":true},"tls_cert":{"type":"string","description":"Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_CERT` environment variable.","description_kind":"markdown","optional":true},"tls_key":{"type":"string","description":"Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_KEY` environment variable.","description_kind":"markdown","optional":true},"url":{"type":"string","description":"The root URL of a Grafana server. May alternatively be set via the `GRAFANA_URL` environment variable.","description_kind":"markdown","optional":true}},"description_kind":"plain"}},"resource_schemas":{"grafana_annotation":{"version":0,"block":{"attributes":{"dashboard_uid":{"type":"string","description":"The UID of the dashboard on which to create the annotation.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"panel_id":{"type":"number","description":"The ID of the dashboard panel on which to create the annotation.","description_kind":"markdown","optional":true},"tags":{"type":["set","string"],"description":"The tags to associate with the annotation.","description_kind":"markdown","optional":true},"text":{"type":"string","description":"The text to associate with the annotation.","description_kind":"markdown","required":true},"time":{"type":"string","description":"The RFC 3339-formatted time string indicating the annotation's time.","description_kind":"markdown","optional":true,"computed":true},"time_end":{"type":"string","description":"The RFC 3339-formatted time string indicating the annotation's end time.","description_kind":"markdown","optional":true,"computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/annotations/)\n","description_kind":"markdown"}},"grafana_apps_dashboard_dashboard_v1beta1":{"version":0,"block":{"block_types":{"metadata":{"nesting_mode":"single","block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder to save the resource in.","description_kind":"plain","optional":true},"uid":{"type":"string","description":"The unique identifier of the resource.","description_kind":"plain","required":true},"url":{"type":"string","description":"The full URL of the resource.","description_kind":"plain","computed":true},"uuid":{"type":"string","description":"The globally unique identifier of a resource, used by the API for tracking.","description_kind":"plain","computed":true},"version":{"type":"string","description":"The version of the resource.","description_kind":"plain","computed":true}},"description":"The metadata of the resource.","description_kind":"plain"}},"options":{"nesting_mode":"single","block":{"attributes":{"overwrite":{"type":"bool","description":"Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.","description_kind":"plain","optional":true}},"description":"Options for applying the resource.","description_kind":"plain"}},"spec":{"nesting_mode":"single","block":{"attributes":{"json":{"type":"string","description":"The JSON representation of the dashboard spec.","description_kind":"plain","required":true},"tags":{"type":["list","string"],"description":"The tags of the dashboard. If not set, the tags will be derived from the JSON spec.","description_kind":"plain","optional":true},"title":{"type":"string","description":"The title of the dashboard. If not set, the title will be derived from the JSON spec.","description_kind":"plain","optional":true}},"description":"The spec of the resource.","description_kind":"plain"}}},"description":"\nManages Grafana dashboards using the new Grafana APIs.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/#new-dashboard-apis)\n\t","description_kind":"markdown"}},"grafana_apps_playlist_playlist_v0alpha1":{"version":0,"block":{"block_types":{"metadata":{"nesting_mode":"single","block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder to save the resource in.","description_kind":"plain","optional":true},"uid":{"type":"string","description":"The unique identifier of the resource.","description_kind":"plain","required":true},"url":{"type":"string","description":"The full URL of the resource.","description_kind":"plain","computed":true},"uuid":{"type":"string","description":"The globally unique identifier of a resource, used by the API for tracking.","description_kind":"plain","computed":true},"version":{"type":"string","description":"The version of the resource.","description_kind":"plain","computed":true}},"description":"The metadata of the resource.","description_kind":"plain"}},"options":{"nesting_mode":"single","block":{"attributes":{"overwrite":{"type":"bool","description":"Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.","description_kind":"plain","optional":true}},"description":"Options for applying the resource.","description_kind":"plain"}},"spec":{"nesting_mode":"single","block":{"attributes":{"interval":{"type":"string","description":"The interval of the playlist.","description_kind":"plain","optional":true},"items":{"type":["list",["object",{"type":"string","value":"string"}]],"description":"The items of the playlist.","description_kind":"plain","required":true},"title":{"type":"string","description":"The title of the playlist.","description_kind":"plain","required":true}},"description":"The spec of the resource.","description_kind":"plain"}}},"description":"\nManages Grafana playlists using the new Grafana APIs.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-manage-playlists/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/apis/)\n","description_kind":"markdown"}},"grafana_cloud_access_policy":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description":"Creation date of the access policy.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the access policy. Defaults to the name.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the access policy.","description_kind":"markdown","required":true},"policy_id":{"type":"string","description":"ID of the access policy.","description_kind":"markdown","computed":true},"region":{"type":"string","description":"Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","required":true},"scopes":{"type":["set","string"],"description":"Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.","description_kind":"markdown","required":true},"updated_at":{"type":"string","description":"Last update date of the access policy.","description_kind":"markdown","computed":true}},"block_types":{"conditions":{"nesting_mode":"set","block":{"attributes":{"allowed_subnets":{"type":["set","string"],"description":"Conditions that apply to the access policy,such as IP Allow lists.","description_kind":"markdown","required":true}},"description":"Conditions for the access policy.","description_kind":"markdown"}},"realm":{"nesting_mode":"set","block":{"attributes":{"identifier":{"type":"string","description":"The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.","description_kind":"markdown","required":true},"type":{"type":"string","description":"Whether a policy applies to a Cloud org or a specific stack. Should be one of `org` or `stack`.","description_kind":"markdown","required":true}},"block_types":{"label_policy":{"nesting_mode":"set","block":{"attributes":{"selector":{"type":"string","description":"The label selector to match in metrics or logs query. Should be in PromQL or LogQL format.","description_kind":"markdown","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_access_policy_token":{"version":0,"block":{"attributes":{"access_policy_id":{"type":"string","description":"ID of the access policy for which to create a token.","description_kind":"markdown","required":true},"created_at":{"type":"string","description":"Creation date of the access policy token.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the access policy token. Defaults to the name.","description_kind":"markdown","optional":true},"expires_at":{"type":"string","description":"Expiration date of the access policy token. Does not expire by default.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the access policy token.","description_kind":"markdown","required":true},"region":{"type":"string","description":"Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","required":true},"token":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"updated_at":{"type":"string","description":"Last update date of the access policy token.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_org_member":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org":{"type":"string","description":"The slug or ID of the organization.","description_kind":"markdown","required":true},"receive_billing_emails":{"type":"bool","description":"Whether the user should receive billing emails.","description_kind":"markdown","optional":true,"computed":true},"role":{"type":"string","description":"The role to assign to the user in the organization.","description_kind":"markdown","required":true},"user":{"type":"string","description":"Username or ID of the user to add to the org's members.","description_kind":"markdown","required":true}},"description":"Manages the membership of a user in an organization.","description_kind":"markdown"}},"grafana_cloud_plugin_installation":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"slug":{"type":"string","description":"Slug of the plugin to be installed.","description_kind":"markdown","required":true},"stack_slug":{"type":"string","description":"The stack id to which the plugin should be installed.","description_kind":"markdown","required":true},"version":{"type":"string","description":"Version of the plugin to be installed.","description_kind":"markdown","required":true}},"description":"\nManages Grafana Cloud Plugin Installations.\n\n* [Plugin Catalog](https://grafana.com/grafana/plugins/)\n\nRequired access policy scopes:\n\n* stack-plugins:read\n* stack-plugins:write\n* stack-plugins:delete\n","description_kind":"markdown"}},"grafana_cloud_private_data_source_connect_network":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description":"Creation date of the private data source connect network.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the PDC network. Defaults to the name.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the PDC network.**Note:** The name must be lowercase and can contain hyphens or underscores. See full requirements here: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#request-body","description_kind":"markdown","required":true},"pdc_network_id":{"type":"string","description":"ID of the private data source connect network.","description_kind":"markdown","computed":true},"region":{"type":"string","description":"The region where your stack is deployed. Use the instances list API to get the region for your instance - use the regionSlug property: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-stacks","description_kind":"markdown","required":true},"stack_identifier":{"type":"string","description":"The identifier of the stack.","description_kind":"markdown","required":true},"updated_at":{"type":"string","description":"Last update date of the private data source connect network.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_private_data_source_connect_network_token":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description":"Creation date of the private data source network token.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the private data source network token. Defaults to the name.","description_kind":"markdown","optional":true},"expires_at":{"type":"string","description":"Expiration date of the private data source network token. Does not expire by default.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the private data source network token.","description_kind":"markdown","required":true},"pdc_network_id":{"type":"string","description":"ID of the private data source network for which to create a token.","description_kind":"markdown","required":true},"region":{"type":"string","description":"Region of the private data source network. Should be set to the same region as the private data source network. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","required":true},"token":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"updated_at":{"type":"string","description":"Last update date of the private data source network token.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_provider_aws_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"An optional human-readable name for this AWS Account resource.","description_kind":"plain","optional":true,"computed":true},"regions":{"type":["set","string"],"description":"A set of regions that this AWS Account resource applies to.","description_kind":"plain","required":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this AWS Account resource.","description_kind":"plain","computed":true},"role_arn":{"type":"string","description":"An IAM Role ARN string to represent with this AWS Account resource.","description_kind":"plain","required":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_cloud_provider_aws_cloudwatch_scrape_job":{"version":0,"block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this CloudWatch Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","required":true},"disabled_reason":{"type":"string","description":"When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS CloudWatch Scrape Job is enabled or not. Defaults to `true`.","description_kind":"plain","optional":true,"computed":true},"export_tags":{"type":"bool","description":"When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as `aws_\u003cservice_name\u003e_info`. Defaults to `true`.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS CloudWatch Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"regions_subset_override":{"type":["set","string"],"description":"A subset of the regions that are configured in the associated AWS Account resource to apply to this scrape job. If not set or empty, all of the Account resource's regions are scraped.","description_kind":"plain","optional":true,"computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"custom_namespace":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the custom namespace to scrape.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the custom namespace. Defaults to `300`.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","required":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals. Defaults to `300`.","description_kind":"plain","optional":true,"computed":true},"tags_to_add_to_metrics":{"type":["set","string"],"description":"A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","required":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Please note that AWS metric names must be supplied, and not their PromQL counterparts. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to configure AWS services for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_aws_resource_metadata_scrape_job":{"version":0,"block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this Resource Metadata Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","required":true},"disabled_reason":{"type":"string","description":"When the AWS Resource Metadata Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS Resource Metadata Scrape Job is enabled or not. Defaults to `true`.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS Resource Metadata Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"regions_subset_override":{"type":["set","string"],"description":"A subset of the regions that are configured in the associated AWS Account resource to apply to this scrape job. If not set or empty, all of the Account resource's regions are scraped.","description_kind":"plain","optional":true,"computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals. Defaults to `300`.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to configure AWS services for the Resource Metadata Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_azure_credential":{"version":0,"block":{"attributes":{"client_id":{"type":"string","description":"The client ID of the Azure Credential.","description_kind":"plain","required":true},"client_secret":{"type":"string","description":"The client secret of the Azure Credential.","description_kind":"plain","required":true,"sensitive":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Azure Credential.","description_kind":"plain","required":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this Azure Credential resource.","description_kind":"plain","computed":true},"resource_tags_to_add_to_metrics":{"type":["set","string"],"description":"The list of resource tags to add to metrics.","description_kind":"plain","optional":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"tenant_id":{"type":"string","description":"The tenant ID of the Azure Credential.","description_kind":"plain","required":true}},"block_types":{"auto_discovery_configuration":{"nesting_mode":"list","block":{"attributes":{"resource_type_configurations":{"type":["list",["object",{"metric_configuration":["list",["object",{"aggregations":["list","string"],"dimensions":["list","string"],"name":"string"}]],"resource_type_name":"string"}]],"description":"The list of resource type configurations.","description_kind":"plain","required":true},"subscription_id":{"type":"string","description":"The subscription ID of the Azure account.","description_kind":"plain","required":true}},"description":"The list of auto discovery configurations.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","required":true}},"description":"The list of tag filters to apply to resources.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_stack":{"version":0,"block":{"attributes":{"alertmanager_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Alertmanager instances (Optional)","description_kind":"markdown","computed":true},"alertmanager_name":{"type":"string","description":"Name of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_status":{"type":"string","description":"Status of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_url":{"type":"string","description":"Base URL of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_user_id":{"type":"number","description":"User ID of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"cluster_slug":{"type":"string","description":"Slug of the cluster where this stack resides.","description_kind":"markdown","computed":true},"delete_protection":{"type":"bool","description":"Whether to enable delete protection for the stack, preventing accidental deletion. Defaults to `true`.","description_kind":"markdown","optional":true},"description":{"type":"string","description":"Description of stack.","description_kind":"markdown","optional":true},"fleet_management_name":{"type":"string","description":"Name of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_status":{"type":"string","description":"Status of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_url":{"type":"string","description":"Base URL of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_user_id":{"type":"number","description":"User ID of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"grafanas_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the grafana instance (Optional)","description_kind":"markdown","computed":true},"graphite_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Graphite instance (Optional)","description_kind":"markdown","computed":true},"graphite_name":{"type":"string","description_kind":"plain","computed":true},"graphite_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_status":{"type":"string","description_kind":"plain","computed":true},"graphite_url":{"type":"string","description_kind":"plain","computed":true},"graphite_user_id":{"type":"number","description_kind":"plain","computed":true},"id":{"type":"string","description":"The stack id assigned to this stack by Grafana.","description_kind":"markdown","computed":true},"influx_url":{"type":"string","description":"Base URL of the InfluxDB instance configured for this stack. The username is the same as the metrics' (`prometheus_user_id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-influxdb/push-from-telegraf/ for docs on how to use this.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"A map of labels to assign to the stack. Label keys and values must match the following regexp: \"^[a-zA-Z0-9/\\\\-.]+$\" and stacks cannot have more than 10 labels.","description_kind":"markdown","optional":true},"logs_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Logs instance (Optional)","description_kind":"markdown","computed":true},"logs_name":{"type":"string","description_kind":"plain","computed":true},"logs_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_status":{"type":"string","description_kind":"plain","computed":true},"logs_url":{"type":"string","description_kind":"plain","computed":true},"logs_user_id":{"type":"number","description_kind":"plain","computed":true},"name":{"type":"string","description":"Name of stack. Conventionally matches the url of the instance (e.g. `\u003cstack_slug\u003e.grafana.net`).","description_kind":"markdown","required":true},"oncall_api_url":{"type":"string","description":"Base URL of the OnCall API instance configured for this stack.","description_kind":"markdown","computed":true},"org_id":{"type":"number","description":"Organization id to assign to this stack.","description_kind":"markdown","computed":true},"org_name":{"type":"string","description":"Organization name to assign to this stack.","description_kind":"markdown","computed":true},"org_slug":{"type":"string","description":"Organization slug to assign to this stack.","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_service_name":{"type":"string","description":"Service Name for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_url":{"type":"string","description":"Base URL of the OTLP instance configured for this stack. The username is the stack's ID (`id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/ for docs on how to use this.","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Profiles instance (Optional)","description_kind":"markdown","computed":true},"profiles_name":{"type":"string","description_kind":"plain","computed":true},"profiles_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_status":{"type":"string","description_kind":"plain","computed":true},"profiles_url":{"type":"string","description_kind":"plain","computed":true},"profiles_user_id":{"type":"number","description_kind":"plain","computed":true},"prometheus_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Prometheus instance (Optional)","description_kind":"markdown","computed":true},"prometheus_name":{"type":"string","description":"Prometheus name for this instance.","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_remote_endpoint":{"type":"string","description":"Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana","description_kind":"markdown","computed":true},"prometheus_remote_write_endpoint":{"type":"string","description":"Use this URL to send prometheus metrics to Grafana cloud","description_kind":"markdown","computed":true},"prometheus_status":{"type":"string","description":"Prometheus status for this instance.","description_kind":"markdown","computed":true},"prometheus_url":{"type":"string","description":"Prometheus url for this instance.","description_kind":"markdown","computed":true},"prometheus_user_id":{"type":"number","description":"Prometheus user ID. Used for e.g. remote_write.","description_kind":"markdown","computed":true},"region_slug":{"type":"string","description":"Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","optional":true},"slug":{"type":"string","description":"Subdomain that the Grafana instance will be available at. Setting slug to `\u003cstack_slug\u003e` will make the instance available at `https://\u003cstack_slug\u003e.grafana.net`.","description_kind":"markdown","required":true},"status":{"type":"string","description":"Status of the stack.","description_kind":"markdown","computed":true},"traces_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Traces instance (Optional)","description_kind":"markdown","computed":true},"traces_name":{"type":"string","description_kind":"plain","computed":true},"traces_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_status":{"type":"string","description_kind":"plain","computed":true},"traces_url":{"type":"string","description":"Base URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append `/tempo` to the URL.","description_kind":"markdown","computed":true},"traces_user_id":{"type":"number","description_kind":"plain","computed":true},"url":{"type":"string","description":"Custom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack","description_kind":"markdown","optional":true},"wait_for_readiness":{"type":"bool","description":"Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.","description_kind":"markdown","optional":true},"wait_for_readiness_timeout":{"type":"string","description":"How long to wait for readiness (if enabled). Defaults to `5m0s`.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#stacks/)\n\nRequired access policy scopes:\n\n* stacks:read\n* stacks:write\n* stacks:delete\n","description_kind":"markdown"}},"grafana_cloud_stack_service_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_disabled":{"type":"bool","description":"The disabled status for the service account. Defaults to `false`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the service account.","description_kind":"markdown","required":true},"role":{"type":"string","description":"The basic role of the service account in the organization.","description_kind":"markdown","required":true},"stack_slug":{"type":"string","description_kind":"plain","required":true}},"description":"\nManages service accounts of a Grafana Cloud stack using the Cloud API\nThis can be used to bootstrap a management service account for a new stack\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)\n\nRequired access policy scopes:\n\n* stacks:read\n* stack-service-accounts:write\n","description_kind":"markdown"}},"grafana_cloud_stack_service_account_token":{"version":0,"block":{"attributes":{"expiration":{"type":"string","description_kind":"plain","computed":true},"has_expired":{"type":"bool","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"name":{"type":"string","description_kind":"plain","required":true},"seconds_to_live":{"type":"number","description_kind":"plain","optional":true},"service_account_id":{"type":"string","description_kind":"plain","required":true},"stack_slug":{"type":"string","description_kind":"plain","required":true}},"description":"\nManages service account tokens of a Grafana Cloud stack using the Cloud API\nThis can be used to bootstrap a management service account token for a new stack\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)\n\nRequired access policy scopes:\n\n* stack-service-accounts:write\n","description_kind":"markdown"}},"grafana_connections_metrics_endpoint_scrape_job":{"version":0,"block":{"attributes":{"authentication_basic_password":{"type":"string","description":"Password for basic authentication, use if scrape job is using basic authentication method","description_kind":"plain","optional":true,"sensitive":true},"authentication_basic_username":{"type":"string","description":"Username for basic authentication, use if scrape job is using basic authentication method","description_kind":"plain","optional":true},"authentication_bearer_token":{"type":"string","description":"Bearer token used for authentication, use if scrape job is using bearer authentication method","description_kind":"plain","optional":true,"sensitive":true},"authentication_method":{"type":"string","description":"Method to pass authentication credentials: basic or bearer.","description_kind":"plain","required":true},"enabled":{"type":"bool","description":"Whether the metrics endpoint scrape job is enabled or not.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the metrics endpoint scrape job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"Frequency for scraping the metrics endpoint: 30, 60, or 120 seconds.","description_kind":"plain","optional":true,"computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"url":{"type":"string","description":"The url to scrape metrics from; a valid HTTPs URL is required.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_contact_point":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the contact point from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the contact point.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"alertmanager":{"nesting_mode":"set","block":{"attributes":{"basic_auth_password":{"type":"string","description":"The password component of the basic auth credentials to use.","description_kind":"markdown","optional":true,"sensitive":true},"basic_auth_user":{"type":"string","description":"The username component of the basic auth credentials to use.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL of the Alertmanager instance.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to other Alertmanager instances.","description_kind":"markdown"}},"dingding":{"nesting_mode":"set","block":{"attributes":{"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"message_type":{"type":"string","description":"The format of message to send - either 'link' or 'actionCard'","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The DingDing webhook URL.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to DingDing.","description_kind":"markdown"}},"discord":{"nesting_mode":"set","block":{"attributes":{"avatar_url":{"type":"string","description":"The URL of a custom avatar image to use. Defaults to ``.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message. Defaults to ``.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated content of the title.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The discord webhook URL.","description_kind":"markdown","required":true,"sensitive":true},"use_discord_username":{"type":"bool","description":"Whether to use the bot account's plain username instead of \"Grafana.\" Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"A contact point that sends notifications as Discord messages","description_kind":"markdown"}},"email":{"nesting_mode":"set","block":{"attributes":{"addresses":{"type":["list","string"],"description":"The addresses to send emails to.","description_kind":"markdown","required":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the email. Defaults to ``.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"single_email":{"type":"bool","description":"Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`.","description_kind":"markdown","optional":true},"subject":{"type":"string","description":"The templated subject line of the email. Defaults to ``.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to an email address.","description_kind":"markdown"}},"googlechat":{"nesting_mode":"set","block":{"attributes":{"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated content of the title.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The Google Chat webhook URL.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to Google Chat.","description_kind":"markdown"}},"kafka":{"nesting_mode":"set","block":{"attributes":{"api_version":{"type":"string","description":"The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`.","description_kind":"markdown","optional":true},"cluster_id":{"type":"string","description":"The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'","description_kind":"markdown","optional":true},"description":{"type":"string","description":"The templated description of the Kafka message.","description_kind":"markdown","optional":true},"details":{"type":"string","description":"The templated details to include with the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"password":{"type":"string","description":"The password to use when making a call to the Kafka REST Proxy","description_kind":"markdown","optional":true,"sensitive":true},"rest_proxy_url":{"type":"string","description":"The URL of the Kafka REST proxy to send requests to.","description_kind":"markdown","required":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"topic":{"type":"string","description":"The name of the Kafka topic to publish to.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"username":{"type":"string","description":"The user name to use when making a call to the Kafka REST Proxy","description_kind":"markdown","optional":true}},"description":"A contact point that publishes notifications to Apache Kafka topics.","description_kind":"markdown"}},"line":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description":"The templated description of the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"token":{"type":"string","description":"The bearer token used to authorize the client.","description_kind":"markdown","required":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to LINE.me.","description_kind":"markdown"}},"oncall":{"nesting_mode":"set","block":{"attributes":{"authorization_credentials":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true,"sensitive":true},"authorization_scheme":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true},"basic_auth_password":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true,"sensitive":true},"basic_auth_user":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"http_method":{"type":"string","description":"The HTTP method to use in the request. Defaults to `POST`.","description_kind":"markdown","optional":true},"max_alerts":{"type":"number","description":"The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Custom message. You can use template variables.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"Templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL to send webhook requests to.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to Grafana On-Call.","description_kind":"markdown"}},"opsgenie":{"nesting_mode":"set","block":{"attributes":{"api_key":{"type":"string","description":"The OpsGenie API key to use.","description_kind":"markdown","required":true,"sensitive":true},"auto_close":{"type":"bool","description":"Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.","description_kind":"markdown","optional":true},"description":{"type":"string","description":"A templated high-level description to use for the alert.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"override_priority":{"type":"bool","description":"Whether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.","description_kind":"markdown","optional":true},"send_tags_as":{"type":"string","description":"Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"Allows customization of the OpsGenie API URL.","description_kind":"markdown","optional":true}},"block_types":{"responders":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description":"ID of the responder. Must be specified if name and username are empty.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Name of the responder. Must be specified if username and id are empty.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.","description_kind":"markdown","required":true},"username":{"type":"string","description":"User name of the responder. Must be specified if name and id are empty.","description_kind":"markdown","optional":true}},"description":"Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.","description_kind":"markdown"}}},"description":"A contact point that sends notifications to OpsGenie.","description_kind":"markdown"}},"pagerduty":{"nesting_mode":"set","block":{"attributes":{"class":{"type":"string","description":"The class or type of event, for example `ping failure`.","description_kind":"markdown","optional":true},"client":{"type":"string","description":"The name of the monitoring client that is triggering this event.","description_kind":"markdown","optional":true},"client_url":{"type":"string","description":"The URL of the monitoring client that is triggering this event.","description_kind":"markdown","optional":true},"component":{"type":"string","description":"The component being affected by the event.","description_kind":"markdown","optional":true},"details":{"type":["map","string"],"description":"A set of arbitrary key/value pairs that provide further detail about the incident.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"group":{"type":"string","description":"The group to which the provided component belongs to.","description_kind":"markdown","optional":true},"integration_key":{"type":"string","description":"The PagerDuty API key.","description_kind":"markdown","required":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"severity":{"type":"string","description":"The PagerDuty event severity level. Default is `critical`.","description_kind":"markdown","optional":true},"source":{"type":"string","description":"The unique location of the affected system.","description_kind":"markdown","optional":true},"summary":{"type":"string","description":"The templated summary message of the event.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL to send API requests to","description_kind":"markdown","optional":true}},"description":"A contact point that sends notifications to PagerDuty.","description_kind":"markdown"}},"pushover":{"nesting_mode":"set","block":{"attributes":{"api_token":{"type":"string","description":"The Pushover API token.","description_kind":"markdown","required":true,"sensitive":true},"device":{"type":"string","description":"Comma-separated list of devices to which the event is associated.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"expire":{"type":"number","description":"How many seconds for which the notification will continue to be retried by Pushover.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated notification message content.","description_kind":"markdown","optional":true},"ok_priority":{"type":"number","description":"The priority level of the resolved event.","description_kind":"markdown","optional":true},"ok_sound":{"type":"string","description":"The sound associated with the resolved notification.","description_kind":"markdown","optional":true},"priority":{"type":"number","description":"The priority level of the event.","description_kind":"markdown","optional":true},"retry":{"type":"number","description":"How often, in seconds, the Pushover servers will send the same notification to the user.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"sound":{"type":"string","description":"The sound associated with the notification.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"upload_image":{"type":"bool","description":"Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.","description_kind":"markdown","optional":true},"user_key":{"type":"string","description":"The Pushover user key.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to Pushover.","description_kind":"markdown"}},"sensugo":{"nesting_mode":"set","block":{"attributes":{"api_key":{"type":"string","description":"The SensuGo API key.","description_kind":"markdown","required":true,"sensitive":true},"check":{"type":"string","description":"The SensuGo check to which the event should be routed.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"entity":{"type":"string","description":"The entity being monitored.","description_kind":"markdown","optional":true},"handler":{"type":"string","description":"A custom handler to execute in addition to the check.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Templated message content describing the alert.","description_kind":"markdown","optional":true},"namespace":{"type":"string","description":"The namespace in which the check resides.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The SensuGo URL to send requests to.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to SensuGo.","description_kind":"markdown"}},"slack":{"nesting_mode":"set","block":{"attributes":{"color":{"type":"string","description":"Templated color of the slack message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"endpoint_url":{"type":"string","description":"Use this to override the Slack API endpoint URL to send requests to.","description_kind":"markdown","optional":true},"icon_emoji":{"type":"string","description":"The name of a Slack workspace emoji to use as the bot icon.","description_kind":"markdown","optional":true},"icon_url":{"type":"string","description":"A URL of an image to use as the bot icon.","description_kind":"markdown","optional":true},"mention_channel":{"type":"string","description":"Describes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping.","description_kind":"markdown","optional":true},"mention_groups":{"type":"string","description":"Comma-separated list of groups to mention in the message.","description_kind":"markdown","optional":true},"mention_users":{"type":"string","description":"Comma-separated list of users to mention in the message.","description_kind":"markdown","optional":true},"recipient":{"type":"string","description":"Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"text":{"type":"string","description":"Templated content of the message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Templated title of the message.","description_kind":"markdown","optional":true},"token":{"type":"string","description":"A Slack API token,for sending messages directly without the webhook method.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"A Slack webhook URL,for sending messages via the webhook method.","description_kind":"markdown","optional":true,"sensitive":true},"username":{"type":"string","description":"Username for the bot to use.","description_kind":"markdown","optional":true}},"description":"A contact point that sends notifications to Slack.","description_kind":"markdown"}},"sns":{"nesting_mode":"set","block":{"attributes":{"access_key":{"type":"string","description":"AWS access key ID used to authenticate with Amazon SNS.","description_kind":"markdown","optional":true,"sensitive":true},"assume_role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.","description_kind":"markdown","optional":true},"auth_provider":{"type":"string","description":"The authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`.","description_kind":"markdown","optional":true},"body":{"type":"string","description_kind":"plain","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"external_id":{"type":"string","description":"The external ID to use when assuming the role.","description_kind":"markdown","optional":true},"message_format":{"type":"string","description":"The format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`.","description_kind":"markdown","optional":true},"secret_key":{"type":"string","description":"AWS secret access key used to authenticate with Amazon SNS.","description_kind":"markdown","optional":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"subject":{"type":"string","description_kind":"plain","optional":true},"topic":{"type":"string","description":"The Amazon SNS topic to send notifications to.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.","description_kind":"markdown"}},"teams":{"nesting_mode":"set","block":{"attributes":{"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated message content to send.","description_kind":"markdown","optional":true},"section_title":{"type":"string","description":"The templated subtitle for each message section.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"A Teams webhook URL.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to Microsoft Teams.","description_kind":"markdown"}},"telegram":{"nesting_mode":"set","block":{"attributes":{"chat_id":{"type":"string","description":"The chat ID to send messages to.","description_kind":"markdown","required":true},"disable_notifications":{"type":"bool","description":"When set users will receive a notification with no sound.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"disable_web_page_preview":{"type":"bool","description":"When set it disables link previews for links in the message.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"message_thread_id":{"type":"string","description":"The ID of the message thread to send the message to.","description_kind":"markdown","optional":true},"parse_mode":{"type":"string","description":"Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.","description_kind":"markdown","optional":true},"protect_content":{"type":"bool","description":"When set it protects the contents of the message from forwarding and saving.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"token":{"type":"string","description":"The Telegram bot token.","description_kind":"markdown","required":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Telegram.","description_kind":"markdown"}},"threema":{"nesting_mode":"set","block":{"attributes":{"api_secret":{"type":"string","description":"The Threema API key.","description_kind":"markdown","required":true,"sensitive":true},"description":{"type":"string","description":"The templated description of the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"gateway_id":{"type":"string","description":"The Threema gateway ID.","description_kind":"markdown","required":true},"recipient_id":{"type":"string","description":"The ID of the recipient of the message.","description_kind":"markdown","required":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Threema.","description_kind":"markdown"}},"victorops":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description":"Templated description of the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message_type":{"type":"string","description":"The VictorOps alert state - typically either `CRITICAL` or `RECOVERY`.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"Templated title to display.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The VictorOps webhook URL.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to VictorOps (now known as Splunk OnCall).","description_kind":"markdown"}},"webex":{"nesting_mode":"set","block":{"attributes":{"api_url":{"type":"string","description":"The URL to send webhook requests to.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated title of the message to send.","description_kind":"markdown","optional":true},"room_id":{"type":"string","description":"ID of the Webex Teams room where to send the messages.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"token":{"type":"string","description":"The bearer token used to authorize the client.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Cisco Webex.","description_kind":"markdown"}},"webhook":{"nesting_mode":"set","block":{"attributes":{"authorization_credentials":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true,"sensitive":true},"authorization_scheme":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true},"basic_auth_password":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true,"sensitive":true},"basic_auth_user":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"http_method":{"type":"string","description":"The HTTP method to use in the request. Defaults to `POST`.","description_kind":"markdown","optional":true},"max_alerts":{"type":"number","description":"The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Custom message. You can use template variables.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"Templated title of the message.","description_kind":"markdown","optional":true},"tls_config":{"type":["map","string"],"description":"Allows configuring TLS for the webhook notifier.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL to send webhook requests to.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config","description_kind":"markdown"}},"wecom":{"nesting_mode":"set","block":{"attributes":{"agent_id":{"type":"string","description":"Agent ID added to the request payload when using APIAPP.","description_kind":"markdown","optional":true},"corp_id":{"type":"string","description":"Corp ID used to get token when using APIAPP.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message to send.","description_kind":"markdown","optional":true},"msg_type":{"type":"string","description":"The type of them message. Supported: markdown, text. Default: text.","description_kind":"markdown","optional":true},"secret":{"type":"string","description":"The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.","description_kind":"markdown","optional":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message to send.","description_kind":"markdown","optional":true},"to_user":{"type":"string","description":"The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The WeCom webhook URL. Required if using GroupRobot.","description_kind":"markdown","optional":true,"sensitive":true}},"description":"A contact point that sends notifications to WeCom.","description_kind":"markdown"}}},"description":"\nManages Grafana Alerting contact points.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#contact-points)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_dashboard":{"version":1,"block":{"attributes":{"config_json":{"type":"string","description":"The complete dashboard model JSON.","description_kind":"markdown","required":true},"dashboard_id":{"type":"number","description":"The numeric ID of the dashboard computed by Grafana.","description_kind":"markdown","computed":true},"folder":{"type":"string","description":"The id or UID of the folder to save the dashboard in.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"message":{"type":"string","description":"Set a commit message for the version history.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"overwrite":{"type":"bool","description":"Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The unique identifier of a dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a dashboard. The uid allows having consistent URLs for accessing dashboards and when syncing dashboards between multiple Grafana installs.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The full URL of the dashboard.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Whenever you save a version of your dashboard, a copy of that version is saved so that previous versions of your dashboard are not lost.","description_kind":"markdown","computed":true}},"description":"\nManages Grafana dashboards.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)\n","description_kind":"markdown"}},"grafana_dashboard_permission":{"version":0,"block":{"attributes":{"dashboard_uid":{"type":"string","description":"UID of the dashboard to apply permissions to.","description_kind":"markdown","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"permission":{"type":"string","description":"Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.","description_kind":"markdown","required":true},"role":{"type":"string","description":"Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a dashboard. Permissions that aren't specified when applying this resource will be removed.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_permissions/)\n","description_kind":"markdown"}},"grafana_dashboard_permission_item":{"version":0,"block":{"attributes":{"dashboard_uid":{"type":"string","description":"The UID of the dashboard.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"role":{"type":"string","description":"the role onto which the permission is to be assigned","description_kind":"plain","optional":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a dashboard. Conflicts with the \"grafana_dashboard_permission\" resource which manages the entire set of permissions for a dashboard.","description_kind":"markdown"}},"grafana_dashboard_public":{"version":0,"block":{"attributes":{"access_token":{"type":"string","description":"A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard.","description_kind":"markdown","optional":true,"computed":true},"annotations_enabled":{"type":"bool","description":"Set to `true` to show annotations. The default value is `false`.","description_kind":"markdown","optional":true},"dashboard_uid":{"type":"string","description":"The unique identifier of the original dashboard.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_enabled":{"type":"bool","description":"Set to `true` to enable the public dashboard. The default value is `false`.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"share":{"type":"string","description":"Set the share mode. The default value is `public`.","description_kind":"markdown","optional":true},"time_selection_enabled":{"type":"bool","description":"Set to `true` to enable the time picker in the public dashboard. The default value is `false`.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard.","description_kind":"markdown","optional":true,"computed":true}},"description":"\nManages Grafana public dashboards.\n\n**Note:** This resource is available only with Grafana 10.2+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/share-dashboards-panels/shared-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/next/developers/http_api/dashboard_public/)\n","description_kind":"markdown"}},"grafana_data_source":{"version":1,"block":{"attributes":{"access_mode":{"type":"string","description":"The method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`.","description_kind":"markdown","optional":true},"basic_auth_enabled":{"type":"bool","description":"Whether to enable basic auth for the data source. Defaults to `false`.","description_kind":"markdown","optional":true},"basic_auth_username":{"type":"string","description":"Basic auth username. Defaults to ``.","description_kind":"markdown","optional":true},"database_name":{"type":"string","description":"(Required by some data source types) The name of the database to use on the selected data source server. Defaults to ``.","description_kind":"markdown","optional":true},"http_headers":{"type":["map","string"],"description":"Custom HTTP headers","description_kind":"markdown","optional":true,"sensitive":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_default":{"type":"bool","description":"Whether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`.","description_kind":"markdown","optional":true},"json_data_encoded":{"type":"string","description":"Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"A unique name for the data source.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"private_data_source_connect_network_id":{"type":"string","description":"(Can only be used with data sources in Grafana Cloud) The ID of the Private Data source Connect network to use with this data source. Defaults to ``.","description_kind":"markdown","optional":true},"secure_json_data_encoded":{"type":"string","description":"Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true,"sensitive":true},"type":{"type":"string","description":"The data source type. Must be one of the supported data source keywords.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"Unique identifier. If unset, this will be automatically generated.","description_kind":"markdown","optional":true,"computed":true},"url":{"type":"string","description":"The URL for the data source. The type of URL required varies depending on the chosen data source type.","description_kind":"markdown","optional":true},"username":{"type":"string","description":"(Required by some data source types) The username to use to authenticate to the data source. Defaults to ``.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/datasources/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/data_source/)\n\nThe required arguments for this resource vary depending on the type of data\nsource selected (via the 'type' argument).\n","description_kind":"markdown"}},"grafana_data_source_config":{"version":0,"block":{"attributes":{"http_headers":{"type":["map","string"],"description":"Custom HTTP headers","description_kind":"markdown","optional":true,"sensitive":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"json_data_encoded":{"type":"string","description":"Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"secure_json_data_encoded":{"type":"string","description":"Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"Unique identifier. If unset, this will be automatically generated.","description_kind":"markdown","optional":true,"computed":true}},"description":"* [Official documentation](https://grafana.com/docs/grafana/latest/datasources/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/data_source/)\n\nThe required arguments for this resource vary depending on the type of data\nsource selected (via the 'type' argument).\n\nUse this resource for configuring multiple datasources, when that configuration (`json_data_encoded` field) requires circular references like in the example below.\n\n\u003e When using the `grafana_data_source_config` resource, the corresponding `grafana_data_source` resources must have the `json_data_encoded` and `http_headers` fields ignored. Otherwise, an infinite update loop will occur. See the example below.\n","description_kind":"markdown"}},"grafana_data_source_config_lbac_rules":{"version":0,"block":{"attributes":{"datasource_uid":{"type":"string","description":"The UID of the datasource.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"rules":{"type":"string","description":"JSON-encoded LBAC rules for the data source. Map of team UIDs to lists of rule strings.","description_kind":"plain","required":true}},"description":"\nManages LBAC rules for a data source.\n\n!\u003e Warning: The resource is experimental and will be subject to change. This resource manages the entire LBAC rules tree, and will overwrite any existing rules.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/data-source-management/teamlbac/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/datasource_lbac_rules/)\n\nThis resource requires Grafana \u003e=11.5.0.\n","description_kind":"markdown"}},"grafana_data_source_permission":{"version":0,"block":{"attributes":{"datasource_uid":{"type":"string","description":"UID of the datasource to apply permissions to.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"built_in_role":{"type":"string","description":"Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.","description_kind":"markdown","optional":true},"permission":{"type":"string","description":"Permission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+).","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a datasource. Permissions that aren't specified when applying this resource will be removed.\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/datasource_permissions/)\n","description_kind":"markdown"}},"grafana_data_source_permission_item":{"version":0,"block":{"attributes":{"datasource_uid":{"type":"string","description":"The UID of the datasource.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"role":{"type":"string","description":"the role onto which the permission is to be assigned","description_kind":"plain","optional":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a datasource. Conflicts with the \"grafana_data_source_permission\" resource which manages the entire set of permissions for a datasource.","description_kind":"markdown"}},"grafana_fleet_management_collector":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Whether remote configuration for the collector is enabled or not. If the collector is disabled, it will receive empty configurations from the Fleet Management service","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"ID of the collector","description_kind":"plain","required":true},"remote_attributes":{"type":["map","string"],"description":"Remote attributes for the collector","description_kind":"plain","optional":true,"computed":true}},"description":"\nManages Grafana Fleet Management collectors.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/collector-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n* fleet-management:write\n","description_kind":"plain"}},"grafana_fleet_management_pipeline":{"version":0,"block":{"attributes":{"contents":{"type":"string","description":"Configuration contents of the pipeline to be used by collectors","description_kind":"plain","required":true},"enabled":{"type":"bool","description":"Whether the pipeline is enabled for collectors","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"Server-assigned ID of the pipeline","description_kind":"plain","computed":true},"matchers":{"type":["list","string"],"description":"Used to match against collectors and assign pipelines to them; follows the syntax of Prometheus Alertmanager matchers","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the pipeline which is the unique identifier for the pipeline","description_kind":"plain","required":true}},"description":"\nManages Grafana Fleet Management pipelines.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/pipeline-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n* fleet-management:write\n","description_kind":"plain"}},"grafana_folder":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"parent_folder_uid":{"type":"string","description":"The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.","description_kind":"markdown","optional":true},"prevent_destroy_if_not_empty":{"type":"bool","description":"Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"The title of the folder.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"Unique identifier.","description_kind":"markdown","optional":true,"computed":true},"url":{"type":"string","description":"The full URL of the folder.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)\n","description_kind":"markdown"}},"grafana_folder_permission":{"version":0,"block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"permission":{"type":"string","description":"Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.","description_kind":"markdown","required":true},"role":{"type":"string","description":"Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)\n","description_kind":"markdown"}},"grafana_folder_permission_item":{"version":0,"block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"role":{"type":"string","description":"the role onto which the permission is to be assigned","description_kind":"plain","optional":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a folder. Conflicts with the \"grafana_folder_permission\" resource which manages the entire set of permissions for a folder.\n\t\t* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n\t\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)","description_kind":"markdown"}},"grafana_frontend_o11y_app":{"version":0,"block":{"attributes":{"allowed_origins":{"type":["list","string"],"description":"A list of allowed origins for CORS.","description_kind":"plain","required":true},"collector_endpoint":{"type":"string","description":"The collector URL Grafana Cloud Frontend Observability. Use this endpoint to send your Telemetry.","description_kind":"plain","computed":true},"extra_log_attributes":{"type":["map","string"],"description":"The extra attributes to append in each signal.","description_kind":"plain","required":true},"id":{"type":"number","description":"The Terraform Resource ID. This is auto-generated from Frontend Observability API.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of Frontend Observability App. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"settings":{"type":["map","string"],"description":"The key-value settings of the Frontend Observability app. Available Settings: `{combineLabData=(0|1),geolocation.level=(0|1),geolocation.level=0-4,geolocation.country_denylist=\u003ccomma-separated-list-of-country-codes\u003e}`","description_kind":"markdown","required":true},"stack_id":{"type":"number","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_k6_installation":{"version":0,"block":{"attributes":{"cloud_access_policy_token":{"type":"string","description":"The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/).","description_kind":"markdown","required":true,"sensitive":true},"grafana_sa_token":{"type":"string","description":"The [service account](https://grafana.com/docs/grafana/latest/administration/service-accounts/) token.","description_kind":"markdown","required":true,"sensitive":true},"grafana_user":{"type":"string","description":"The user to use for the installation.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"k6_access_token":{"type":"string","description":"Generated token to access the k6 API.","description_kind":"markdown","computed":true,"sensitive":true},"k6_organization":{"type":"string","description":"The identifier of the k6 organization.","description_kind":"markdown","computed":true},"stack_id":{"type":"string","description":"The identifier of the stack to install k6 on.","description_kind":"markdown","required":true}},"description":"\nSets up the k6 App on a Grafana Cloud instance and generates a token. \nOnce a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install k6.\nThis resource cannot be imported but it can be used on an existing k6 App installation without issues.\n\n**Note that this resource must be used on a provider configured with Grafana Cloud credentials.**\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/k6/)\n\nRequired access policy scopes:\n\n* stacks:read\n* stacks:write\n* subscriptions:read\n* orgs:read\n","description_kind":"markdown"}},"grafana_k6_load_test":{"version":1,"block":{"attributes":{"baseline_test_run_id":{"type":"string","description":"Identifier of a baseline test run used for results comparison.","description_kind":"plain","optional":true},"created":{"type":"string","description":"The date when the load test was created.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the load test.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the load test.","description_kind":"plain","required":true},"project_id":{"type":"string","description":"The identifier of the project this load test belongs to.","description_kind":"plain","required":true},"script":{"type":"string","description":"The k6 test script content. Can be provided inline or via the `file()` function.","description_kind":"plain","required":true},"updated":{"type":"string","description":"The date when the load test was last updated.","description_kind":"plain","computed":true}},"description":"Manages a k6 load test.","description_kind":"plain"}},"grafana_k6_project":{"version":1,"block":{"attributes":{"created":{"type":"string","description":"The date when the project was created.","description_kind":"plain","computed":true},"grafana_folder_uid":{"type":"string","description":"The Grafana folder uid.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the project.","description_kind":"plain","computed":true},"is_default":{"type":"bool","description":"Use this project as default for running tests when no explicit project identifier is provided.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the project.","description_kind":"plain","required":true},"updated":{"type":"string","description":"The date when the project was last updated.","description_kind":"plain","computed":true}},"description":"Manages a k6 project.","description_kind":"plain"}},"grafana_k6_project_allowed_load_zones":{"version":0,"block":{"attributes":{"allowed_load_zones":{"type":["list","string"],"description":"List of allowed private k6 load zone IDs for this project.","description_kind":"plain","required":true},"id":{"type":"string","description":"The identifier of the project. This is set to the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to manage private allowed load zones for.","description_kind":"plain","required":true}},"description":"Manages allowed private load zones for a k6 project.","description_kind":"plain"}},"grafana_k6_project_limits":{"version":1,"block":{"attributes":{"duration_max_per_test":{"type":"number","description":"Maximum duration of a test in seconds.","description_kind":"plain","optional":true},"id":{"type":"string","description":"The identifier of the project limits. This is the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to manage limits for.","description_kind":"plain","required":true},"vu_browser_max_per_test":{"type":"number","description":"Maximum number of concurrent browser virtual users (VUs) used in one test.","description_kind":"plain","optional":true},"vu_max_per_test":{"type":"number","description":"Maximum number of concurrent virtual users (VUs) used in one test.","description_kind":"plain","optional":true},"vuh_max_per_month":{"type":"number","description":"Maximum amount of virtual user hours (VU/h) used per one calendar month.","description_kind":"plain","optional":true}},"description":"Manages limits for a k6 project.","description_kind":"plain"}},"grafana_k6_schedule":{"version":0,"block":{"attributes":{"created_by":{"type":"string","description":"The email of the user who created the schedule.","description_kind":"plain","computed":true},"deactivated":{"type":"bool","description":"Whether the schedule is deactivated.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the schedule.","description_kind":"plain","computed":true},"load_test_id":{"type":"string","description":"The identifier of the load test to schedule.","description_kind":"plain","required":true},"next_run":{"type":"string","description":"The next scheduled execution time.","description_kind":"plain","computed":true},"starts":{"type":"string","description":"The start time for the schedule (RFC3339 format).","description_kind":"plain","required":true}},"block_types":{"recurrence_rule":{"nesting_mode":"single","block":{"attributes":{"byday":{"type":["list","string"],"description":"The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.","description_kind":"plain","optional":true},"count":{"type":"number","description":"How many times the recurrence will repeat.","description_kind":"plain","optional":true},"frequency":{"type":"string","description":"The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY, YEARLY).","description_kind":"plain","optional":true},"interval":{"type":"number","description":"The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY). Defaults to 1.","description_kind":"plain","optional":true,"computed":true},"until":{"type":"string","description":"The end time for the recurrence (RFC3339 format).","description_kind":"plain","optional":true}},"description":"The schedule recurrence settings. If not specified, the test will run only once on the 'starts' date.","description_kind":"plain"}}},"description":"Manages a k6 schedule for automated test execution.","description_kind":"plain"}},"grafana_library_panel":{"version":0,"block":{"attributes":{"created":{"type":"string","description":"Timestamp when the library panel was created.","description_kind":"markdown","computed":true},"dashboard_ids":{"type":["list","number"],"description":"Numerical IDs of Grafana dashboards containing the library panel.","description_kind":"markdown","computed":true},"description":{"type":"string","description":"Description of the library panel.","description_kind":"markdown","computed":true},"folder_name":{"type":"string","description":"Name of the folder containing the library panel.","description_kind":"markdown","computed":true},"folder_uid":{"type":"string","description":"Unique ID (UID) of the folder containing the library panel.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"model_json":{"type":"string","description":"The JSON model for the library panel.","description_kind":"markdown","required":true},"name":{"type":"string","description":"Name of the library panel.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"panel_id":{"type":"number","description":"The numeric ID of the library panel computed by Grafana.","description_kind":"markdown","computed":true},"type":{"type":"string","description":"Type of the library panel (eg. text).","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.","description_kind":"markdown","optional":true,"computed":true},"updated":{"type":"string","description":"Timestamp when the library panel was last modified.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Version of the library panel.","description_kind":"markdown","computed":true}},"description":"\nManages Grafana library panels.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/manage-library-panels/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/library_element/)\n","description_kind":"markdown"}},"grafana_machine_learning_alert":{"version":0,"block":{"attributes":{"annotations":{"type":["map","string"],"description":"Annotations to add to the alert generated in Grafana.","description_kind":"plain","optional":true},"anomaly_condition":{"type":"string","description":"The condition for when to consider a point as anomalous.","description_kind":"plain","optional":true},"for":{"type":"string","description":"How long values must be anomalous before firing an alert.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The ID of the alert.","description_kind":"plain","computed":true},"job_id":{"type":"string","description":"The forecast this alert belongs to.","description_kind":"plain","optional":true},"labels":{"type":["map","string"],"description":"Labels to add to the alert generated in Grafana.","description_kind":"plain","optional":true},"no_data_state":{"type":"string","description":"How the alert should be processed when no data is returned by the underlying series","description_kind":"plain","optional":true},"outlier_id":{"type":"string","description":"The forecast this alert belongs to.","description_kind":"plain","optional":true},"threshold":{"type":"string","description":"The threshold of points over the window that need to be anomalous to alert.","description_kind":"plain","optional":true},"title":{"type":"string","description":"The title of the alert.","description_kind":"plain","required":true},"window":{"type":"string","description":"How much time to average values over","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"grafana_machine_learning_holiday":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"A description of the holiday.","description_kind":"markdown","optional":true},"ical_timezone":{"type":"string","description":"The timezone to use for events in the iCal file pointed to by ical_url.","description_kind":"markdown","optional":true},"ical_url":{"type":"string","description":"A URL to an iCal file containing all occurrences of the holiday.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the holiday.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the holiday.","description_kind":"markdown","required":true}},"block_types":{"custom_periods":{"nesting_mode":"list","block":{"attributes":{"end_time":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description":"The name of the custom period.","description_kind":"markdown","optional":true},"start_time":{"type":"string","description_kind":"plain","required":true}},"description":"A list of custom periods for the holiday.","description_kind":"markdown"}}},"description":"\nA holiday describes time periods where a time series is expected to behave differently to normal.\n\nTo use a holiday in a job, use its id in the `holidays` attribute of a `grafana_machine_learning_job`:\n\n```terraform\nresource \"grafana_machine_learning_job\" \"test_job\" {\n  ...\n  holidays = [\n    grafana_machine_learning_holiday.my_holiday.id\n  ]\n}\n```","description_kind":"markdown"}},"grafana_machine_learning_job":{"version":0,"block":{"attributes":{"custom_labels":{"type":["map","string"],"description":"An object representing the custom labels added on the forecast.","description_kind":"markdown","optional":true},"datasource_type":{"type":"string","description":"The type of datasource being queried. Currently allowed values are prometheus, grafana-prometheus-datasource, grafana-amazonprometheus-datasource, loki, grafana-loki-datasource, graphite, grafana-graphite-datasource, grafana-datadog-datasource, postgres, grafana-postgresql-datasource, doitintl-bigquery-datasource, grafana-bigquery-datasource, grafana-snowflake-datasource, influxdb, grafana-influxdb-datasource, grafana-splunk-datasource, elasticsearch, grafana-elasticsearch-datasource, and grafana-mongodb-datasource.","description_kind":"markdown","required":true},"datasource_uid":{"type":"string","description":"The uid of the datasource to query.","description_kind":"markdown","required":true},"description":{"type":"string","description":"A description of the job.","description_kind":"markdown","optional":true},"holidays":{"type":["list","string"],"description":"A list of holiday IDs or names to take into account when training the model.","description_kind":"markdown","optional":true},"hyper_params":{"type":["map","string"],"description":"The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the job.","description_kind":"markdown","computed":true},"interval":{"type":"number","description":"The data interval in seconds to train the data on. Defaults to `300`.","description_kind":"markdown","optional":true},"metric":{"type":"string","description":"The metric used to query the job results.","description_kind":"markdown","required":true},"name":{"type":"string","description":"The name of the job.","description_kind":"markdown","required":true},"query_params":{"type":["map","string"],"description":"An object representing the query params to query Grafana with.","description_kind":"markdown","required":true},"training_window":{"type":"number","description":"The data interval in seconds to train the data on. Defaults to `7776000`.","description_kind":"markdown","optional":true}},"description":"\nA job defines the queries and model parameters for a machine learning task.\n\nSee [the Grafana Cloud docs](https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/dynamic-alerting/forecasting/config/) for more information\non available hyperparameters for use in the `hyper_params` field.","description_kind":"markdown"}},"grafana_machine_learning_outlier_detector":{"version":0,"block":{"attributes":{"datasource_type":{"type":"string","description":"The type of datasource being queried. Currently allowed values are prometheus, grafana-prometheus-datasource, grafana-amazonprometheus-datasource, loki, grafana-loki-datasource, graphite, grafana-graphite-datasource, grafana-datadog-datasource, postgres, grafana-postgresql-datasource, doitintl-bigquery-datasource, grafana-bigquery-datasource, grafana-snowflake-datasource, influxdb, grafana-influxdb-datasource, grafana-splunk-datasource, elasticsearch, grafana-elasticsearch-datasource, and grafana-mongodb-datasource.","description_kind":"markdown","required":true},"datasource_uid":{"type":"string","description":"The uid of the datasource to query.","description_kind":"markdown","required":true},"description":{"type":"string","description":"A description of the outlier detector.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the outlier detector.","description_kind":"markdown","computed":true},"interval":{"type":"number","description":"The data interval in seconds to monitor. Defaults to `300`.","description_kind":"markdown","optional":true},"metric":{"type":"string","description":"The metric used to query the outlier detector results.","description_kind":"markdown","required":true},"name":{"type":"string","description":"The name of the outlier detector.","description_kind":"markdown","required":true},"query_params":{"type":["map","string"],"description":"An object representing the query params to query Grafana with.","description_kind":"markdown","required":true}},"block_types":{"algorithm":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"The name of the algorithm to use ('mad' or 'dbscan').","description_kind":"markdown","required":true},"sensitivity":{"type":"number","description":"Specify the sensitivity of the detector (in range [0,1]).","description_kind":"markdown","required":true}},"block_types":{"config":{"nesting_mode":"set","block":{"attributes":{"epsilon":{"type":"number","description":"Specify the epsilon parameter (positive float)","description_kind":"markdown","required":true}},"description":"For DBSCAN only, specify the configuration map","description_kind":"markdown"},"max_items":1}},"description":"The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"\nAn outlier detector monitors the results of a query and reports when its values are outside normal bands.\n\nThe normal band is configured by choice of algorithm, its sensitivity and other configuration.\n\nVisit https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for more details.\n","description_kind":"markdown"}},"grafana_message_template":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the message template from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the notification template group.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"template":{"type":"string","description":"The content of the notification template group.","description_kind":"markdown","required":true}},"description":"\nManages Grafana Alerting notification template groups, including notification templates.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#notification-template-groups)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_mute_timing":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the mute timing from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the mute timing.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"intervals":{"nesting_mode":"list","block":{"attributes":{"days_of_month":{"type":["list","string"],"description":"An inclusive range of days, 1-31, within a month, e.g. \"1\" or \"14:16\". Negative values can be used to represent days counting from the end of a month, e.g. \"-1\".","description_kind":"markdown","optional":true},"location":{"type":"string","description":"Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g \"America/New_York\"","description_kind":"markdown","optional":true},"months":{"type":["list","string"],"description":"An inclusive range of months, either numerical or full calendar month, e.g. \"1:3\", \"december\", or \"may:august\".","description_kind":"markdown","optional":true},"weekdays":{"type":["list","string"],"description":"An inclusive range of weekdays, e.g. \"monday\" or \"tuesday:thursday\".","description_kind":"markdown","optional":true},"years":{"type":["list","string"],"description":"A positive inclusive range of years, e.g. \"2030\" or \"2025:2026\".","description_kind":"markdown","optional":true}},"block_types":{"times":{"nesting_mode":"list","block":{"attributes":{"end":{"type":"string","description":"The time, in hh:mm format, of when the interval should end exclusively.","description_kind":"markdown","required":true},"start":{"type":"string","description":"The time, in hh:mm format, of when the interval should begin inclusively.","description_kind":"markdown","required":true}},"description":"The time ranges, represented in minutes, during which to mute in a given day.","description_kind":"markdown"}}},"description":"The time intervals at which to mute notifications. Use an empty block to mute all the time.","description_kind":"markdown"}}},"description":"\nManages Grafana Alerting mute timings.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#mute-timings)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_notification_policy":{"version":0,"block":{"attributes":{"contact_point":{"type":"string","description":"The default contact point to route all unmatched notifications to.","description_kind":"markdown","required":true},"disable_provenance":{"type":"bool","description":"Allow modifying the notification policy from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.","description_kind":"markdown","required":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}},"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}},"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}},"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","required":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"\nSets the global notification policy for Grafana.\n\n!\u003e This resource manages the entire notification policy tree and overwrites its policies. However, it does not overwrite internal policies created when alert rules directly set a contact point for notifications.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#notification-policies)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_oncall_escalation":{"version":0,"block":{"attributes":{"action_to_trigger":{"type":"string","description":"The ID of an Action for trigger_webhook type step.","description_kind":"markdown","optional":true},"duration":{"type":"number","description":"The duration of delay for wait type step. (60-86400) seconds","description_kind":"markdown","optional":true},"escalation_chain_id":{"type":"string","description":"The ID of the escalation chain.","description_kind":"markdown","required":true},"group_to_notify":{"type":"string","description":"The ID of a User Group for notify_user_group type step.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"important":{"type":"bool","description":"Will activate \"important\" personal notification rules. Actual for steps: notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, notify_user_group and notify_team_members","description_kind":"markdown","optional":true},"notify_if_time_from":{"type":"string","description":"The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).","description_kind":"markdown","optional":true},"notify_if_time_to":{"type":"string","description":"The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).","description_kind":"markdown","optional":true},"notify_on_call_from_schedule":{"type":"string","description":"ID of a Schedule for notify_on_call_from_schedule type step.","description_kind":"markdown","optional":true},"notify_to_team_members":{"type":"string","description":"The ID of a Team for a notify_team_members type step.","description_kind":"markdown","optional":true},"persons_to_notify":{"type":["set","string"],"description":"The list of ID's of users for notify_persons type step.","description_kind":"markdown","optional":true},"persons_to_notify_next_each_time":{"type":["set","string"],"description":"The list of ID's of users for notify_person_next_each_time type step.","description_kind":"markdown","optional":true},"position":{"type":"number","description":"The position of the escalation step (starts from 0).","description_kind":"markdown","required":true},"severity":{"type":"string","description":"The severity of the incident for declare_incident type step.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members, declare_incident","description_kind":"markdown","required":true}},"description":"\n* [Official documentation](https://grafana.com/docs/oncall/latest/configure/escalation-chains-and-routes/)\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/)\n","description_kind":"markdown"}},"grafana_oncall_escalation_chain":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the escalation chain.","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)\n","description_kind":"markdown"}},"grafana_oncall_integration":{"version":0,"block":{"attributes":{"dynamic_labels":{"type":["list",["map","string"]],"description":"A list of string-to-string mappings for dynamic labels. Each map must include one key named \"key\" and one key named \"value\" (using the `grafana_oncall_label` datasource).","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"labels":{"type":["list",["map","string"]],"description":"A list of string-to-string mappings for static labels. Each map must include one key named \"key\" and one key named \"value\" (using the `grafana_oncall_label` datasource).","description_kind":"markdown","optional":true},"link":{"type":"string","description":"The link for using in an integrated tool.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the service integration.","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira, zendesk.","description_kind":"markdown","required":true}},"block_types":{"default_route":{"nesting_mode":"list","block":{"attributes":{"escalation_chain_id":{"type":"string","description":"The ID of the escalation chain.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"msteams":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in MS teams. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"MS teams channel id. Alerts will be directed to this channel in Microsoft teams.","description_kind":"markdown","optional":true}},"description":"MS teams-specific settings for a route.","description_kind":"markdown"},"max_items":1},"slack":{"nesting_mode":"list","block":{"attributes":{"channel_id":{"type":"string","description":"Slack channel id. Alerts will be directed to this channel in Slack.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Enable notification in Slack. Defaults to `true`.","description_kind":"markdown","optional":true}},"description":"Slack-specific settings for a route.","description_kind":"markdown"},"max_items":1},"telegram":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in Telegram. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"Telegram channel id. Alerts will be directed to this channel in Telegram.","description_kind":"markdown","optional":true}},"description":"Telegram-specific settings for a route.","description_kind":"markdown"},"max_items":1}},"description":"The Default route for all alerts from the given integration","description_kind":"markdown"},"min_items":1,"max_items":1},"templates":{"nesting_mode":"list","block":{"attributes":{"acknowledge_signal":{"type":"string","description":"Template for sending a signal to acknowledge the Incident.","description_kind":"markdown","optional":true},"grouping_key":{"type":"string","description":"Template for the key by which alerts are grouped.","description_kind":"markdown","optional":true},"resolve_signal":{"type":"string","description":"Template for sending a signal to resolve the Incident.","description_kind":"markdown","optional":true},"source_link":{"type":"string","description":"Template for a source link.","description_kind":"markdown","optional":true}},"block_types":{"email":{"nesting_mode":"list","block":{"attributes":{"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Email.","description_kind":"markdown"},"max_items":1},"microsoft_teams":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Microsoft Teams. **NOTE**: Microsoft Teams templates are only available on Grafana Cloud.","description_kind":"markdown"},"max_items":1},"mobile_app":{"nesting_mode":"list","block":{"attributes":{"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Mobile app push notifications.","description_kind":"markdown"},"max_items":1},"phone_call":{"nesting_mode":"list","block":{"attributes":{"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Phone Call.","description_kind":"markdown"},"max_items":1},"slack":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Slack.","description_kind":"markdown"},"max_items":1},"sms":{"nesting_mode":"list","block":{"attributes":{"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for SMS.","description_kind":"markdown"},"max_items":1},"telegram":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Telegram.","description_kind":"markdown"},"max_items":1},"web":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Web.","description_kind":"markdown"},"max_items":1}},"description":"Jinja2 templates for Alert payload. An empty templates block will be ignored.","description_kind":"markdown"},"max_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/oncall/latest/configure/integrations/)\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/)\n","description_kind":"markdown"}},"grafana_oncall_on_call_shift":{"version":0,"block":{"attributes":{"by_day":{"type":["set","string"],"description":"This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU","description_kind":"markdown","optional":true},"by_month":{"type":["set","number"],"description":"This parameter takes a list of months. Valid values are 1 to 12","description_kind":"markdown","optional":true},"by_monthday":{"type":["set","number"],"description":"This parameter takes a list of days of the month.  Valid values are 1 to 31 or -31 to -1","description_kind":"markdown","optional":true},"duration":{"type":"number","description":"The duration of the event.","description_kind":"markdown","required":true},"frequency":{"type":"string","description":"The frequency of the event. Can be hourly, daily, weekly, monthly","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"interval":{"type":"number","description":"The positive integer representing at which intervals the recurrence rule repeats.","description_kind":"markdown","optional":true},"level":{"type":"number","description":"The priority level. The higher the value, the higher the priority.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The shift's name.","description_kind":"markdown","required":true},"rolling_users":{"type":["list",["set","string"]],"description":"The list of lists with on-call users (for rolling_users event type)","description_kind":"markdown","optional":true},"start":{"type":"string","description":"The start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")","description_kind":"markdown","required":true},"start_rotation_from_user_index":{"type":"number","description":"The index of the list of users in rolling_users, from which on-call rotation starts.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"time_zone":{"type":"string","description":"The shift's timezone.  Overrides schedule's timezone.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The shift's type. Can be rolling_users, recurrent_event, single_event","description_kind":"markdown","required":true},"until":{"type":"string","description":"The end time of recurrent on-call shifts (endless if null). This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")","description_kind":"markdown","optional":true},"users":{"type":["set","string"],"description":"The list of on-call users (for single_event and recurrent_event event type).","description_kind":"markdown","optional":true},"week_start":{"type":"string","description":"Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU","description_kind":"markdown","optional":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/on_call_shifts/)\n","description_kind":"markdown"}},"grafana_oncall_outgoing_webhook":{"version":0,"block":{"attributes":{"authorization_header":{"type":"string","description":"The auth data of the webhook. Used in Authorization header instead of user/password auth.","description_kind":"markdown","optional":true,"sensitive":true},"data":{"type":"string","description":"The data of the webhook.","description_kind":"markdown","optional":true},"forward_whole_payload":{"type":"bool","description":"Toggle to send the entire webhook payload instead of using the values in the Data field.","description_kind":"markdown","optional":true},"headers":{"type":"string","description":"Headers to add to the outgoing webhook request.","description_kind":"markdown","optional":true},"http_method":{"type":"string","description":"The HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_filter":{"type":["list","string"],"description":"Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.","description_kind":"markdown","optional":true},"is_webhook_enabled":{"type":"bool","description":"Controls whether the outgoing webhook will trigger or is ignored. Defaults to `true`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the outgoing webhook.","description_kind":"markdown","required":true},"password":{"type":"string","description":"The auth data of the webhook. Used for Basic authentication","description_kind":"markdown","optional":true,"sensitive":true},"preset":{"type":"string","description":"The preset of the outgoing webhook. Possible values are: `simple_webhook`, `advanced_webhook`, `grafana_sift`, `incident_webhook`. If no preset is set, the default preset is `advanced_webhook`.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"trigger_template":{"type":"string","description":"A template used to dynamically determine whether the webhook should execute based on the content of the payload.","description_kind":"markdown","optional":true},"trigger_type":{"type":"string","description":"The type of event that will cause this outgoing webhook to execute. The events available will depend on the preset used. For alert group webhooks, the possible triggers are: `escalation`, `alert group created`, `status change`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`, `resolution note added`, `personal notification`; for incident webhooks: `incident declared`, `incident changed`, `incident resolved`. Defaults to `escalation`.","description_kind":"markdown","optional":true},"url":{"type":"string","description":"The webhook URL. Required when not using a preset that controls this field.","description_kind":"markdown","optional":true},"user":{"type":"string","description":"Username to use when making the outgoing webhook request.","description_kind":"markdown","optional":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)\n","description_kind":"markdown"}},"grafana_oncall_route":{"version":0,"block":{"attributes":{"escalation_chain_id":{"type":"string","description":"The ID of the escalation chain.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_id":{"type":"string","description":"The ID of the integration.","description_kind":"markdown","required":true},"position":{"type":"number","description":"The position of the route (starts from 0).","description_kind":"markdown","required":true},"routing_regex":{"type":"string","description":"Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.","description_kind":"markdown","required":true},"routing_type":{"type":"string","description":"The type of route. Can be jinja2, regex Defaults to `regex`.","description_kind":"markdown","optional":true}},"block_types":{"msteams":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in MS teams. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"MS teams channel id. Alerts will be directed to this channel in Microsoft teams.","description_kind":"markdown","optional":true}},"description":"MS teams-specific settings for a route.","description_kind":"markdown"},"max_items":1},"slack":{"nesting_mode":"list","block":{"attributes":{"channel_id":{"type":"string","description":"Slack channel id. Alerts will be directed to this channel in Slack.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Enable notification in Slack. Defaults to `true`.","description_kind":"markdown","optional":true}},"description":"Slack-specific settings for a route.","description_kind":"markdown"},"max_items":1},"telegram":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in Telegram. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"Telegram channel id. Alerts will be directed to this channel in Telegram.","description_kind":"markdown","optional":true}},"description":"Telegram-specific settings for a route.","description_kind":"markdown"},"max_items":1}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/routes/)\n","description_kind":"markdown"}},"grafana_oncall_schedule":{"version":0,"block":{"attributes":{"enable_web_overrides":{"type":"bool","description":"Enable overrides via web UI (it will ignore ical_url_overrides).","description_kind":"markdown","optional":true},"ical_url_overrides":{"type":"string","description":"The URL of external iCal calendar which override primary events.","description_kind":"markdown","optional":true},"ical_url_primary":{"type":"string","description":"The URL of the external calendar iCal file.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The schedule's name.","description_kind":"markdown","required":true},"shifts":{"type":["set","string"],"description":"The list of ID's of on-call shifts.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"time_zone":{"type":"string","description":"The schedule's time zone.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The schedule's type. Valid values are `ical`, `calendar`, `web`.","description_kind":"markdown","required":true}},"block_types":{"slack":{"nesting_mode":"list","block":{"attributes":{"channel_id":{"type":"string","description":"Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.","description_kind":"markdown","optional":true},"user_group_id":{"type":"string","description":"Slack user group id. Members of user group will be updated when on-call users change.","description_kind":"markdown","optional":true}},"description":"The Slack-specific settings for a schedule.","description_kind":"markdown"},"max_items":1}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)\n","description_kind":"markdown"}},"grafana_oncall_user_notification_rule":{"version":0,"block":{"attributes":{"duration":{"type":"number","description":"A time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"important":{"type":"bool","description":"Boolean value which indicates if a rule is “important”","description_kind":"markdown","optional":true,"computed":true},"position":{"type":"number","description":"Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers.","description_kind":"markdown","required":true},"user_id":{"type":"string","description":"User ID","description_kind":"markdown","required":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/personal_notification_rules/)\n\n**Note**: you must be running Grafana OnCall \u003e= v1.8.0 to use this resource.\n","description_kind":"markdown"}},"grafana_organization":{"version":0,"block":{"attributes":{"admin_user":{"type":"string","description":"The login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nGrafana adds the default admin user to all organizations automatically upon\ncreation, and this parameter keeps Terraform from removing it from\norganizations.\n Defaults to `admin`.","description_kind":"markdown","optional":true},"admins":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.","description_kind":"markdown","optional":true},"create_users":{"type":"bool","description":"Whether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\n Defaults to `true`.","description_kind":"markdown","optional":true},"editors":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The display name for the Grafana organization created.","description_kind":"markdown","required":true},"org_id":{"type":"number","description":"The organization id assigned to this organization by Grafana.","description_kind":"markdown","computed":true},"users_without_access":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.","description_kind":"markdown","optional":true},"viewers":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/)\n\nThis resource represents an instance-scoped resource and uses Grafana's admin APIs.\nIt does not work with API tokens or service accounts which are org-scoped.\nYou must use basic auth. \nThis resource is also not compatible with Grafana Cloud, as it does not allow basic auth.\n","description_kind":"markdown"}},"grafana_organization_preferences":{"version":0,"block":{"attributes":{"home_dashboard_uid":{"type":"string","description":"The Organization home dashboard UID. This is only available in Grafana 9.0+.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"theme":{"type":"string","description":"The Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.","description_kind":"markdown","optional":true},"timezone":{"type":"string","description":"The Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.","description_kind":"markdown","optional":true},"week_start":{"type":"string","description":"The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to ``.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/preferences/#get-current-org-prefs)\n","description_kind":"markdown"}},"grafana_playlist":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"interval":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description":"The name of the playlist.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"item":{"nesting_mode":"set","block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"order":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-manage-playlists/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/playlist/)\n","description_kind":"markdown"}},"grafana_report":{"version":0,"block":{"attributes":{"formats":{"type":["set","string"],"description":"Specifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"Generated identifier of the report.","description_kind":"markdown","computed":true},"include_dashboard_link":{"type":"bool","description":"Whether to include a link to the dashboard in the report. Defaults to `true`.","description_kind":"markdown","optional":true},"include_table_csv":{"type":"bool","description":"Whether to include a CSV file of table panel data. Defaults to `false`.","description_kind":"markdown","optional":true},"layout":{"type":"string","description":"Layout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Message to be sent in the report.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Name of the report.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"orientation":{"type":"string","description":"Orientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`.","description_kind":"markdown","optional":true},"recipients":{"type":["list","string"],"description":"List of recipients of the report.","description_kind":"markdown","required":true},"reply_to":{"type":"string","description":"Reply-to email address of the report.","description_kind":"markdown","optional":true}},"block_types":{"dashboards":{"nesting_mode":"list","block":{"attributes":{"report_variables":{"type":["map","string"],"description":"Add report variables to the dashboard. Values should be separated by commas.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"Dashboard uid.","description_kind":"markdown","required":true}},"block_types":{"time_range":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description":"Start of the time range.","description_kind":"markdown","optional":true},"to":{"type":"string","description":"End of the time range.","description_kind":"markdown","optional":true}},"description":"Time range of the report.","description_kind":"markdown"},"max_items":1}},"description":"List of dashboards to render into the report","description_kind":"markdown"}},"schedule":{"nesting_mode":"list","block":{"attributes":{"custom_interval":{"type":"string","description":"Custom interval of the report.\n**Note:** This field is only available when frequency is set to `custom`.","description_kind":"markdown","optional":true},"end_time":{"type":"string","description":"End time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone","description_kind":"markdown","optional":true},"frequency":{"type":"string","description":"Frequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`.","description_kind":"markdown","required":true},"last_day_of_month":{"type":"bool","description":"Send the report on the last day of the month Defaults to `false`.","description_kind":"markdown","optional":true},"start_time":{"type":"string","description":"Start time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone","description_kind":"markdown","optional":true},"timezone":{"type":"string","description":"Set the report time zone. Defaults to `GMT`.","description_kind":"markdown","optional":true},"workdays_only":{"type":"bool","description":"Whether to send the report only on work days. Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"Schedule of the report.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"\n**Note:** This resource is available only with Grafana Enterprise 7.+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-reports/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/reporting/)\n","description_kind":"markdown"}},"grafana_role":{"version":0,"block":{"attributes":{"auto_increment_version":{"type":"bool","description":"Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set.","description_kind":"markdown","optional":true},"description":{"type":"string","description":"Description of the role.","description_kind":"markdown","optional":true},"display_name":{"type":"string","description":"Display name of the role. Available with Grafana 8.5+.","description_kind":"markdown","optional":true},"global":{"type":"bool","description":"Boolean to state whether the role is available across all organizations or not. Defaults to `false`.","description_kind":"markdown","optional":true},"group":{"type":"string","description":"Group of the role. Available with Grafana 8.5+.","description_kind":"markdown","optional":true},"hidden":{"type":"bool","description":"Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the role","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"Unique identifier of the role. Used for assignments.","description_kind":"markdown","optional":true,"computed":true},"version":{"type":"number","description":"Version of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"action":{"type":"string","description":"Specific action users granted with the role will be allowed to perform (for example: `users:read`)","description_kind":"markdown","required":true},"scope":{"type":"string","description":"Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to ``.","description_kind":"markdown","optional":true}},"description":"Specific set of actions granted by the role.","description_kind":"markdown"}}},"description":"\n**Note:** This resource is available only with Grafana Enterprise 8.+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)\n","description_kind":"markdown"}},"grafana_role_assignment":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"role_uid":{"type":"string","description":"Grafana RBAC role UID.","description_kind":"markdown","required":true},"service_accounts":{"type":["set","string"],"description":"IDs of service accounts that the role should be assigned to.","description_kind":"markdown","optional":true},"teams":{"type":["set","string"],"description":"IDs of teams that the role should be assigned to.","description_kind":"markdown","optional":true},"users":{"type":["set","number"],"description":"IDs of users that the role should be assigned to.","description_kind":"markdown","optional":true}},"description":"\nManages the entire set of assignments for a role. Assignments that aren't specified when applying this resource will be removed.\n**Note:** This resource is available only with Grafana Enterprise 9.2+.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)\n","description_kind":"markdown"}},"grafana_role_assignment_item":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"role_uid":{"type":"string","description":"the role UID onto which to assign an actor","description_kind":"plain","required":true},"service_account_id":{"type":"string","description":"the service account onto which the role is to be assigned","description_kind":"plain","optional":true},"team_id":{"type":"string","description":"the team onto which the role is to be assigned","description_kind":"plain","optional":true},"user_id":{"type":"string","description":"the user onto which the role is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single assignment for a role. Conflicts with the \"grafana_role_assignment\" resource which manages the entire set of assignments for a role.","description_kind":"markdown"}},"grafana_rule_group":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the rule group from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"folder_uid":{"type":"string","description":"The UID of the folder that the group belongs to.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"interval_seconds":{"type":"number","description":"The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.","description_kind":"markdown","required":true},"name":{"type":"string","description":"The name of the rule group.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"annotations":{"type":["map","string"],"description":"Key-value pairs of metadata to attach to the alert rule. They add additional information, such as a `summary` or `runbook_url`, to help identify and investigate alerts. The `__dashboardUid__` and `__panelId__` annotations, which link alerts to a panel, must be set together. Defaults to `map[]`.","description_kind":"markdown","optional":true},"condition":{"type":"string","description":"The `ref_id` of the query node in the `data` field to use as the alert condition.","description_kind":"markdown","optional":true},"exec_err_state":{"type":"string","description":"Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting.  Defaults to Alerting if not set.","description_kind":"markdown","optional":true},"for":{"type":"string","description":"The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`.","description_kind":"markdown","optional":true},"is_paused":{"type":"bool","description":"Sets whether the alert should be paused or not. Defaults to `false`.","description_kind":"markdown","optional":true},"keep_firing_for":{"type":"string","description":"The amount of time for which the rule will considered to be Recovering after initially Firing. Before this time has elapsed, the rule will continue to fire once it's been triggered.","description_kind":"markdown","optional":true},"labels":{"type":["map","string"],"description":"Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.","description_kind":"markdown","optional":true},"missing_series_evals_to_resolve":{"type":"number","description":"The number of missing series evaluations that must occur before the rule is considered to be resolved.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the alert rule.","description_kind":"markdown","required":true},"no_data_state":{"type":"string","description":"Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to NoData if not set.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The unique identifier of the alert rule.","description_kind":"markdown","optional":true,"computed":true}},"block_types":{"data":{"nesting_mode":"list","block":{"attributes":{"datasource_uid":{"type":"string","description":"The UID of the datasource being queried, or \"-100\" if this stage is an expression stage.","description_kind":"markdown","required":true},"model":{"type":"string","description":"Custom JSON data to send to the specified datasource when querying.","description_kind":"markdown","required":true},"query_type":{"type":"string","description":"An optional identifier for the type of query being executed. Defaults to ``.","description_kind":"markdown","optional":true},"ref_id":{"type":"string","description":"A unique string to identify this query stage within a rule.","description_kind":"markdown","required":true}},"block_types":{"relative_time_range":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"number","description":"The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.","description_kind":"markdown","required":true},"to":{"type":"number","description":"The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.","description_kind":"markdown","required":true}},"description":"The time range, relative to when the query is executed, across which to query.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"A sequence of stages that describe the contents of the rule.","description_kind":"markdown"},"min_items":1},"notification_settings":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","required":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of mute timing names to apply to alerts that match this policy.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"description":"Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled.","description_kind":"markdown"},"max_items":1},"record":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description":"The ref id of the query node in the data field to use as the source of the metric.","description_kind":"markdown","required":true},"metric":{"type":"string","description":"The name of the metric to write to.","description_kind":"markdown","required":true},"target_datasource_uid":{"type":"string","description":"The UID of the datasource to write the metric to.","description_kind":"markdown","optional":true}},"description":"Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled.","description_kind":"markdown"},"max_items":1}},"description":"The rules within the group.","description_kind":"markdown"},"min_items":1}},"description":"\nManages Grafana Alerting rule groups.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#alert-rules)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_scim_config":{"version":0,"block":{"attributes":{"enable_group_sync":{"type":"bool","description":"Whether group synchronization is enabled.","description_kind":"markdown","required":true},"enable_user_sync":{"type":"bool","description":"Whether user synchronization is enabled.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"reject_non_provisioned_users":{"type":"bool","description":"Whether to block non-provisioned user access to Grafana. Cloud Portal users will always be able to access Grafana, regardless of this setting.","description_kind":"markdown","required":true}},"description":"\n**Note:** This resource is available only with Grafana Enterprise.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-scim-provisioning/)\n","description_kind":"markdown"}},"grafana_service_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_disabled":{"type":"bool","description":"The disabled status for the service account. Defaults to `false`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the service account.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"role":{"type":"string","description":"The basic role of the service account in the organization.","description_kind":"markdown","required":true}},"description":"\n**Note:** This resource is available only with Grafana 9.1+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)","description_kind":"markdown"}},"grafana_service_account_permission":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"service_account_id":{"type":"string","description":"The id of the service account.","description_kind":"markdown","required":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"permission":{"type":"string","description":"Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a service account. Permissions that aren't specified when applying this resource will be removed.\n\n**Note:** This resource is available from Grafana 9.2.4 onwards.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/#manage-users-and-teams-permissions-for-a-service-account-in-grafana)","description_kind":"markdown"}},"grafana_service_account_permission_item":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"service_account_id":{"type":"string","description":"The ID of the service account.","description_kind":"plain","required":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a service account. Conflicts with the \"grafana_service_account_permission\" resource which manages the entire set of permissions for a service account.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/#manage-users-and-teams-permissions-for-a-service-account-in-grafana)","description_kind":"markdown"}},"grafana_service_account_token":{"version":0,"block":{"attributes":{"expiration":{"type":"string","description":"The expiration date of the service account token.","description_kind":"markdown","computed":true},"has_expired":{"type":"bool","description":"The status of the service account token.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The key of the service account token.","description_kind":"markdown","computed":true,"sensitive":true},"name":{"type":"string","description":"The name of the service account token.","description_kind":"markdown","required":true},"seconds_to_live":{"type":"number","description":"The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire.","description_kind":"markdown","optional":true},"service_account_id":{"type":"string","description":"The ID of the service account to which the token belongs.","description_kind":"markdown","required":true}},"description":"\n**Note:** This resource is available only with Grafana 9.1+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)","description_kind":"markdown"}},"grafana_slo":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"Description is a free-text field that can provide more context to an SLO.","description_kind":"markdown","required":true},"folder_uid":{"type":"string","description":"UID for the SLO folder","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name should be a short description of your indicator. Consider names like \"API Availability\"","description_kind":"markdown","required":true},"search_expression":{"type":"string","description":"The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.","description_kind":"markdown","optional":true}},"block_types":{"alerting":{"nesting_mode":"list","block":{"block_types":{"advanced_options":{"nesting_mode":"list","block":{"attributes":{"min_failures":{"type":"number","description":"Minimum number of failed events to trigger an alert","description_kind":"markdown","optional":true}},"description":"Advanced Options for Alert Rules","description_kind":"markdown"},"max_items":1},"annotation":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Annotations will be attached to all alerts generated by any of these rules.","description_kind":"markdown"}},"fastburn":{"nesting_mode":"list","block":{"block_types":{"annotation":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Annotations to attach only to Fast Burn alerts.","description_kind":"markdown"}},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Labels to attach only to Fast Burn alerts.","description_kind":"markdown"}}},"description":"Alerting Rules generated for Fast Burn alerts","description_kind":"markdown"},"max_items":1},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Labels will be attached to all alerts generated by any of these rules.","description_kind":"markdown"}},"slowburn":{"nesting_mode":"list","block":{"block_types":{"annotation":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Annotations to attach only to Slow Burn alerts.","description_kind":"markdown"}},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Labels to attach only to Slow Burn alerts.","description_kind":"markdown"}}},"description":"Alerting Rules generated for Slow Burn alerts","description_kind":"markdown"},"max_items":1}},"description":"Configures the alerting rules that will be generated for each\n\t\t\t\ttime window associated with the SLO. Grafana SLOs can generate\n\t\t\t\talerts when the short-term error budget burn is very high, the\n\t\t\t\tlong-term error budget burn rate is high, or when the remaining\n\t\t\t\terror budget is below a certain threshold. Annotations and Labels support templating.","description_kind":"markdown"},"max_items":1},"destination_datasource":{"nesting_mode":"list","block":{"attributes":{"uid":{"type":"string","description":"UID for the Datasource","description_kind":"markdown","required":true}},"description":"Destination Datasource sets the datasource defined for an SLO","description_kind":"markdown"},"min_items":1,"max_items":1},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - \"^[a-zA-Z_][a-zA-Z0-9_]*$\"","description_kind":"markdown"}},"objectives":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"number","description":"Value between 0 and 1. If the value of the query is above the objective, the SLO is met.","description_kind":"markdown","required":true},"window":{"type":"string","description":"A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.","description_kind":"markdown","required":true}},"description":"Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.","description_kind":"markdown"},"min_items":1},"query":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description":"Query type must be one of: \"freeform\", \"query\", \"ratio\", \"grafana_queries\" or \"threshold\"","description_kind":"markdown","required":true}},"block_types":{"freeform":{"nesting_mode":"list","block":{"attributes":{"query":{"type":"string","description":"Freeform Query Field - valid promQl","description_kind":"markdown","required":true}},"description_kind":"plain"},"max_items":1},"grafana_queries":{"nesting_mode":"list","block":{"attributes":{"grafana_queries":{"type":"string","description":"Query Object - Array of Grafana Query JSON objects","description_kind":"markdown","required":true}},"description":"Array for holding a set of grafana queries","description_kind":"markdown"},"max_items":1},"ratio":{"nesting_mode":"list","block":{"attributes":{"group_by_labels":{"type":["list","string"],"description":"Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - \"^[a-zA-Z_][a-zA-Z0-9_]*$\"","description_kind":"markdown","optional":true},"success_metric":{"type":"string","description":"Counter metric for success events (numerator)","description_kind":"markdown","required":true},"total_metric":{"type":"string","description":"Metric for total events (denominator)","description_kind":"markdown","required":true}},"description_kind":"plain"},"max_items":1}},"description":"Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.","description_kind":"markdown"},"min_items":1}},"description":"\nResource manages Grafana SLOs.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)\n* [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)\n\t\t","description_kind":"markdown"}},"grafana_sso_settings":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"provider_name":{"type":"string","description":"The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml, ldap.","description_kind":"markdown","required":true}},"block_types":{"ldap_settings":{"nesting_mode":"set","block":{"attributes":{"allow_sign_up":{"type":"bool","description":"Whether to allow new Grafana user creation through LDAP login. If set to false, then only existing Grafana users can log in with LDAP.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Define whether this configuration is enabled for LDAP. Defaults to `true`.","description_kind":"markdown","optional":true},"skip_org_role_sync":{"type":"bool","description":"Prevent synchronizing users’ organization roles from LDAP.","description_kind":"markdown","optional":true}},"block_types":{"config":{"nesting_mode":"list","block":{"block_types":{"servers":{"nesting_mode":"list","block":{"attributes":{"attributes":{"type":["map","string"],"description":"The LDAP server attributes. The following attributes can be configured: email, member_of, name, surname, username.","description_kind":"markdown","optional":true},"bind_dn":{"type":"string","description":"The search user bind DN.","description_kind":"markdown","optional":true},"bind_password":{"type":"string","description":"The search user bind password.","description_kind":"markdown","optional":true,"sensitive":true},"client_cert":{"type":"string","description":"The path to the client certificate.","description_kind":"markdown","optional":true},"client_cert_value":{"type":"string","description":"The Base64 encoded value of the client certificate.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"The path to the client private key.","description_kind":"markdown","optional":true,"sensitive":true},"client_key_value":{"type":"string","description":"The Base64 encoded value of the client private key.","description_kind":"markdown","optional":true,"sensitive":true},"group_search_base_dns":{"type":["list","string"],"description":"An array of the base DNs to search through for groups. Typically uses ou=groups.","description_kind":"markdown","optional":true},"group_search_filter":{"type":"string","description":"Group search filter, to retrieve the groups of which the user is a member (only set if memberOf attribute is not available).","description_kind":"markdown","optional":true},"group_search_filter_user_attribute":{"type":"string","description":"The %s in the search filter will be replaced with the attribute defined in this field.","description_kind":"markdown","optional":true},"host":{"type":"string","description":"The LDAP server host.","description_kind":"markdown","required":true},"min_tls_version":{"type":"string","description":"Minimum TLS version allowed. Accepted values are: TLS1.2, TLS1.3.","description_kind":"markdown","optional":true},"port":{"type":"number","description":"The LDAP server port.","description_kind":"markdown","optional":true},"root_ca_cert":{"type":"string","description":"The path to the root CA certificate.","description_kind":"markdown","optional":true},"root_ca_cert_value":{"type":["list","string"],"description":"The Base64 encoded values of the root CA certificates.","description_kind":"markdown","optional":true},"search_base_dns":{"type":["list","string"],"description":"An array of base DNs to search through.","description_kind":"markdown","required":true},"search_filter":{"type":"string","description":"The user search filter, for example \"(cn=%s)\" or \"(sAMAccountName=%s)\" or \"(uid=%s)\".","description_kind":"markdown","required":true},"ssl_skip_verify":{"type":"bool","description":"If set to true, the SSL cert validation will be skipped.","description_kind":"markdown","optional":true},"start_tls":{"type":"bool","description":"If set to true, use LDAP with STARTTLS instead of LDAPS.","description_kind":"markdown","optional":true},"timeout":{"type":"number","description":"The timeout in seconds for connecting to the LDAP host.","description_kind":"markdown","optional":true},"tls_ciphers":{"type":["list","string"],"description":"Accepted TLS ciphers. For a complete list of supported ciphers, refer to: https://go.dev/src/crypto/tls/cipher_suites.go.","description_kind":"markdown","optional":true},"use_ssl":{"type":"bool","description":"Set to true if LDAP server should use an encrypted TLS connection (either with STARTTLS or LDAPS).","description_kind":"markdown","optional":true}},"block_types":{"group_mappings":{"nesting_mode":"list","block":{"attributes":{"grafana_admin":{"type":"bool","description":"If set to true, it makes the user of group_dn Grafana server admin.","description_kind":"markdown","optional":true},"group_dn":{"type":"string","description":"LDAP distinguished name (DN) of LDAP group. If you want to match all (or no LDAP groups) then you can use wildcard (\"*\").","description_kind":"markdown","required":true},"org_id":{"type":"number","description":"The Grafana organization database id.","description_kind":"markdown","optional":true},"org_role":{"type":"string","description":"Assign users of group_dn the organization role Admin, Editor, or Viewer.","description_kind":"markdown","required":true}},"description":"For mapping an LDAP group to a Grafana organization and role.","description_kind":"markdown"}}},"description":"The LDAP servers configuration.","description_kind":"markdown"},"min_items":1}},"description":"The LDAP configuration.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"The LDAP settings set. Required for the ldap provider.","description_kind":"markdown"},"max_items":1},"oauth2_settings":{"nesting_mode":"set","block":{"attributes":{"allow_assign_grafana_admin":{"type":"bool","description":"If enabled, it will automatically sync the Grafana server administrator role.","description_kind":"markdown","optional":true},"allow_sign_up":{"type":"bool","description":"If not enabled, only existing Grafana users can log in using OAuth.","description_kind":"markdown","optional":true},"allowed_domains":{"type":"string","description":"List of comma- or space-separated domains. The user should belong to at least one domain to log in.","description_kind":"markdown","optional":true},"allowed_groups":{"type":"string","description":"List of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.","description_kind":"markdown","optional":true},"allowed_organizations":{"type":"string","description":"List of comma- or space-separated organizations. The user should be a member of at least one organization to log in.","description_kind":"markdown","optional":true},"api_url":{"type":"string","description":"The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.","description_kind":"markdown","optional":true},"auth_style":{"type":"string","description":"It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.","description_kind":"markdown","optional":true},"auth_url":{"type":"string","description":"The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.","description_kind":"markdown","optional":true},"auto_login":{"type":"bool","description":"Log in automatically, skipping the login screen.","description_kind":"markdown","optional":true},"client_id":{"type":"string","description":"The client Id of your OAuth2 app.","description_kind":"markdown","required":true},"client_secret":{"type":"string","description":"The client secret of your OAuth2 app.","description_kind":"markdown","optional":true,"sensitive":true},"custom":{"type":["map","string"],"description":"Custom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.","description_kind":"markdown","optional":true},"define_allowed_groups":{"type":"bool","description":"Define allowed groups.","description_kind":"markdown","optional":true},"define_allowed_teams_ids":{"type":"bool","description":"Define allowed teams ids.","description_kind":"markdown","optional":true},"email_attribute_name":{"type":"string","description":"Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"email_attribute_path":{"type":"string","description":"JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"empty_scopes":{"type":"bool","description":"If enabled, no scopes will be sent to the OAuth2 provider.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Define whether this configuration is enabled for the specified provider. Defaults to `true`.","description_kind":"markdown","optional":true},"groups_attribute_path":{"type":"string","description":"JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.","description_kind":"markdown","optional":true},"id_token_attribute_name":{"type":"string","description":"The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"login_attribute_path":{"type":"string","description":"JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"login_prompt":{"type":"string","description":"Indicates the type of user interaction when the user logs in with the IdP. Available values are `login`, `consent` and `select_account`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Helpful if you use more than one identity providers or SSO protocols.","description_kind":"markdown","optional":true},"name_attribute_path":{"type":"string","description":"JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"org_attribute_path":{"type":"string","description":"JMESPath expression to use for the organization mapping lookup from the user ID token. The extracted list will be used for the organization mapping (to match \"Organization\" in the \"org_mapping\"). Only applicable to Generic OAuth and Okta.","description_kind":"markdown","optional":true},"org_mapping":{"type":"string","description":"List of comma- or space-separated Organization:OrgIdOrOrgName:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: None, Viewer, Editor or Admin.","description_kind":"markdown","optional":true},"role_attribute_path":{"type":"string","description":"JMESPath expression to use for Grafana role lookup.","description_kind":"markdown","optional":true},"role_attribute_strict":{"type":"bool","description":"If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.","description_kind":"markdown","optional":true},"scopes":{"type":"string","description":"List of comma- or space-separated OAuth2 scopes.","description_kind":"markdown","optional":true},"signout_redirect_url":{"type":"string","description":"The URL to redirect the user to after signing out from Grafana.","description_kind":"markdown","optional":true},"skip_org_role_sync":{"type":"bool","description":"Prevent synchronizing users’ organization roles from your IdP.","description_kind":"markdown","optional":true},"team_ids":{"type":"string","description":"String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.","description_kind":"markdown","optional":true},"team_ids_attribute_path":{"type":"string","description":"The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"teams_url":{"type":"string","description":"The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"tls_client_ca":{"type":"string","description":"The path to the trusted certificate authority list. Is not applicable on Grafana Cloud.","description_kind":"markdown","optional":true},"tls_client_cert":{"type":"string","description":"The path to the certificate. Is not applicable on Grafana Cloud.","description_kind":"markdown","optional":true},"tls_client_key":{"type":"string","description":"The path to the key. Is not applicable on Grafana Cloud.","description_kind":"markdown","optional":true},"tls_skip_verify_insecure":{"type":"bool","description":"If enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks.","description_kind":"markdown","optional":true},"token_url":{"type":"string","description":"The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.","description_kind":"markdown","optional":true},"use_pkce":{"type":"bool","description":"If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.","description_kind":"markdown","optional":true},"use_refresh_token":{"type":"bool","description":"If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.","description_kind":"markdown","optional":true}},"description":"The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.","description_kind":"markdown"},"max_items":1},"saml_settings":{"nesting_mode":"set","block":{"attributes":{"allow_idp_initiated":{"type":"bool","description":"Whether SAML IdP-initiated login is allowed.","description_kind":"markdown","optional":true},"allow_sign_up":{"type":"bool","description":"Whether to allow new Grafana user creation through SAML login. If set to false, then only existing Grafana users can log in with SAML.","description_kind":"markdown","optional":true},"allowed_organizations":{"type":"string","description":"List of comma- or space-separated organizations. User should be a member of at least one organization to log in.","description_kind":"markdown","optional":true},"assertion_attribute_email":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user email.","description_kind":"markdown","optional":true},"assertion_attribute_groups":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user groups.","description_kind":"markdown","optional":true},"assertion_attribute_login":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user login handle.","description_kind":"markdown","optional":true},"assertion_attribute_name":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.","description_kind":"markdown","optional":true},"assertion_attribute_org":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user organization.","description_kind":"markdown","optional":true},"assertion_attribute_role":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user roles.","description_kind":"markdown","optional":true},"auto_login":{"type":"bool","description":"Whether SAML auto login is enabled.","description_kind":"markdown","optional":true},"certificate":{"type":"string","description":"Base64-encoded string for the SP X.509 certificate.","description_kind":"markdown","optional":true,"sensitive":true},"certificate_path":{"type":"string","description":"Path for the SP X.509 certificate.","description_kind":"markdown","optional":true},"client_id":{"type":"string","description":"The client Id of your OAuth2 app.","description_kind":"markdown","optional":true},"client_secret":{"type":"string","description":"The client secret of your OAuth2 app.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Define whether this configuration is enabled for SAML. Defaults to `true`.","description_kind":"markdown","optional":true},"entity_id":{"type":"string","description":"The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set.","description_kind":"markdown","optional":true},"force_use_graph_api":{"type":"bool","description":"If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token.","description_kind":"markdown","optional":true},"idp_metadata":{"type":"string","description":"Base64-encoded string for the IdP SAML metadata XML.","description_kind":"markdown","optional":true},"idp_metadata_path":{"type":"string","description":"Path for the IdP SAML metadata XML.","description_kind":"markdown","optional":true},"idp_metadata_url":{"type":"string","description":"URL for the IdP SAML metadata XML.","description_kind":"markdown","optional":true},"max_issue_delay":{"type":"string","description":"Duration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.","description_kind":"markdown","optional":true},"metadata_valid_duration":{"type":"string","description":"Duration, for how long the SP metadata is valid. For example: 48h, 5d.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Name used to refer to the SAML authentication.","description_kind":"markdown","optional":true},"name_id_format":{"type":"string","description":"The Name ID Format to request within the SAML assertion. Defaults to urn:oasis:names:tc:SAML:2.0:nameid-format:transient","description_kind":"markdown","optional":true},"org_mapping":{"type":"string","description":"List of comma- or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.","description_kind":"markdown","optional":true},"private_key":{"type":"string","description":"Base64-encoded string for the SP private key.","description_kind":"markdown","optional":true,"sensitive":true},"private_key_path":{"type":"string","description":"Path for the SP private key.","description_kind":"markdown","optional":true},"relay_state":{"type":"string","description":"Relay state for IdP-initiated login. Should match relay state configured in IdP.","description_kind":"markdown","optional":true},"role_values_admin":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Admin role.","description_kind":"markdown","optional":true},"role_values_editor":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Editor role.","description_kind":"markdown","optional":true},"role_values_grafana_admin":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.","description_kind":"markdown","optional":true},"role_values_none":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the None role.","description_kind":"markdown","optional":true},"role_values_viewer":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Viewer role.","description_kind":"markdown","optional":true},"signature_algorithm":{"type":"string","description":"Signature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512.","description_kind":"markdown","optional":true},"single_logout":{"type":"bool","description":"Whether SAML Single Logout is enabled.","description_kind":"markdown","optional":true},"skip_org_role_sync":{"type":"bool","description":"Prevent synchronizing users’ organization roles from your IdP.","description_kind":"markdown","optional":true},"token_url":{"type":"string","description":"The token endpoint of your OAuth2 provider. Required for Azure AD providers.","description_kind":"markdown","optional":true}},"description":"The SAML settings set. Required for the saml provider.","description_kind":"markdown"},"max_items":1}},"description":"\nManages Grafana SSO Settings for OAuth2, SAML and LDAP. Support for LDAP is currently in preview, it will be available in Grafana starting with v11.3.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/)\n","description_kind":"markdown"}},"grafana_synthetic_monitoring_check":{"version":0,"block":{"attributes":{"alert_sensitivity":{"type":"string","description":"Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.","description_kind":"markdown","optional":true},"basic_metrics_only":{"type":"bool","description":"Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Whether to enable the check. Defaults to `true`.","description_kind":"markdown","optional":true},"frequency":{"type":"number","description":"How often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the check.","description_kind":"markdown","computed":true},"job":{"type":"string","description":"Name used for job label.","description_kind":"markdown","required":true},"labels":{"type":["map","string"],"description":"Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.","description_kind":"markdown","optional":true},"probes":{"type":["set","number"],"description":"List of probe location IDs where this target will be checked from.","description_kind":"markdown","required":true},"target":{"type":"string","description":"Hostname to ping.","description_kind":"markdown","required":true},"tenant_id":{"type":"number","description":"The tenant ID of the check.","description_kind":"markdown","computed":true},"timeout":{"type":"number","description":"Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 180 seconds (180000 ms). Defaults to `3000`.","description_kind":"markdown","optional":true}},"block_types":{"settings":{"nesting_mode":"set","block":{"block_types":{"browser":{"nesting_mode":"set","block":{"attributes":{"script":{"type":"string","description_kind":"plain","required":true}},"description":"Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/.","description_kind":"markdown"},"max_items":1},"dns":{"nesting_mode":"set","block":{"attributes":{"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"port":{"type":"number","description":"Port to target. Defaults to `53`.","description_kind":"markdown","optional":true},"protocol":{"type":"string","description":"`TCP` or `UDP`. Defaults to `UDP`.","description_kind":"markdown","optional":true},"record_type":{"type":"string","description":"One of `ANY`, `A`, `AAAA`, `CNAME`, `MX`, `NS`, `PTR`, `SOA`, `SRV`, `TXT`. Defaults to `A`.","description_kind":"markdown","optional":true},"server":{"type":"string","description":"DNS server address to target. Defaults to `8.8.8.8`.","description_kind":"markdown","optional":true},"source_ip_address":{"type":"string","description":"Source IP address.","description_kind":"markdown","optional":true},"valid_r_codes":{"type":["set","string"],"description":"List of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.","description_kind":"markdown","optional":true}},"block_types":{"validate_additional_rrs":{"nesting_mode":"set","block":{"attributes":{"fail_if_matches_regexp":{"type":["set","string"],"description":"Fail if value matches regex.","description_kind":"markdown","optional":true},"fail_if_not_matches_regexp":{"type":["set","string"],"description":"Fail if value does not match regex.","description_kind":"markdown","optional":true}},"description":"Validate additional matches.","description_kind":"markdown"}},"validate_answer_rrs":{"nesting_mode":"set","block":{"attributes":{"fail_if_matches_regexp":{"type":["set","string"],"description":"Fail if value matches regex.","description_kind":"markdown","optional":true},"fail_if_not_matches_regexp":{"type":["set","string"],"description":"Fail if value does not match regex.","description_kind":"markdown","optional":true}},"description":"Validate response answer.","description_kind":"markdown"},"max_items":1},"validate_authority_rrs":{"nesting_mode":"set","block":{"attributes":{"fail_if_matches_regexp":{"type":["set","string"],"description":"Fail if value matches regex.","description_kind":"markdown","optional":true},"fail_if_not_matches_regexp":{"type":["set","string"],"description":"Fail if value does not match regex.","description_kind":"markdown","optional":true}},"description":"Validate response authority.","description_kind":"markdown"},"max_items":1}},"description":"Settings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).","description_kind":"markdown"},"max_items":1},"grpc":{"nesting_mode":"set","block":{"attributes":{"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"service":{"type":"string","description":"gRPC service.","description_kind":"markdown","optional":true},"tls":{"type":"bool","description":"Whether or not TLS is used when the connection is initiated. Defaults to `false`.","description_kind":"markdown","optional":true}},"block_types":{"tls_config":{"nesting_mode":"set","block":{"attributes":{"ca_cert":{"type":"string","description":"CA certificate in PEM format.","description_kind":"markdown","optional":true},"client_cert":{"type":"string","description":"Client certificate in PEM format.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"Client key in PEM format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Disable target certificate validation. Defaults to `false`.","description_kind":"markdown","optional":true},"server_name":{"type":"string","description":"Used to verify the hostname for the targets.","description_kind":"markdown","optional":true}},"description":"TLS config.","description_kind":"markdown"},"max_items":1}},"description":"Settings for gRPC Health check. The target must be of the form `\u003chost\u003e:\u003cport\u003e`, where the host portion must be a valid hostname or IP address.","description_kind":"markdown"},"max_items":1},"http":{"nesting_mode":"set","block":{"attributes":{"bearer_token":{"type":"string","description":"Token for use with bearer authorization header.","description_kind":"markdown","optional":true,"sensitive":true},"body":{"type":"string","description":"The body of the HTTP request used in probe.","description_kind":"markdown","optional":true},"cache_busting_query_param_name":{"type":"string","description":"The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.","description_kind":"markdown","optional":true},"compression":{"type":"string","description":"Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`.","description_kind":"markdown","optional":true},"fail_if_body_matches_regexp":{"type":["set","string"],"description":"List of regexes. If any match the response body, the check will fail.","description_kind":"markdown","optional":true},"fail_if_body_not_matches_regexp":{"type":["set","string"],"description":"List of regexes. If any do not match the response body, the check will fail.","description_kind":"markdown","optional":true},"fail_if_not_ssl":{"type":"bool","description":"Fail if SSL is not present. Defaults to `false`.","description_kind":"markdown","optional":true},"fail_if_ssl":{"type":"bool","description":"Fail if SSL is present. Defaults to `false`.","description_kind":"markdown","optional":true},"headers":{"type":["set","string"],"description":"The HTTP headers set for the probe.","description_kind":"markdown","optional":true},"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"method":{"type":"string","description":"Request method. One of `GET`, `CONNECT`, `DELETE`, `HEAD`, `OPTIONS`, `POST`, `PUT`, `TRACE` Defaults to `GET`.","description_kind":"markdown","optional":true},"no_follow_redirects":{"type":"bool","description":"Do not follow redirects. Defaults to `false`.","description_kind":"markdown","optional":true},"proxy_connect_headers":{"type":["set","string"],"description":"The HTTP headers sent to the proxy URL","description_kind":"markdown","optional":true},"proxy_url":{"type":"string","description":"Proxy URL.","description_kind":"markdown","optional":true},"valid_http_versions":{"type":["set","string"],"description":"List of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`","description_kind":"markdown","optional":true},"valid_status_codes":{"type":["set","number"],"description":"Accepted status codes. If unset, defaults to 2xx.","description_kind":"markdown","optional":true}},"block_types":{"basic_auth":{"nesting_mode":"set","block":{"attributes":{"password":{"type":"string","description":"Basic auth password.","description_kind":"markdown","required":true,"sensitive":true},"username":{"type":"string","description":"Basic auth username.","description_kind":"markdown","required":true}},"description":"Basic auth settings.","description_kind":"markdown"},"max_items":1},"fail_if_header_matches_regexp":{"nesting_mode":"set","block":{"attributes":{"allow_missing":{"type":"bool","description":"Allow header to be missing from responses. Defaults to `false`.","description_kind":"markdown","optional":true},"header":{"type":"string","description":"Header name.","description_kind":"markdown","required":true},"regexp":{"type":"string","description":"Regex that header value should match.","description_kind":"markdown","required":true}},"description":"Check fails if headers match.","description_kind":"markdown"}},"fail_if_header_not_matches_regexp":{"nesting_mode":"set","block":{"attributes":{"allow_missing":{"type":"bool","description":"Allow header to be missing from responses. Defaults to `false`.","description_kind":"markdown","optional":true},"header":{"type":"string","description":"Header name.","description_kind":"markdown","required":true},"regexp":{"type":"string","description":"Regex that header value should match.","description_kind":"markdown","required":true}},"description":"Check fails if headers do not match.","description_kind":"markdown"}},"tls_config":{"nesting_mode":"set","block":{"attributes":{"ca_cert":{"type":"string","description":"CA certificate in PEM format.","description_kind":"markdown","optional":true},"client_cert":{"type":"string","description":"Client certificate in PEM format.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"Client key in PEM format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Disable target certificate validation. Defaults to `false`.","description_kind":"markdown","optional":true},"server_name":{"type":"string","description":"Used to verify the hostname for the targets.","description_kind":"markdown","optional":true}},"description":"TLS config.","description_kind":"markdown"},"max_items":1}},"description":"Settings for HTTP check. The target must be a URL (http or https).","description_kind":"markdown"},"max_items":1},"multihttp":{"nesting_mode":"set","block":{"block_types":{"entries":{"nesting_mode":"list","block":{"block_types":{"assertions":{"nesting_mode":"list","block":{"attributes":{"condition":{"type":"string","description":"The condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS","description_kind":"markdown","optional":true},"expression":{"type":"string","description":"The expression of the assertion. Should start with $.","description_kind":"markdown","optional":true},"subject":{"type":"string","description":"The subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION","description_kind":"markdown","required":true},"value":{"type":"string","description":"The value of the assertion","description_kind":"markdown","optional":true}},"description":"Assertions to make on the request response","description_kind":"markdown"}},"request":{"nesting_mode":"set","block":{"attributes":{"method":{"type":"string","description":"The HTTP method to use","description_kind":"markdown","required":true},"url":{"type":"string","description":"The URL for the request","description_kind":"markdown","required":true}},"block_types":{"body":{"nesting_mode":"set","block":{"attributes":{"content_encoding":{"type":"string","description":"The content encoding of the body","description_kind":"markdown","optional":true},"content_type":{"type":"string","description":"The content type of the body","description_kind":"markdown","optional":true},"payload":{"type":"string","description":"The body payload","description_kind":"markdown","optional":true}},"description":"The body of the HTTP request used in probe.","description_kind":"markdown"}},"headers":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"Name of the header to send","description_kind":"markdown","required":true},"value":{"type":"string","description":"Value of the header to send","description_kind":"markdown","required":true}},"description":"The headers to send with the request","description_kind":"markdown"}},"query_fields":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"Name of the query field to send","description_kind":"markdown","required":true},"value":{"type":"string","description":"Value of the query field to send","description_kind":"markdown","required":true}},"description":"Query fields to send with the request","description_kind":"markdown"}}},"description":"An individual MultiHTTP request","description_kind":"markdown"},"max_items":1},"variables":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description":"The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR","description_kind":"markdown","optional":true},"expression":{"type":"string","description":"The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the variable to extract","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The method of finding the variable value to extract. JSON_PATH, REGEX, CSS_SELECTOR","description_kind":"markdown","required":true}},"description":"Variables to extract from the request response","description_kind":"markdown"}}},"description_kind":"plain"}}},"description":"Settings for MultiHTTP check. The target must be a URL (http or https)","description_kind":"markdown"},"max_items":1},"ping":{"nesting_mode":"set","block":{"attributes":{"dont_fragment":{"type":"bool","description":"Set the DF-bit in the IP-header. Only works with ipV4. Defaults to `false`.","description_kind":"markdown","optional":true},"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"payload_size":{"type":"number","description":"Payload size. Defaults to `0`.","description_kind":"markdown","optional":true},"source_ip_address":{"type":"string","description":"Source IP address.","description_kind":"markdown","optional":true}},"description":"Settings for ping (ICMP) check. The target must be a valid hostname or IP address.","description_kind":"markdown"},"max_items":1},"scripted":{"nesting_mode":"set","block":{"attributes":{"script":{"type":"string","description_kind":"plain","required":true}},"description":"Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.","description_kind":"markdown"},"max_items":1},"tcp":{"nesting_mode":"set","block":{"attributes":{"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"source_ip_address":{"type":"string","description":"Source IP address.","description_kind":"markdown","optional":true},"tls":{"type":"bool","description":"Whether or not TLS is used when the connection is initiated. Defaults to `false`.","description_kind":"markdown","optional":true}},"block_types":{"query_response":{"nesting_mode":"set","block":{"attributes":{"expect":{"type":"string","description":"Response to expect.","description_kind":"markdown","required":true},"send":{"type":"string","description":"Data to send.","description_kind":"markdown","required":true},"start_tls":{"type":"bool","description":"Upgrade TCP connection to TLS. Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"The query sent in the TCP probe and the expected associated response.","description_kind":"markdown"}},"tls_config":{"nesting_mode":"set","block":{"attributes":{"ca_cert":{"type":"string","description":"CA certificate in PEM format.","description_kind":"markdown","optional":true},"client_cert":{"type":"string","description":"Client certificate in PEM format.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"Client key in PEM format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Disable target certificate validation. Defaults to `false`.","description_kind":"markdown","optional":true},"server_name":{"type":"string","description":"Used to verify the hostname for the targets.","description_kind":"markdown","optional":true}},"description":"TLS config.","description_kind":"markdown"},"max_items":1}},"description":"Settings for TCP check. The target must be of the form `\u003chost\u003e:\u003cport\u003e`, where the host portion must be a valid hostname or IP address.","description_kind":"markdown"},"max_items":1},"traceroute":{"nesting_mode":"set","block":{"attributes":{"max_hops":{"type":"number","description":"Maximum TTL for the trace Defaults to `64`.","description_kind":"markdown","optional":true},"max_unknown_hops":{"type":"number","description":"Maximum number of hosts to travers that give no response Defaults to `15`.","description_kind":"markdown","optional":true},"ptr_lookup":{"type":"bool","description":"Reverse lookup hostnames from IP addresses Defaults to `true`.","description_kind":"markdown","optional":true}},"description":"Settings for traceroute check. The target must be a valid hostname or IP address","description_kind":"markdown"},"max_items":1}},"description":"Check settings. Should contain exactly one nested block.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"\nSynthetic Monitoring checks are tests that run on selected probes at defined\nintervals and report metrics and logs back to your Grafana Cloud account. The\ntarget for checks can be a domain name, a server, or a website, depending on\nwhat information you would like to gather about your endpoint. You can define\nmultiple checks for a single endpoint to check different capabilities.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/)\n","description_kind":"markdown"}},"grafana_synthetic_monitoring_check_alerts":{"version":0,"block":{"attributes":{"alerts":{"type":["set",["object",{"name":"string","period":"string","threshold":"number"}]],"description":"List of alerts for the check.","description_kind":"markdown","required":true},"check_id":{"type":"number","description":"The ID of the check to manage alerts for.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"\nManages alerts for a check in Grafana Synthetic Monitoring.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/configure-per-check-alerts/)","description_kind":"markdown"}},"grafana_synthetic_monitoring_installation":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metrics_publisher_key":{"type":"string","description":"The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.","description_kind":"markdown","required":true,"sensitive":true},"sm_access_token":{"type":"string","description":"Generated token to access the SM API.","description_kind":"markdown","computed":true},"stack_id":{"type":"string","description":"The ID or slug of the stack to install SM on.","description_kind":"markdown","required":true},"stack_sm_api_url":{"type":"string","description":"The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.","description_kind":"markdown","optional":true,"computed":true}},"description":"\nSets up Synthetic Monitoring on a Grafana cloud stack and generates a token. \nOnce a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install synthetic monitoring.\nThis resource cannot be imported but it can be used on an existing Synthetic Monitoring installation without issues.\n\n**Note that this resource must be used on a provider configured with Grafana Cloud credentials.**\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/)\n* [API documentation](https://github.com/grafana/synthetic-monitoring-api-go-client/blob/main/docs/API.md#apiv1registerinstall)\n\nRequired access policy scopes:\n\n* stacks:read\n","description_kind":"markdown"}},"grafana_synthetic_monitoring_probe":{"version":0,"block":{"attributes":{"auth_token":{"type":"string","description":"The probe authentication token. Your probe must use this to authenticate with Grafana Cloud.","description_kind":"markdown","computed":true,"sensitive":true},"disable_browser_checks":{"type":"bool","description":"Disables browser checks for this probe. Defaults to `false`.","description_kind":"markdown","optional":true},"disable_scripted_checks":{"type":"bool","description":"Disables scripted checks for this probe. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the probe.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"Custom labels to be included with collected metrics and logs.","description_kind":"markdown","optional":true},"latitude":{"type":"number","description":"Latitude coordinates.","description_kind":"markdown","required":true},"longitude":{"type":"number","description":"Longitude coordinates.","description_kind":"markdown","required":true},"name":{"type":"string","description":"Name of the probe.","description_kind":"markdown","required":true},"public":{"type":"bool","description":"Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`.","description_kind":"markdown","optional":true},"region":{"type":"string","description":"Region of the probe.","description_kind":"markdown","required":true},"tenant_id":{"type":"number","description":"The tenant ID of the probe.","description_kind":"markdown","computed":true}},"description":"\nBesides the public probes run by Grafana Labs, you can also install your\nown private probes. These are only accessible to you and only write data to\nyour Grafana Cloud account. Private probes are instances of the open source\nGrafana Synthetic Monitoring Agent.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/)\n","description_kind":"markdown"}},"grafana_team":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"An email address for the team.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"ignore_externally_synced_members":{"type":"bool","description":"Ignores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/).\nTeam Sync can be provisioned using [grafana_team_external_group resource](https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/team_external_group).\n Defaults to `true`.","description_kind":"markdown","optional":true},"members":{"type":["set","string"],"description":"A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The display name for the Grafana team created.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"team_id":{"type":"number","description":"The team id assigned to this team by Grafana.","description_kind":"markdown","computed":true},"team_uid":{"type":"string","description":"The team uid assigned to this team by Grafana.","description_kind":"markdown","computed":true}},"block_types":{"preferences":{"nesting_mode":"list","block":{"attributes":{"home_dashboard_uid":{"type":"string","description":"The UID of the dashboard to display when a team member logs in. Defaults to ``.","description_kind":"markdown","optional":true},"theme":{"type":"string","description":"The default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to ``.","description_kind":"markdown","optional":true},"timezone":{"type":"string","description":"The default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to ``.","description_kind":"markdown","optional":true},"week_start":{"type":"string","description":"The default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to ``.","description_kind":"markdown","optional":true}},"description_kind":"plain"},"max_items":1},"team_sync":{"nesting_mode":"list","block":{"attributes":{"groups":{"type":["set","string"],"description_kind":"plain","optional":true}},"description":"Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n\t* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)","description_kind":"markdown"},"max_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/team-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)\n","description_kind":"markdown"}},"grafana_team_external_group":{"version":0,"block":{"attributes":{"groups":{"type":["set","string"],"description":"The team external groups list","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"team_id":{"type":"string","description":"The Team ID","description_kind":"markdown","required":true}},"description":"Equivalent to the the `team_sync` attribute of the `grafana_team` resource. Use one or the other to configure a team's external groups syncing config.","description_kind":"markdown"}},"grafana_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email address of the Grafana user.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_admin":{"type":"bool","description":"Whether to make user an admin. Defaults to `false`.","description_kind":"markdown","optional":true},"login":{"type":"string","description":"The username for the Grafana user.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The display name for the Grafana user.","description_kind":"markdown","optional":true},"password":{"type":"string","description":"The password for the Grafana user.","description_kind":"markdown","required":true,"sensitive":true},"user_id":{"type":"number","description":"The numerical ID of the Grafana user.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/user/)\n\nThis resource represents an instance-scoped resource and uses Grafana's admin APIs.\nIt does not work with API tokens or service accounts which are org-scoped. \nYou must use basic auth.\nThis resource is also not compatible with Grafana Cloud, as it does not allow basic auth.\n","description_kind":"markdown"}}},"data_source_schemas":{"grafana_cloud_access_policies":{"version":0,"block":{"attributes":{"access_policies":{"type":["set",["object",{"display_name":"string","id":"string","name":"string","region":"string","status":"string"}]],"description_kind":"plain","computed":true},"id":{"type":"string","description":"The ID of this datasource. This is an internal identifier used by the provider to track this datasource.","description_kind":"plain","computed":true},"name_filter":{"type":"string","description":"If set, only access policies with the specified name will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true},"region_filter":{"type":"string","description":"If set, only access policies in the specified region will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true}},"description":"\nFetches access policies from Grafana Cloud.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)\n\nRequired access policy scopes:\n\n* accesspolicies:read","description_kind":"markdown"}},"grafana_cloud_ips":{"version":0,"block":{"attributes":{"hosted_alerts":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted alerts.","description_kind":"markdown","computed":true},"hosted_grafana":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted Grafana.","description_kind":"markdown","computed":true},"hosted_logs":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted logs.","description_kind":"markdown","computed":true},"hosted_metrics":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted metrics.","description_kind":"markdown","computed":true},"hosted_traces":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted traces.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info","description_kind":"markdown"}},"grafana_cloud_organization":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","computed":true},"slug":{"type":"string","description_kind":"plain","optional":true,"computed":true},"updated_at":{"type":"string","description_kind":"plain","computed":true},"url":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"grafana_cloud_private_data_source_connect_networks":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of this datasource. This is an internal identifier used by the provider to track this datasource.","description_kind":"plain","computed":true},"name_filter":{"type":"string","description":"If set, only private data source connect networks with the specified name will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true},"private_data_source_connect_networks":{"type":["set",["object",{"display_name":"string","id":"string","name":"string","region":"string","status":"string"}]],"description_kind":"plain","computed":true},"region_filter":{"type":"string","description":"If set, only private data source connect networks in the specified region will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true}},"description":"\nFetches Private Data source Connect networks from Grafana Cloud.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)\n\nRequired access policy scopes:\n\n* accesspolicies:read","description_kind":"markdown"}},"grafana_cloud_provider_aws_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"An optional human-readable name for this AWS Account resource.","description_kind":"plain","computed":true},"regions":{"type":["set","string"],"description":"A set of regions that this AWS Account resource applies to.","description_kind":"plain","computed":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this AWS Account resource.","description_kind":"plain","required":true},"role_arn":{"type":"string","description":"An IAM Role ARN string to represent with this AWS Account resource.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_cloud_provider_aws_cloudwatch_scrape_job":{"version":0,"block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","computed":true},"disabled_reason":{"type":"string","description":"When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS CloudWatch Scrape Job is enabled or not.","description_kind":"plain","computed":true},"export_tags":{"type":"bool","description":"When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as `aws_\u003cservice_name\u003e_info`.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS CloudWatch Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"regions":{"type":["set","string"],"description":"The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.","description_kind":"plain","computed":true},"regions_subset_override_used":{"type":"bool","description":"When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"role_arn":{"type":"string","description":"The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","computed":true}},"block_types":{"custom_namespace":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the custom namespace to scrape.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the custom namespace.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.","description_kind":"plain","computed":true},"tags_to_add_to_metrics":{"type":["set","string"],"description":"A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","computed":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_aws_cloudwatch_scrape_jobs":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}\".","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"block_types":{"scrape_job":{"nesting_mode":"list","block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","computed":true},"disabled_reason":{"type":"string","description":"When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS CloudWatch Scrape Job is enabled or not.","description_kind":"plain","computed":true},"export_tags":{"type":"bool","description":"When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as `aws_\u003cservice_name\u003e_info`.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS CloudWatch Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","computed":true},"regions":{"type":["set","string"],"description":"The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.","description_kind":"plain","computed":true},"regions_subset_override_used":{"type":"bool","description":"When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"role_arn":{"type":"string","description":"The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","computed":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","computed":true}},"block_types":{"custom_namespace":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the custom namespace to scrape.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the custom namespace.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.","description_kind":"plain","computed":true},"tags_to_add_to_metrics":{"type":["set","string"],"description":"A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","computed":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"A list of AWS CloudWatch Scrape Job objects associated with the given StackID.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_azure_credential":{"version":0,"block":{"attributes":{"client_id":{"type":"string","description":"The client ID of the Azure Credential.","description_kind":"plain","computed":true},"client_secret":{"type":"string","description":"The client secret of the Azure Credential.","description_kind":"plain","computed":true,"sensitive":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Azure Credential.","description_kind":"plain","computed":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this Azure Credential resource.","description_kind":"plain","required":true},"resource_tags_to_add_to_metrics":{"type":["set","string"],"description":"The list of resource tags to add to metrics.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"tenant_id":{"type":"string","description":"The tenant ID of the Azure Credential.","description_kind":"plain","computed":true}},"block_types":{"auto_discovery_configuration":{"nesting_mode":"list","block":{"attributes":{"resource_type_configurations":{"type":["list",["object",{"metric_configuration":["list",["object",{"aggregations":["list","string"],"dimensions":["list","string"],"name":"string"}]],"resource_type_name":"string"}]],"description":"The list of resource type configurations.","description_kind":"plain","computed":true},"subscription_id":{"type":"string","description":"The subscription ID of the Azure account.","description_kind":"plain","computed":true}},"description":"The list of auto discovery configurations.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","computed":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","computed":true}},"description":"The list of tag filters to apply to resources.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_stack":{"version":0,"block":{"attributes":{"alertmanager_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Alertmanager instances (Optional)","description_kind":"markdown","computed":true},"alertmanager_name":{"type":"string","description":"Name of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_status":{"type":"string","description":"Status of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_url":{"type":"string","description":"Base URL of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_user_id":{"type":"number","description":"User ID of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"cluster_slug":{"type":"string","description":"Slug of the cluster where this stack resides.","description_kind":"markdown","computed":true},"delete_protection":{"type":"bool","description":"Whether to enable delete protection for the stack, preventing accidental deletion.","description_kind":"markdown","computed":true},"description":{"type":"string","description":"Description of stack.","description_kind":"markdown","computed":true},"fleet_management_name":{"type":"string","description":"Name of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_status":{"type":"string","description":"Status of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_url":{"type":"string","description":"Base URL of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_user_id":{"type":"number","description":"User ID of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"grafanas_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the grafana instance (Optional)","description_kind":"markdown","computed":true},"graphite_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Graphite instance (Optional)","description_kind":"markdown","computed":true},"graphite_name":{"type":"string","description_kind":"plain","computed":true},"graphite_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_status":{"type":"string","description_kind":"plain","computed":true},"graphite_url":{"type":"string","description_kind":"plain","computed":true},"graphite_user_id":{"type":"number","description_kind":"plain","computed":true},"id":{"type":"string","description":"The stack id assigned to this stack by Grafana.","description_kind":"markdown","computed":true},"influx_url":{"type":"string","description":"Base URL of the InfluxDB instance configured for this stack. The username is the same as the metrics' (`prometheus_user_id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-influxdb/push-from-telegraf/ for docs on how to use this.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"A map of labels to assign to the stack. Label keys and values must match the following regexp: \"^[a-zA-Z0-9/\\\\-.]+$\" and stacks cannot have more than 10 labels.","description_kind":"markdown","computed":true},"logs_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Logs instance (Optional)","description_kind":"markdown","computed":true},"logs_name":{"type":"string","description_kind":"plain","computed":true},"logs_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_status":{"type":"string","description_kind":"plain","computed":true},"logs_url":{"type":"string","description_kind":"plain","computed":true},"logs_user_id":{"type":"number","description_kind":"plain","computed":true},"name":{"type":"string","description":"Name of stack. Conventionally matches the url of the instance (e.g. `\u003cstack_slug\u003e.grafana.net`).","description_kind":"markdown","computed":true},"oncall_api_url":{"type":"string","description":"Base URL of the OnCall API instance configured for this stack.","description_kind":"markdown","computed":true},"org_id":{"type":"number","description":"Organization id to assign to this stack.","description_kind":"markdown","computed":true},"org_name":{"type":"string","description":"Organization name to assign to this stack.","description_kind":"markdown","computed":true},"org_slug":{"type":"string","description":"Organization slug to assign to this stack.","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_service_name":{"type":"string","description":"Service Name for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_url":{"type":"string","description":"Base URL of the OTLP instance configured for this stack. The username is the stack's ID (`id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/ for docs on how to use this.","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Profiles instance (Optional)","description_kind":"markdown","computed":true},"profiles_name":{"type":"string","description_kind":"plain","computed":true},"profiles_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_status":{"type":"string","description_kind":"plain","computed":true},"profiles_url":{"type":"string","description_kind":"plain","computed":true},"profiles_user_id":{"type":"number","description_kind":"plain","computed":true},"prometheus_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Prometheus instance (Optional)","description_kind":"markdown","computed":true},"prometheus_name":{"type":"string","description":"Prometheus name for this instance.","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_remote_endpoint":{"type":"string","description":"Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana","description_kind":"markdown","computed":true},"prometheus_remote_write_endpoint":{"type":"string","description":"Use this URL to send prometheus metrics to Grafana cloud","description_kind":"markdown","computed":true},"prometheus_status":{"type":"string","description":"Prometheus status for this instance.","description_kind":"markdown","computed":true},"prometheus_url":{"type":"string","description":"Prometheus url for this instance.","description_kind":"markdown","computed":true},"prometheus_user_id":{"type":"number","description":"Prometheus user ID. Used for e.g. remote_write.","description_kind":"markdown","computed":true},"region_slug":{"type":"string","description":"The region this stack is deployed to.","description_kind":"markdown","computed":true},"slug":{"type":"string","description":"Subdomain that the Grafana instance will be available at (i.e. setting slug to “\u003cstack_slug\u003e” will make the instance\navailable at “https://\u003cstack_slug\u003e.grafana.net\".","description_kind":"markdown","required":true},"status":{"type":"string","description":"Status of the stack.","description_kind":"markdown","computed":true},"traces_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Traces instance (Optional)","description_kind":"markdown","computed":true},"traces_name":{"type":"string","description_kind":"plain","computed":true},"traces_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_status":{"type":"string","description_kind":"plain","computed":true},"traces_url":{"type":"string","description":"Base URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append `/tempo` to the URL.","description_kind":"markdown","computed":true},"traces_user_id":{"type":"number","description_kind":"plain","computed":true},"url":{"type":"string","description":"Custom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack","description_kind":"markdown","computed":true}},"description":"Data source for Grafana Stack","description_kind":"markdown"}},"grafana_connections_metrics_endpoint_scrape_job":{"version":0,"block":{"attributes":{"authentication_basic_password":{"type":"string","description":"Password for basic authentication.","description_kind":"plain","computed":true,"sensitive":true},"authentication_basic_username":{"type":"string","description":"Username for basic authentication.","description_kind":"plain","computed":true},"authentication_bearer_token":{"type":"string","description":"Token for authentication bearer.","description_kind":"plain","computed":true,"sensitive":true},"authentication_method":{"type":"string","description":"Method to pass authentication credentials: basic or bearer.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the metrics endpoint scrape job is enabled or not.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Metrics Endpoint Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"Frequency for scraping the metrics endpoint: 30, 60, or 120 seconds.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"url":{"type":"string","description":"The url to scrape metrics.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"grafana_dashboard":{"version":0,"block":{"attributes":{"config_json":{"type":"string","description":"The complete dashboard model JSON.","description_kind":"markdown","computed":true},"dashboard_id":{"type":"number","description":"The numerical ID of the Grafana dashboard. Specify either this or `uid`. Defaults to `-1`.","description_kind":"markdown","optional":true},"folder_uid":{"type":"string","description":"The UID of the folder where the Grafana dashboard is found.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_starred":{"type":"bool","description":"Whether or not the Grafana dashboard is starred. Starred Dashboards will show up on your own Home Dashboard by default, and are a convenient way to mark Dashboards that you’re interested in.","description_kind":"markdown","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"slug":{"type":"string","description":"URL slug of the dashboard (deprecated).","description_kind":"markdown","computed":true},"title":{"type":"string","description":"The title of the Grafana dashboard.","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"The uid of the Grafana dashboard. Specify either this or `dashboard_id`. Defaults to ``.","description_kind":"markdown","optional":true},"url":{"type":"string","description":"The full URL of the dashboard.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"The numerical version of the Grafana dashboard.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)\n* [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)\n","description_kind":"markdown"}},"grafana_dashboards":{"version":0,"block":{"attributes":{"dashboards":{"type":["list",["object",{"folder_title":"string","title":"string","uid":"string"}]],"description_kind":"plain","computed":true},"folder_uids":{"type":["list","string"],"description":"UIDs of Grafana folders containing dashboards. Specify to filter for dashboards by folder (eg. `[\"General\"]` for General folder), or leave blank to get all dashboards in all folders.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"limit":{"type":"number","description":"Maximum number of dashboard search results to return. Defaults to `5000`.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"tags":{"type":["list","string"],"description":"List of string Grafana dashboard tags to search for, eg. `[\"prod\"]`. Used only as search input, i.e., attribute value will remain unchanged.","description_kind":"markdown","optional":true}},"description":"\nDatasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)\n* [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)\n","description_kind":"markdown"}},"grafana_data_source":{"version":0,"block":{"attributes":{"access_mode":{"type":"string","description":"The method by which Grafana will access the data source: `proxy` or `direct`.","description_kind":"markdown","computed":true},"basic_auth_enabled":{"type":"bool","description":"Whether to enable basic auth for the data source.","description_kind":"markdown","computed":true},"basic_auth_username":{"type":"string","description":"Basic auth username.","description_kind":"markdown","computed":true},"database_name":{"type":"string","description":"(Required by some data source types) The name of the database to use on the selected data source server.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_default":{"type":"bool","description":"Whether to set the data source as default. This should only be `true` to a single data source.","description_kind":"markdown","computed":true},"json_data_encoded":{"type":"string","description":"Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"private_data_source_connect_network_id":{"type":"string","description":"(Can only be used with data sources in Grafana Cloud) The ID of the Private Data source Connect network to use with this data source.","description_kind":"markdown","computed":true},"type":{"type":"string","description":"The data source type. Must be one of the supported data source keywords.","description_kind":"markdown","computed":true},"uid":{"type":"string","description_kind":"plain","optional":true,"computed":true},"url":{"type":"string","description":"The URL for the data source. The type of URL required varies depending on the chosen data source type.","description_kind":"markdown","computed":true},"username":{"type":"string","description":"(Required by some data source types) The username to use to authenticate to the data source.","description_kind":"markdown","computed":true}},"description":"Get details about a Grafana Datasource querying by either name, uid or ID","description_kind":"markdown"}},"grafana_fleet_management_collector":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Whether remote configuration for the collector is enabled or not. If the collector is disabled, it will receive empty configurations from the Fleet Management service","description_kind":"plain","computed":true},"id":{"type":"string","description":"ID of the collector","description_kind":"plain","required":true},"local_attributes":{"type":["map","string"],"description":"Local attributes for the collector","description_kind":"plain","computed":true},"remote_attributes":{"type":["map","string"],"description":"Remote attributes for the collector","description_kind":"plain","computed":true}},"description":"\nRepresents a Grafana Fleet Management collector.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/collector-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n","description_kind":"plain"}},"grafana_fleet_management_collectors":{"version":0,"block":{"attributes":{"collectors":{"type":["list",["object",{"enabled":"bool","id":"string","local_attributes":["map","string"],"remote_attributes":["map","string"]}]],"description":"List of collectors","description_kind":"plain","computed":true}},"description":"\nRepresents a list of Grafana Fleet Management collectors.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/collector-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n","description_kind":"plain"}},"grafana_folder":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"parent_folder_uid":{"type":"string","description":"The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.","description_kind":"markdown","computed":true},"title":{"type":"string","description":"The title of the folder.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"Unique identifier.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The full URL of the folder.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)\n","description_kind":"markdown"}},"grafana_folders":{"version":0,"block":{"attributes":{"folders":{"type":["set",["object",{"id":"number","title":"string","uid":"string","url":"string"}]],"description":"The Grafana instance's folders.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)\n","description_kind":"markdown"}},"grafana_frontend_o11y_app":{"version":0,"block":{"attributes":{"allowed_origins":{"type":["list","string"],"description":"A list of allowed origins for CORS.","description_kind":"plain","computed":true},"collector_endpoint":{"type":"string","description":"The collector URL Grafana Cloud Frontend Observability. Use this endpoint to send your Telemetry.","description_kind":"plain","computed":true},"extra_log_attributes":{"type":["map","string"],"description":"The extra attributes to append in each signal.","description_kind":"plain","computed":true},"id":{"type":"number","description":"The Terraform Resource ID. This auto-generated from Frontend Observability API.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Frontend Observability App. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"settings":{"type":["map","string"],"description":"The settings of the Frontend Observability App.","description_kind":"plain","computed":true},"stack_id":{"type":"number","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_k6_load_test":{"version":0,"block":{"attributes":{"baseline_test_run_id":{"type":"string","description":"Identifier of a baseline test run used for results comparison.","description_kind":"plain","computed":true},"created":{"type":"string","description":"The date when the load test was created.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the load test.","description_kind":"plain","required":true},"name":{"type":"string","description":"Human-friendly identifier of the load test.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project this load test belongs to.","description_kind":"plain","computed":true},"script":{"type":"string","description":"The k6 test script content.","description_kind":"plain","computed":true},"updated":{"type":"string","description":"The date when the load test was last updated.","description_kind":"plain","computed":true}},"description":"Retrieves a k6 load test.","description_kind":"plain"}},"grafana_k6_load_tests":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The identifier of the project the load tests belong to. This is set to the same as the project_id.","description_kind":"plain","computed":true},"load_tests":{"type":["list",["object",{"baseline_test_run_id":"string","created":"string","id":"string","name":"string","project_id":"string","script":"string","updated":"string"}]],"description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the load test.","description_kind":"plain","optional":true},"project_id":{"type":"string","description":"The identifier of the project the load tests belong to.","description_kind":"plain","required":true}},"description":"Retrieves all k6 load tests that belong to a project.","description_kind":"plain"}},"grafana_k6_project":{"version":0,"block":{"attributes":{"created":{"type":"string","description":"The date when the project was created.","description_kind":"plain","computed":true},"grafana_folder_uid":{"type":"string","description":"The Grafana folder uid.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the project.","description_kind":"plain","required":true},"is_default":{"type":"bool","description":"Whether this project is the default for running tests when no explicit project identifier is provided.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the project.","description_kind":"plain","computed":true},"updated":{"type":"string","description":"The date when the project was last updated.","description_kind":"plain","computed":true}},"description":"Retrieves a k6 project.","description_kind":"plain"}},"grafana_k6_project_allowed_load_zones":{"version":0,"block":{"attributes":{"allowed_load_zones":{"type":["list","string"],"description":"List of allowed private k6 load zone IDs for this project.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The identifier of the project. This is set to the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to retrieve private allowed load zones for.","description_kind":"plain","required":true}},"description":"Retrieves allowed private load zones for a k6 project.","description_kind":"plain"}},"grafana_k6_project_limits":{"version":0,"block":{"attributes":{"duration_max_per_test":{"type":"number","description":"Maximum duration of a test in seconds.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The identifier of the project limits. This is set to the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to get limits for.","description_kind":"plain","required":true},"vu_browser_max_per_test":{"type":"number","description":"Maximum number of concurrent browser virtual users (VUs) used in one test.","description_kind":"plain","computed":true},"vu_max_per_test":{"type":"number","description":"Maximum number of concurrent virtual users (VUs) used in one test.","description_kind":"plain","computed":true},"vuh_max_per_month":{"type":"number","description":"Maximum amount of virtual user hours (VU/h) used per one calendar month.","description_kind":"plain","computed":true}},"description":"Retrieves a k6 project limits.","description_kind":"plain"}},"grafana_k6_projects":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"Human-friendly identifier of the project. This is set to the same as name.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the project.","description_kind":"plain","optional":true},"projects":{"type":["list",["object",{"created":"string","grafana_folder_uid":"string","id":"string","is_default":"bool","name":"string","updated":"string"}]],"description_kind":"plain","computed":true}},"description":"Retrieves all k6 projects with the given name.","description_kind":"plain"}},"grafana_k6_schedule":{"version":0,"block":{"attributes":{"created_by":{"type":"string","description":"The email of the user who created the schedule.","description_kind":"plain","computed":true},"deactivated":{"type":"bool","description":"Whether the schedule is deactivated.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the schedule.","description_kind":"plain","computed":true},"load_test_id":{"type":"string","description":"The identifier of the load test to retrieve the schedule for.","description_kind":"plain","required":true},"next_run":{"type":"string","description":"The next scheduled execution time.","description_kind":"plain","computed":true},"starts":{"type":"string","description":"The start time for the schedule (RFC3339 format).","description_kind":"plain","computed":true}},"block_types":{"recurrence_rule":{"nesting_mode":"single","block":{"attributes":{"byday":{"type":["list","string"],"description":"The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.","description_kind":"plain","computed":true},"count":{"type":"number","description":"How many times the recurrence will repeat.","description_kind":"plain","computed":true},"frequency":{"type":"string","description":"The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY).","description_kind":"plain","computed":true},"interval":{"type":"number","description":"The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY).","description_kind":"plain","computed":true},"until":{"type":"string","description":"The end time for the recurrence (RFC3339 format).","description_kind":"plain","computed":true}},"description":"The schedule recurrence settings. If null, the test will run only once on the starts date.","description_kind":"plain"}}},"description":"Retrieves a k6 schedule.","description_kind":"plain"}},"grafana_k6_schedules":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The identifier for this data source.","description_kind":"plain","computed":true},"schedules":{"type":["list",["object",{"created_by":"string","deactivated":"bool","id":"string","load_test_id":"string","next_run":"string","recurrence_rule":["object",{"byday":["list","string"],"count":"number","frequency":"string","interval":"number","until":"string"}],"starts":"string"}]],"description":"List of k6 schedules.","description_kind":"plain","computed":true}},"description":"Retrieves all k6 schedules.","description_kind":"plain"}},"grafana_library_panel":{"version":0,"block":{"attributes":{"created":{"type":"string","description":"Timestamp when the library panel was created.","description_kind":"markdown","computed":true},"dashboard_ids":{"type":["list","number"],"description":"Numerical IDs of Grafana dashboards containing the library panel.","description_kind":"markdown","computed":true},"description":{"type":"string","description":"Description of the library panel.","description_kind":"markdown","computed":true},"folder_name":{"type":"string","description":"Name of the folder containing the library panel.","description_kind":"markdown","computed":true},"folder_uid":{"type":"string","description":"Unique ID (UID) of the folder containing the library panel.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"model_json":{"type":"string","description":"The JSON model for the library panel.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"Name of the library panel.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"panel_id":{"type":"number","description":"The numeric ID of the library panel computed by Grafana.","description_kind":"markdown","computed":true},"type":{"type":"string","description":"Type of the library panel (eg. text).","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"The unique identifier (UID) of the library panel.","description_kind":"markdown","optional":true},"updated":{"type":"string","description":"Timestamp when the library panel was last modified.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Version of the library panel.","description_kind":"markdown","computed":true}},"description":"Data source for retrieving a single library panel by name or uid.","description_kind":"markdown"}},"grafana_library_panels":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"panels":{"type":["set",["object",{"description":"string","folder_uid":"string","model_json":"string","name":"string","uid":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"grafana_oncall_escalation_chain":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The escalation chain name.","description_kind":"markdown","required":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)\n","description_kind":"markdown"}},"grafana_oncall_integration":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The integration ID.","description_kind":"markdown","required":true},"link":{"type":"string","description":"The link for the integration.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The integration name.","description_kind":"markdown","computed":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)\n","description_kind":"markdown"}},"grafana_oncall_label":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of the label.","description_kind":"plain","computed":true},"key":{"type":"string","description":"The key for the label.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the label.","description_kind":"plain","required":true}},"description":"* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)","description_kind":"markdown"}},"grafana_oncall_outgoing_webhook":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The outgoing webhook name.","description_kind":"markdown","required":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)\n","description_kind":"markdown"}},"grafana_oncall_schedule":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The schedule name.","description_kind":"markdown","required":true},"type":{"type":"string","description":"The schedule type.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/)\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)\n","description_kind":"markdown"}},"grafana_oncall_slack_channel":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The Slack channel name.","description_kind":"markdown","required":true},"slack_id":{"type":"string","description":"The Slack ID of the channel.","description_kind":"markdown","computed":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)\n","description_kind":"markdown"}},"grafana_oncall_team":{"version":0,"block":{"attributes":{"avatar_url":{"type":"string","description_kind":"plain","computed":true},"email":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The team name.","description_kind":"markdown","required":true}},"description_kind":"plain"}},"grafana_oncall_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email of the user.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The ID of the user.","description_kind":"plain","computed":true},"role":{"type":"string","description":"The role of the user.","description_kind":"plain","computed":true},"username":{"type":"string","description":"The username of the user.","description_kind":"plain","required":true}},"description":"* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)","description_kind":"markdown"}},"grafana_oncall_user_group":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"slack_handle":{"type":"string","description_kind":"plain","required":true},"slack_id":{"type":"string","description_kind":"plain","computed":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/user_groups/)\n","description_kind":"markdown"}},"grafana_oncall_users":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"users":{"type":["list",["object",{"email":"string","id":"string","role":"string","username":"string"}]],"description_kind":"plain","computed":true}},"description":"* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)","description_kind":"markdown"}},"grafana_organization":{"version":0,"block":{"attributes":{"admins":{"type":["set","string"],"description":"A list of email addresses corresponding to users given admin access to the organization.","description_kind":"markdown","computed":true},"editors":{"type":["set","string"],"description":"A list of email addresses corresponding to users given editor access to the organization.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the Organization.","description_kind":"markdown","required":true},"viewers":{"type":["set","string"],"description":"A list of email addresses corresponding to users given viewer access to the organization.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/)\n","description_kind":"markdown"}},"grafana_organization_preferences":{"version":0,"block":{"attributes":{"home_dashboard_uid":{"type":"string","description":"The Organization home dashboard UID. This is only available in Grafana 9.0+.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"theme":{"type":"string","description":"The Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.","description_kind":"markdown","computed":true},"timezone":{"type":"string","description":"The Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.","description_kind":"markdown","computed":true},"week_start":{"type":"string","description":"The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/preferences/#get-current-org-prefs)\n","description_kind":"markdown"}},"grafana_organization_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email address of the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"login":{"type":"string","description":"The username of the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"user_id":{"type":"number","description":"The numerical ID of the Grafana user.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/#get-all-users-within-the-current-organization-lookup)\n","description_kind":"markdown"}},"grafana_role":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"Description of the role.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the role. Available with Grafana 8.5+.","description_kind":"markdown","computed":true},"global":{"type":"bool","description":"Boolean to state whether the role is available across all organizations or not.","description_kind":"markdown","computed":true},"group":{"type":"string","description":"Group of the role. Available with Grafana 8.5+.","description_kind":"markdown","computed":true},"hidden":{"type":"bool","description":"Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the role","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","computed":true},"permissions":{"type":["set",["object",{"action":"string","scope":"string"}]],"description":"Specific set of actions granted by the role.","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"Unique identifier of the role. Used for assignments.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Version of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.","description_kind":"markdown","computed":true}},"description":"\n**Note:** This resource is available only with Grafana Enterprise 8.+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)\n","description_kind":"markdown"}},"grafana_service_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_disabled":{"type":"bool","description":"The disabled status for the service account.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the Service Account.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"role":{"type":"string","description":"The basic role of the service account in the organization.","description_kind":"markdown","computed":true}},"description":"\n\t\t* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n\t\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)\n","description_kind":"markdown"}},"grafana_slos":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"slos":{"type":["list",["object",{"alerting":["list",["object",{"advanced_options":["list",["object",{"min_failures":"number"}]],"annotation":["list",["object",{"key":"string","value":"string"}]],"fastburn":["list",["object",{"annotation":["list",["object",{"key":"string","value":"string"}]],"label":["list",["object",{"key":"string","value":"string"}]]}]],"label":["list",["object",{"key":"string","value":"string"}]],"slowburn":["list",["object",{"annotation":["list",["object",{"key":"string","value":"string"}]],"label":["list",["object",{"key":"string","value":"string"}]]}]]}]],"description":"string","destination_datasource":["list",["object",{"uid":"string"}]],"folder_uid":"string","label":["list",["object",{"key":"string","value":"string"}]],"name":"string","objectives":["list",["object",{"value":"number","window":"string"}]],"query":["list",["object",{"freeform":["list",["object",{"query":"string"}]],"grafana_queries":["list",["object",{"grafana_queries":"string"}]],"ratio":["list",["object",{"group_by_labels":["list","string"],"success_metric":"string","total_metric":"string"}]],"type":"string"}]],"search_expression":"string","uuid":"string"}]],"description":"Returns a list of all SLOs\"","description_kind":"markdown","computed":true}},"description":"\nDatasource for retrieving all SLOs.\n\t\t\n* [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)\n* [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)\n\t\t\t\t","description_kind":"markdown"}},"grafana_synthetic_monitoring_probe":{"version":0,"block":{"attributes":{"disable_browser_checks":{"type":"bool","description":"Disables browser checks for this probe.","description_kind":"markdown","computed":true},"disable_scripted_checks":{"type":"bool","description":"Disables scripted checks for this probe.","description_kind":"markdown","computed":true},"id":{"type":"string","description":"The ID of the probe.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"Custom labels to be included with collected metrics and logs.","description_kind":"markdown","computed":true},"latitude":{"type":"number","description":"Latitude coordinates.","description_kind":"markdown","computed":true},"longitude":{"type":"number","description":"Longitude coordinates.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"Name of the probe.","description_kind":"markdown","required":true},"public":{"type":"bool","description":"Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`.","description_kind":"markdown","computed":true},"region":{"type":"string","description":"Region of the probe.","description_kind":"markdown","computed":true},"tenant_id":{"type":"number","description":"The tenant ID of the probe.","description_kind":"markdown","computed":true}},"description":"Data source for retrieving a single probe by name.","description_kind":"markdown"}},"grafana_synthetic_monitoring_probes":{"version":0,"block":{"attributes":{"filter_deprecated":{"type":"bool","description":"If true, only probes that are not deprecated will be returned. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"probes":{"type":["map","number"],"description":"Map of probes with their names as keys and IDs as values.","description_kind":"markdown","computed":true}},"description":"Data source for retrieving all probes.","description_kind":"markdown"}},"grafana_team":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"An email address for the team.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"members":{"type":["set","string"],"description":"A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the Grafana team","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"preferences":{"type":["list",["object",{"home_dashboard_uid":"string","theme":"string","timezone":"string","week_start":"string"}]],"description_kind":"plain","computed":true},"read_team_sync":{"type":"bool","description":"Whether to read the team sync settings. This is only available in Grafana Enterprise. Defaults to `false`.","description_kind":"markdown","optional":true},"team_id":{"type":"number","description":"The team id assigned to this team by Grafana.","description_kind":"markdown","computed":true},"team_sync":{"type":["list",["object",{"groups":["set","string"]}]],"description":"Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n\t* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)","description_kind":"markdown","computed":true},"team_uid":{"type":"string","description":"The team uid assigned to this team by Grafana.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/team-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)\n","description_kind":"markdown"}},"grafana_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email address of the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_admin":{"type":"bool","description":"Whether the user is an admin.","description_kind":"markdown","computed":true},"login":{"type":"string","description":"The username for the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The display name for the Grafana user.","description_kind":"markdown","computed":true},"user_id":{"type":"number","description":"The numerical ID of the Grafana user. Defaults to `-1`.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/user/)\n\nThis data source uses Grafana's admin APIs for reading users which\ndoes not currently work with API Tokens. You must use basic auth.\nThis data source is also not compatible with Grafana Cloud, as it does not allow basic auth.\n","description_kind":"markdown"}},"grafana_users":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"users":{"type":["set",["object",{"email":"string","id":"number","is_admin":"bool","login":"string","name":"string"}]],"description":"The Grafana instance's users.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/user/)\n\t\t\nThis data source uses Grafana's admin APIs for reading users which\ndoes not currently work with API Tokens. You must use basic auth.\nThis data source is also not compatible with Grafana Cloud, as it does not allow basic auth.\n\t\t","description_kind":"markdown"}}}}}}
+{"format_version":"1.0","provider_schemas":{"registry.terraform.io/grafana/grafana":{"provider":{"version":0,"block":{"attributes":{"auth":{"type":"string","description":"API token, basic auth in the `username:password` format or `anonymous` (string literal). May alternatively be set via the `GRAFANA_AUTH` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"ca_cert":{"type":"string","description":"Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the `GRAFANA_CA_CERT` environment variable.","description_kind":"markdown","optional":true},"cloud_access_policy_token":{"type":"string","description":"Access Policy Token for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_ACCESS_POLICY_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"cloud_api_url":{"type":"string","description":"Grafana Cloud's API URL. May alternatively be set via the `GRAFANA_CLOUD_API_URL` environment variable.","description_kind":"markdown","optional":true},"cloud_provider_access_token":{"type":"string","description":"A Grafana Cloud Provider access token. May alternatively be set via the `GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"cloud_provider_url":{"type":"string","description":"A Grafana Cloud Provider backend address. May alternatively be set via the `GRAFANA_CLOUD_PROVIDER_URL` environment variable.","description_kind":"markdown","optional":true},"connections_api_access_token":{"type":"string","description":"A Grafana Connections API access token. May alternatively be set via the `GRAFANA_CONNECTIONS_API_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"connections_api_url":{"type":"string","description":"A Grafana Connections API address. May alternatively be set via the `GRAFANA_CONNECTIONS_API_URL` environment variable.","description_kind":"markdown","optional":true},"fleet_management_auth":{"type":"string","description":"A Grafana Fleet Management basic auth in the `username:password` format. May alternatively be set via the `GRAFANA_FLEET_MANAGEMENT_AUTH` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"fleet_management_url":{"type":"string","description":"A Grafana Fleet Management API address. May alternatively be set via the `GRAFANA_FLEET_MANAGEMENT_URL` environment variable.","description_kind":"markdown","optional":true},"frontend_o11y_api_access_token":{"type":"string","description":"A Grafana Frontend Observability API access token. May alternatively be set via the `GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"http_headers":{"type":["map","string"],"description":"Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the `GRAFANA_HTTP_HEADERS` environment variable in JSON format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.","description_kind":"markdown","optional":true},"k6_access_token":{"type":"string","description":"The k6 Cloud API token. May alternatively be set via the `GRAFANA_K6_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"k6_url":{"type":"string","description":"The k6 Cloud API url. May alternatively be set via the `GRAFANA_K6_URL` environment variable.","description_kind":"markdown","optional":true},"oncall_access_token":{"type":"string","description":"A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"oncall_url":{"type":"string","description":"An Grafana OnCall backend address. May alternatively be set via the `GRAFANA_ONCALL_URL` environment variable.","description_kind":"markdown","optional":true},"org_id":{"type":"number","description":"The Grafana org ID, if you are using a self-hosted OSS or enterprise Grafana instance. May alternatively be set via the `GRAFANA_ORG_ID` environment variable.","description_kind":"markdown","optional":true},"retries":{"type":"number","description":"The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the `GRAFANA_RETRIES` environment variable.","description_kind":"markdown","optional":true},"retry_status_codes":{"type":["set","string"],"description":"The status codes to retry on for Grafana API and Grafana Cloud API calls. Use `x` as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the `GRAFANA_RETRY_STATUS_CODES` environment variable.","description_kind":"markdown","optional":true},"retry_wait":{"type":"number","description":"The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the `GRAFANA_RETRY_WAIT` environment variable.","description_kind":"markdown","optional":true},"sm_access_token":{"type":"string","description":"A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable.","description_kind":"markdown","optional":true,"sensitive":true},"sm_url":{"type":"string","description":"Synthetic monitoring backend address. May alternatively be set via the `GRAFANA_SM_URL` environment variable. The correct value for each service region is cited in the [Synthetic Monitoring documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url). Note the `sm_url` value is optional, but it must correspond with the value specified as the `region_slug` in the `grafana_cloud_stack` resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicit `sm_url` set to the same value for each provider ensures all providers interact with the same SM API.","description_kind":"markdown","optional":true},"stack_id":{"type":"number","description":"The Grafana stack ID, if you are using a Grafana Cloud stack. May alternatively be set via the `GRAFANA_STACK_ID` environment variable.","description_kind":"markdown","optional":true},"store_dashboard_sha256":{"type":"bool","description":"Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate.","description_kind":"markdown","optional":true},"tls_cert":{"type":"string","description":"Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_CERT` environment variable.","description_kind":"markdown","optional":true},"tls_key":{"type":"string","description":"Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_KEY` environment variable.","description_kind":"markdown","optional":true},"url":{"type":"string","description":"The root URL of a Grafana server. May alternatively be set via the `GRAFANA_URL` environment variable.","description_kind":"markdown","optional":true}},"description_kind":"plain"}},"resource_schemas":{"grafana_annotation":{"version":0,"block":{"attributes":{"dashboard_uid":{"type":"string","description":"The UID of the dashboard on which to create the annotation.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"panel_id":{"type":"number","description":"The ID of the dashboard panel on which to create the annotation.","description_kind":"markdown","optional":true},"tags":{"type":["set","string"],"description":"The tags to associate with the annotation.","description_kind":"markdown","optional":true},"text":{"type":"string","description":"The text to associate with the annotation.","description_kind":"markdown","required":true},"time":{"type":"string","description":"The RFC 3339-formatted time string indicating the annotation's time.","description_kind":"markdown","optional":true,"computed":true},"time_end":{"type":"string","description":"The RFC 3339-formatted time string indicating the annotation's end time.","description_kind":"markdown","optional":true,"computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/annotations/)\n","description_kind":"markdown"}},"grafana_apps_alertenrichment_alertenrichment_v1beta1":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of the resource derived from UUID.","description_kind":"plain","computed":true}},"block_types":{"metadata":{"nesting_mode":"single","block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder to save the resource in.","description_kind":"plain","optional":true},"uid":{"type":"string","description":"The unique identifier of the resource.","description_kind":"plain","required":true},"url":{"type":"string","description":"The full URL of the resource.","description_kind":"plain","computed":true},"uuid":{"type":"string","description":"The globally unique identifier of a resource, used by the API for tracking.","description_kind":"plain","computed":true},"version":{"type":"string","description":"The version of the resource.","description_kind":"plain","computed":true}},"description":"The metadata of the resource.","description_kind":"plain"}},"options":{"nesting_mode":"single","block":{"attributes":{"overwrite":{"type":"bool","description":"Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.","description_kind":"plain","optional":true}},"description":"Options for applying the resource.","description_kind":"plain"}},"spec":{"nesting_mode":"single","block":{"attributes":{"alert_rule_uids":{"type":["list","string"],"description":"UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.","description_kind":"plain","optional":true},"annotation_matchers":{"type":["list",["object",{"name":"string","type":"string","value":"string"}]],"description":"Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).","description_kind":"plain","optional":true},"description":{"type":"string","description":"Description of the alert enrichment.","description_kind":"plain","optional":true},"label_matchers":{"type":["list",["object",{"name":"string","type":"string","value":"string"}]],"description":"Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).","description_kind":"plain","optional":true},"receivers":{"type":["list","string"],"description":"Receiver names to match. If empty, applies to all receivers.","description_kind":"plain","optional":true},"title":{"type":"string","description":"The title of the alert enrichment.","description_kind":"plain","required":true}},"block_types":{"step":{"nesting_mode":"list","block":{"block_types":{"assign":{"nesting_mode":"single","block":{"attributes":{"annotations":{"type":["map","string"],"description":"Map of annotation names to values to set on matching alerts.","description_kind":"plain","optional":true},"timeout":{"type":"string","description":"Maximum execution time (e.g., '30s', '1m')","description_kind":"plain","optional":true}},"description":"Assign annotations to an alert.","description_kind":"plain"}}},"description":"Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.","description_kind":"plain"}}},"description":"The spec of the resource.","description_kind":"plain"}}},"description":"\nManages Grafana Alert Enrichments.\n","description_kind":"markdown"}},"grafana_apps_dashboard_dashboard_v1beta1":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of the resource derived from UUID.","description_kind":"plain","computed":true}},"block_types":{"metadata":{"nesting_mode":"single","block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder to save the resource in.","description_kind":"plain","optional":true},"uid":{"type":"string","description":"The unique identifier of the resource.","description_kind":"plain","required":true},"url":{"type":"string","description":"The full URL of the resource.","description_kind":"plain","computed":true},"uuid":{"type":"string","description":"The globally unique identifier of a resource, used by the API for tracking.","description_kind":"plain","computed":true},"version":{"type":"string","description":"The version of the resource.","description_kind":"plain","computed":true}},"description":"The metadata of the resource.","description_kind":"plain"}},"options":{"nesting_mode":"single","block":{"attributes":{"overwrite":{"type":"bool","description":"Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.","description_kind":"plain","optional":true}},"description":"Options for applying the resource.","description_kind":"plain"}},"spec":{"nesting_mode":"single","block":{"attributes":{"json":{"type":"string","description":"The JSON representation of the dashboard spec.","description_kind":"plain","required":true},"tags":{"type":["list","string"],"description":"The tags of the dashboard. If not set, the tags will be derived from the JSON spec.","description_kind":"plain","optional":true},"title":{"type":"string","description":"The title of the dashboard. If not set, the title will be derived from the JSON spec.","description_kind":"plain","optional":true}},"description":"The spec of the resource.","description_kind":"plain"}}},"description":"\nManages Grafana dashboards using the new Grafana APIs.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/#new-dashboard-apis)\n\t","description_kind":"markdown"}},"grafana_apps_playlist_playlist_v0alpha1":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of the resource derived from UUID.","description_kind":"plain","computed":true}},"block_types":{"metadata":{"nesting_mode":"single","block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder to save the resource in.","description_kind":"plain","optional":true},"uid":{"type":"string","description":"The unique identifier of the resource.","description_kind":"plain","required":true},"url":{"type":"string","description":"The full URL of the resource.","description_kind":"plain","computed":true},"uuid":{"type":"string","description":"The globally unique identifier of a resource, used by the API for tracking.","description_kind":"plain","computed":true},"version":{"type":"string","description":"The version of the resource.","description_kind":"plain","computed":true}},"description":"The metadata of the resource.","description_kind":"plain"}},"options":{"nesting_mode":"single","block":{"attributes":{"overwrite":{"type":"bool","description":"Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.","description_kind":"plain","optional":true}},"description":"Options for applying the resource.","description_kind":"plain"}},"spec":{"nesting_mode":"single","block":{"attributes":{"interval":{"type":"string","description":"The interval of the playlist.","description_kind":"plain","optional":true},"items":{"type":["list",["object",{"type":"string","value":"string"}]],"description":"The items of the playlist.","description_kind":"plain","required":true},"title":{"type":"string","description":"The title of the playlist.","description_kind":"plain","required":true}},"description":"The spec of the resource.","description_kind":"plain"}}},"description":"\nManages Grafana playlists using the new Grafana APIs.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-manage-playlists/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/apis/)\n","description_kind":"markdown"}},"grafana_asserts_notification_alerts_config":{"version":0,"block":{"attributes":{"alert_labels":{"type":["map","string"],"description":"Labels to add to alerts generated by this configuration.","description_kind":"markdown","optional":true},"duration":{"type":"string","description":"Duration for which the condition must be true before firing (e.g., '5m', '30s'). Maps to 'for' in Asserts API.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"match_labels":{"type":["map","string"],"description":"Labels to match for this alert configuration.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the alert configuration.","description_kind":"markdown","required":true},"silenced":{"type":"bool","description":"Whether this alert configuration is silenced. Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"Manages Asserts Alert Configurations through Grafana API.","description_kind":"markdown"}},"grafana_asserts_suppressed_assertions_config":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"match_labels":{"type":["map","string"],"description":"Labels to match for this disabled alert configuration.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the disabled alert configuration.","description_kind":"markdown","required":true}},"description":"Manages Asserts Disabled Alert Configurations through Grafana API.","description_kind":"markdown"}},"grafana_cloud_access_policy":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description":"Creation date of the access policy.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the access policy. Defaults to the name.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the access policy.","description_kind":"markdown","required":true},"policy_id":{"type":"string","description":"ID of the access policy.","description_kind":"markdown","computed":true},"region":{"type":"string","description":"Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","required":true},"scopes":{"type":["set","string"],"description":"Scopes of the access policy. See https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/#scopes for possible values.","description_kind":"markdown","required":true},"updated_at":{"type":"string","description":"Last update date of the access policy.","description_kind":"markdown","computed":true}},"block_types":{"conditions":{"nesting_mode":"set","block":{"attributes":{"allowed_subnets":{"type":["set","string"],"description":"Conditions that apply to the access policy,such as IP Allow lists.","description_kind":"markdown","required":true}},"description":"Conditions for the access policy.","description_kind":"markdown"}},"realm":{"nesting_mode":"set","block":{"attributes":{"identifier":{"type":"string","description":"The identifier of the org or stack. For orgs, this is the slug, for stacks, this is the stack ID.","description_kind":"markdown","required":true},"type":{"type":"string","description":"Whether a policy applies to a Cloud org or a specific stack. Should be one of `org` or `stack`.","description_kind":"markdown","required":true}},"block_types":{"label_policy":{"nesting_mode":"set","block":{"attributes":{"selector":{"type":"string","description":"The label selector to match in metrics or logs query. Should be in PromQL or LogQL format.","description_kind":"markdown","required":true}},"description_kind":"plain"}}},"description_kind":"plain"},"min_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_access_policy_token":{"version":0,"block":{"attributes":{"access_policy_id":{"type":"string","description":"ID of the access policy for which to create a token.","description_kind":"markdown","required":true},"created_at":{"type":"string","description":"Creation date of the access policy token.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the access policy token. Defaults to the name.","description_kind":"markdown","optional":true},"expires_at":{"type":"string","description":"Expiration date of the access policy token. Does not expire by default.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the access policy token.","description_kind":"markdown","required":true},"region":{"type":"string","description":"Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","required":true},"token":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"updated_at":{"type":"string","description":"Last update date of the access policy token.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_org_member":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org":{"type":"string","description":"The slug or ID of the organization.","description_kind":"markdown","required":true},"receive_billing_emails":{"type":"bool","description":"Whether the user should receive billing emails.","description_kind":"markdown","optional":true,"computed":true},"role":{"type":"string","description":"The role to assign to the user in the organization.","description_kind":"markdown","required":true},"user":{"type":"string","description":"Username or ID of the user to add to the org's members.","description_kind":"markdown","required":true}},"description":"Manages the membership of a user in an organization.","description_kind":"markdown"}},"grafana_cloud_plugin_installation":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"slug":{"type":"string","description":"Slug of the plugin to be installed.","description_kind":"markdown","required":true},"stack_slug":{"type":"string","description":"The stack id to which the plugin should be installed.","description_kind":"markdown","required":true},"version":{"type":"string","description":"Version of the plugin to be installed. Defaults to 'latest' and installs the most recent version. Terraform will detect new version as drift for plan/apply. Defaults to `latest`.","description_kind":"markdown","optional":true}},"description":"\nManages Grafana Cloud Plugin Installations.\n\n* [Plugin Catalog](https://grafana.com/grafana/plugins/)\n\nRequired access policy scopes:\n\n* stack-plugins:read\n* stack-plugins:write\n* stack-plugins:delete\n","description_kind":"markdown"}},"grafana_cloud_private_data_source_connect_network":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description":"Creation date of the private data source connect network.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the PDC network. Defaults to the name.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the PDC network.**Note:** The name must be lowercase and can contain hyphens or underscores. See full requirements here: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#request-body","description_kind":"markdown","required":true},"pdc_network_id":{"type":"string","description":"ID of the private data source connect network.","description_kind":"markdown","computed":true},"region":{"type":"string","description":"The region where your stack is deployed. Use the instances list API to get the region for your instance - use the regionSlug property: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-stacks","description_kind":"markdown","required":true},"stack_identifier":{"type":"string","description":"The identifier of the stack.","description_kind":"markdown","required":true},"updated_at":{"type":"string","description":"Last update date of the private data source connect network.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_private_data_source_connect_network_token":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description":"Creation date of the private data source network token.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the private data source network token. Defaults to the name.","description_kind":"markdown","optional":true},"expires_at":{"type":"string","description":"Expiration date of the private data source network token. Does not expire by default.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the private data source network token.","description_kind":"markdown","required":true},"pdc_network_id":{"type":"string","description":"ID of the private data source network for which to create a token.","description_kind":"markdown","required":true},"region":{"type":"string","description":"Region of the private data source network. Should be set to the same region as the private data source network. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","required":true},"token":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"updated_at":{"type":"string","description":"Last update date of the private data source network token.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)\n\nRequired access policy scopes:\n\n* accesspolicies:read\n* accesspolicies:write\n* accesspolicies:delete\n","description_kind":"markdown"}},"grafana_cloud_provider_aws_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"An optional human-readable name for this AWS Account resource.","description_kind":"plain","optional":true,"computed":true},"regions":{"type":["set","string"],"description":"A set of regions that this AWS Account resource applies to.","description_kind":"plain","required":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this AWS Account resource.","description_kind":"plain","computed":true},"role_arn":{"type":"string","description":"An IAM Role ARN string to represent with this AWS Account resource.","description_kind":"plain","required":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_cloud_provider_aws_cloudwatch_scrape_job":{"version":0,"block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this CloudWatch Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","required":true},"disabled_reason":{"type":"string","description":"When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS CloudWatch Scrape Job is enabled or not. Defaults to `true`.","description_kind":"plain","optional":true,"computed":true},"export_tags":{"type":"bool","description":"When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as `aws_\u003cservice_name\u003e_info`. Defaults to `true`.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS CloudWatch Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"regions_subset_override":{"type":["set","string"],"description":"A subset of the regions that are configured in the associated AWS Account resource to apply to this scrape job. If not set or empty, all of the Account resource's regions are scraped.","description_kind":"plain","optional":true,"computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"custom_namespace":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the custom namespace to scrape.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the custom namespace. Defaults to `300`.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","required":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals. Defaults to `300`.","description_kind":"plain","optional":true,"computed":true},"tags_to_add_to_metrics":{"type":["set","string"],"description":"A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","required":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Please note that AWS metric names must be supplied, and not their PromQL counterparts. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to configure AWS services for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_aws_resource_metadata_scrape_job":{"version":0,"block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this Resource Metadata Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","required":true},"disabled_reason":{"type":"string","description":"When the AWS Resource Metadata Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS Resource Metadata Scrape Job is enabled or not. Defaults to `true`.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS Resource Metadata Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"regions_subset_override":{"type":["set","string"],"description":"A subset of the regions that are configured in the associated AWS Account resource to apply to this scrape job. If not set or empty, all of the Account resource's regions are scraped.","description_kind":"plain","optional":true,"computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals. Defaults to `300`.","description_kind":"plain","optional":true,"computed":true}},"block_types":{"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","required":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to configure AWS services for the Resource Metadata Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_azure_credential":{"version":0,"block":{"attributes":{"client_id":{"type":"string","description":"The client ID of the Azure Credential.","description_kind":"plain","required":true},"client_secret":{"type":"string","description":"The client secret of the Azure Credential.","description_kind":"plain","required":true,"sensitive":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Azure Credential.","description_kind":"plain","required":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this Azure Credential resource.","description_kind":"plain","computed":true},"resource_tags_to_add_to_metrics":{"type":["set","string"],"description":"The list of resource tags to add to metrics.","description_kind":"plain","optional":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"tenant_id":{"type":"string","description":"The tenant ID of the Azure Credential.","description_kind":"plain","required":true}},"block_types":{"auto_discovery_configuration":{"nesting_mode":"list","block":{"attributes":{"resource_type_configurations":{"type":["list",["object",{"metric_configuration":["list",["object",{"aggregations":["list","string"],"dimensions":["list","string"],"name":"string"}]],"resource_type_name":"string"}]],"description":"The list of resource type configurations.","description_kind":"plain","required":true},"subscription_id":{"type":"string","description":"The subscription ID of the Azure account.","description_kind":"plain","required":true}},"description":"The list of auto discovery configurations.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","required":true}},"description":"The list of tag filters to apply to resources.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_stack":{"version":0,"block":{"attributes":{"alertmanager_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Alertmanager instances (Optional)","description_kind":"markdown","computed":true},"alertmanager_name":{"type":"string","description":"Name of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_status":{"type":"string","description":"Status of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_url":{"type":"string","description":"Base URL of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_user_id":{"type":"number","description":"User ID of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"cluster_slug":{"type":"string","description":"Slug of the cluster where this stack resides.","description_kind":"markdown","computed":true},"delete_protection":{"type":"bool","description":"Whether to enable delete protection for the stack, preventing accidental deletion. Defaults to `true`.","description_kind":"markdown","optional":true},"description":{"type":"string","description":"Description of stack.","description_kind":"markdown","optional":true},"fleet_management_name":{"type":"string","description":"Name of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_status":{"type":"string","description":"Status of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_url":{"type":"string","description":"Base URL of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_user_id":{"type":"number","description":"User ID of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"grafanas_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the grafana instance (Optional)","description_kind":"markdown","computed":true},"graphite_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Graphite instance (Optional)","description_kind":"markdown","computed":true},"graphite_name":{"type":"string","description_kind":"plain","computed":true},"graphite_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_status":{"type":"string","description_kind":"plain","computed":true},"graphite_url":{"type":"string","description_kind":"plain","computed":true},"graphite_user_id":{"type":"number","description_kind":"plain","computed":true},"id":{"type":"string","description":"The stack id assigned to this stack by Grafana.","description_kind":"markdown","computed":true},"influx_url":{"type":"string","description":"Base URL of the InfluxDB instance configured for this stack. The username is the same as the metrics' (`prometheus_user_id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-influxdb/push-from-telegraf/ for docs on how to use this.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"A map of labels to assign to the stack. Label keys and values must match the following regexp: \"^[a-zA-Z0-9/\\\\-.]+$\" and stacks cannot have more than 10 labels.","description_kind":"markdown","optional":true},"logs_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Logs instance (Optional)","description_kind":"markdown","computed":true},"logs_name":{"type":"string","description_kind":"plain","computed":true},"logs_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_status":{"type":"string","description_kind":"plain","computed":true},"logs_url":{"type":"string","description_kind":"plain","computed":true},"logs_user_id":{"type":"number","description_kind":"plain","computed":true},"name":{"type":"string","description":"Name of stack. Conventionally matches the url of the instance (e.g. `\u003cstack_slug\u003e.grafana.net`).","description_kind":"markdown","required":true},"oncall_api_url":{"type":"string","description":"Base URL of the OnCall API instance configured for this stack.","description_kind":"markdown","computed":true},"org_id":{"type":"number","description":"Organization id to assign to this stack.","description_kind":"markdown","computed":true},"org_name":{"type":"string","description":"Organization name to assign to this stack.","description_kind":"markdown","computed":true},"org_slug":{"type":"string","description":"Organization slug to assign to this stack.","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_service_name":{"type":"string","description":"Service Name for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_url":{"type":"string","description":"Base URL of the OTLP instance configured for this stack. The username is the stack's ID (`id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/ for docs on how to use this.","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Profiles instance (Optional)","description_kind":"markdown","computed":true},"profiles_name":{"type":"string","description_kind":"plain","computed":true},"profiles_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_status":{"type":"string","description_kind":"plain","computed":true},"profiles_url":{"type":"string","description_kind":"plain","computed":true},"profiles_user_id":{"type":"number","description_kind":"plain","computed":true},"prometheus_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Prometheus instance (Optional)","description_kind":"markdown","computed":true},"prometheus_name":{"type":"string","description":"Prometheus name for this instance.","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_remote_endpoint":{"type":"string","description":"Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana","description_kind":"markdown","computed":true},"prometheus_remote_write_endpoint":{"type":"string","description":"Use this URL to send prometheus metrics to Grafana cloud","description_kind":"markdown","computed":true},"prometheus_status":{"type":"string","description":"Prometheus status for this instance.","description_kind":"markdown","computed":true},"prometheus_url":{"type":"string","description":"Prometheus url for this instance.","description_kind":"markdown","computed":true},"prometheus_user_id":{"type":"number","description":"Prometheus user ID. Used for e.g. remote_write.","description_kind":"markdown","computed":true},"region_slug":{"type":"string","description":"Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.","description_kind":"markdown","optional":true},"slug":{"type":"string","description":"Subdomain that the Grafana instance will be available at. Setting slug to `\u003cstack_slug\u003e` will make the instance available at `https://\u003cstack_slug\u003e.grafana.net`.","description_kind":"markdown","required":true},"status":{"type":"string","description":"Status of the stack.","description_kind":"markdown","computed":true},"traces_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Traces instance (Optional)","description_kind":"markdown","computed":true},"traces_name":{"type":"string","description_kind":"plain","computed":true},"traces_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_status":{"type":"string","description_kind":"plain","computed":true},"traces_url":{"type":"string","description":"Base URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append `/tempo` to the URL.","description_kind":"markdown","computed":true},"traces_user_id":{"type":"number","description_kind":"plain","computed":true},"url":{"type":"string","description":"Custom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack","description_kind":"markdown","optional":true},"wait_for_readiness":{"type":"bool","description":"Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to `true`.","description_kind":"markdown","optional":true},"wait_for_readiness_timeout":{"type":"string","description":"How long to wait for readiness (if enabled). Defaults to `5m0s`.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#stacks/)\n\nRequired access policy scopes:\n\n* stacks:read\n* stacks:write\n* stacks:delete\n","description_kind":"markdown"}},"grafana_cloud_stack_service_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_disabled":{"type":"bool","description":"The disabled status for the service account. Defaults to `false`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the service account.","description_kind":"markdown","required":true},"role":{"type":"string","description":"The basic role of the service account in the organization.","description_kind":"markdown","required":true},"stack_slug":{"type":"string","description_kind":"plain","required":true}},"description":"\nManages service accounts of a Grafana Cloud stack using the Cloud API\nThis can be used to bootstrap a management service account for a new stack\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)\n\nRequired access policy scopes:\n\n* stacks:read\n* stack-service-accounts:write\n","description_kind":"markdown"}},"grafana_cloud_stack_service_account_token":{"version":0,"block":{"attributes":{"expiration":{"type":"string","description_kind":"plain","computed":true},"has_expired":{"type":"bool","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description_kind":"plain","computed":true,"sensitive":true},"name":{"type":"string","description_kind":"plain","required":true},"seconds_to_live":{"type":"number","description_kind":"plain","optional":true},"service_account_id":{"type":"string","description_kind":"plain","required":true},"stack_slug":{"type":"string","description_kind":"plain","required":true}},"description":"\nManages service account tokens of a Grafana Cloud stack using the Cloud API\nThis can be used to bootstrap a management service account token for a new stack\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)\n\nRequired access policy scopes:\n\n* stack-service-accounts:write\n","description_kind":"markdown"}},"grafana_connections_metrics_endpoint_scrape_job":{"version":0,"block":{"attributes":{"authentication_basic_password":{"type":"string","description":"Password for basic authentication, use if scrape job is using basic authentication method","description_kind":"plain","optional":true,"sensitive":true},"authentication_basic_username":{"type":"string","description":"Username for basic authentication, use if scrape job is using basic authentication method","description_kind":"plain","optional":true},"authentication_bearer_token":{"type":"string","description":"Bearer token used for authentication, use if scrape job is using bearer authentication method","description_kind":"plain","optional":true,"sensitive":true},"authentication_method":{"type":"string","description":"Method to pass authentication credentials: basic or bearer.","description_kind":"plain","required":true},"enabled":{"type":"bool","description":"Whether the metrics endpoint scrape job is enabled or not.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the metrics endpoint scrape job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"Frequency for scraping the metrics endpoint: 30, 60, or 120 seconds.","description_kind":"plain","optional":true,"computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"url":{"type":"string","description":"The url to scrape metrics from; a valid HTTPs URL is required.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_contact_point":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the contact point from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the contact point.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"alertmanager":{"nesting_mode":"set","block":{"attributes":{"basic_auth_password":{"type":"string","description":"The password component of the basic auth credentials to use.","description_kind":"markdown","optional":true,"sensitive":true},"basic_auth_user":{"type":"string","description":"The username component of the basic auth credentials to use.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL of the Alertmanager instance.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to other Alertmanager instances.","description_kind":"markdown"}},"dingding":{"nesting_mode":"set","block":{"attributes":{"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"message_type":{"type":"string","description":"The format of message to send - either 'link' or 'actionCard'","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The DingDing webhook URL.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to DingDing.","description_kind":"markdown"}},"discord":{"nesting_mode":"set","block":{"attributes":{"avatar_url":{"type":"string","description":"The URL of a custom avatar image to use. Defaults to ``.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message. Defaults to ``.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated content of the title.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The discord webhook URL.","description_kind":"markdown","required":true,"sensitive":true},"use_discord_username":{"type":"bool","description":"Whether to use the bot account's plain username instead of \"Grafana.\" Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"A contact point that sends notifications as Discord messages","description_kind":"markdown"}},"email":{"nesting_mode":"set","block":{"attributes":{"addresses":{"type":["list","string"],"description":"The addresses to send emails to.","description_kind":"markdown","required":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the email. Defaults to ``.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"single_email":{"type":"bool","description":"Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`.","description_kind":"markdown","optional":true},"subject":{"type":"string","description":"The templated subject line of the email. Defaults to ``.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to an email address.","description_kind":"markdown"}},"googlechat":{"nesting_mode":"set","block":{"attributes":{"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated content of the title.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The Google Chat webhook URL.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to Google Chat.","description_kind":"markdown"}},"kafka":{"nesting_mode":"set","block":{"attributes":{"api_version":{"type":"string","description":"The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`.","description_kind":"markdown","optional":true},"cluster_id":{"type":"string","description":"The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'","description_kind":"markdown","optional":true},"description":{"type":"string","description":"The templated description of the Kafka message.","description_kind":"markdown","optional":true},"details":{"type":"string","description":"The templated details to include with the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"password":{"type":"string","description":"The password to use when making a call to the Kafka REST Proxy","description_kind":"markdown","optional":true,"sensitive":true},"rest_proxy_url":{"type":"string","description":"The URL of the Kafka REST proxy to send requests to.","description_kind":"markdown","required":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"topic":{"type":"string","description":"The name of the Kafka topic to publish to.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"username":{"type":"string","description":"The user name to use when making a call to the Kafka REST Proxy","description_kind":"markdown","optional":true}},"description":"A contact point that publishes notifications to Apache Kafka topics.","description_kind":"markdown"}},"line":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description":"The templated description of the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"token":{"type":"string","description":"The bearer token used to authorize the client.","description_kind":"markdown","required":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to LINE.me.","description_kind":"markdown"}},"oncall":{"nesting_mode":"set","block":{"attributes":{"authorization_credentials":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true,"sensitive":true},"authorization_scheme":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true},"basic_auth_password":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true,"sensitive":true},"basic_auth_user":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"http_method":{"type":"string","description":"The HTTP method to use in the request. Defaults to `POST`.","description_kind":"markdown","optional":true},"max_alerts":{"type":"number","description":"The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Custom message. You can use template variables.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"Templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL to send webhook requests to.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to Grafana On-Call.","description_kind":"markdown"}},"opsgenie":{"nesting_mode":"set","block":{"attributes":{"api_key":{"type":"string","description":"The OpsGenie API key to use.","description_kind":"markdown","required":true,"sensitive":true},"auto_close":{"type":"bool","description":"Whether to auto-close alerts in OpsGenie when they resolve in the Alertmanager.","description_kind":"markdown","optional":true},"description":{"type":"string","description":"A templated high-level description to use for the alert.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"override_priority":{"type":"bool","description":"Whether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.","description_kind":"markdown","optional":true},"send_tags_as":{"type":"string","description":"Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"Allows customization of the OpsGenie API URL.","description_kind":"markdown","optional":true}},"block_types":{"responders":{"nesting_mode":"list","block":{"attributes":{"id":{"type":"string","description":"ID of the responder. Must be specified if name and username are empty.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Name of the responder. Must be specified if username and id are empty.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.","description_kind":"markdown","required":true},"username":{"type":"string","description":"User name of the responder. Must be specified if name and id are empty.","description_kind":"markdown","optional":true}},"description":"Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.","description_kind":"markdown"}}},"description":"A contact point that sends notifications to OpsGenie.","description_kind":"markdown"}},"pagerduty":{"nesting_mode":"set","block":{"attributes":{"class":{"type":"string","description":"The class or type of event, for example `ping failure`.","description_kind":"markdown","optional":true},"client":{"type":"string","description":"The name of the monitoring client that is triggering this event.","description_kind":"markdown","optional":true},"client_url":{"type":"string","description":"The URL of the monitoring client that is triggering this event.","description_kind":"markdown","optional":true},"component":{"type":"string","description":"The component being affected by the event.","description_kind":"markdown","optional":true},"details":{"type":["map","string"],"description":"A set of arbitrary key/value pairs that provide further detail about the incident.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"group":{"type":"string","description":"The group to which the provided component belongs to.","description_kind":"markdown","optional":true},"integration_key":{"type":"string","description":"The PagerDuty API key.","description_kind":"markdown","required":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"severity":{"type":"string","description":"The PagerDuty event severity level. Default is `critical`.","description_kind":"markdown","optional":true},"source":{"type":"string","description":"The unique location of the affected system.","description_kind":"markdown","optional":true},"summary":{"type":"string","description":"The templated summary message of the event.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL to send API requests to","description_kind":"markdown","optional":true}},"description":"A contact point that sends notifications to PagerDuty.","description_kind":"markdown"}},"pushover":{"nesting_mode":"set","block":{"attributes":{"api_token":{"type":"string","description":"The Pushover API token.","description_kind":"markdown","required":true,"sensitive":true},"device":{"type":"string","description":"Comma-separated list of devices to which the event is associated.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"expire":{"type":"number","description":"How many seconds for which the notification will continue to be retried by Pushover.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated notification message content.","description_kind":"markdown","optional":true},"ok_priority":{"type":"number","description":"The priority level of the resolved event.","description_kind":"markdown","optional":true},"ok_sound":{"type":"string","description":"The sound associated with the resolved notification.","description_kind":"markdown","optional":true},"priority":{"type":"number","description":"The priority level of the event.","description_kind":"markdown","optional":true},"retry":{"type":"number","description":"How often, in seconds, the Pushover servers will send the same notification to the user.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"sound":{"type":"string","description":"The sound associated with the notification.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"upload_image":{"type":"bool","description":"Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.","description_kind":"markdown","optional":true},"user_key":{"type":"string","description":"The Pushover user key.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to Pushover.","description_kind":"markdown"}},"sensugo":{"nesting_mode":"set","block":{"attributes":{"api_key":{"type":"string","description":"The SensuGo API key.","description_kind":"markdown","required":true,"sensitive":true},"check":{"type":"string","description":"The SensuGo check to which the event should be routed.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"entity":{"type":"string","description":"The entity being monitored.","description_kind":"markdown","optional":true},"handler":{"type":"string","description":"A custom handler to execute in addition to the check.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Templated message content describing the alert.","description_kind":"markdown","optional":true},"namespace":{"type":"string","description":"The namespace in which the check resides.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The SensuGo URL to send requests to.","description_kind":"markdown","required":true}},"description":"A contact point that sends notifications to SensuGo.","description_kind":"markdown"}},"slack":{"nesting_mode":"set","block":{"attributes":{"color":{"type":"string","description":"Templated color of the slack message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"endpoint_url":{"type":"string","description":"Use this to override the Slack API endpoint URL to send requests to.","description_kind":"markdown","optional":true},"icon_emoji":{"type":"string","description":"The name of a Slack workspace emoji to use as the bot icon.","description_kind":"markdown","optional":true},"icon_url":{"type":"string","description":"A URL of an image to use as the bot icon.","description_kind":"markdown","optional":true},"mention_channel":{"type":"string","description":"Describes how to ping the slack channel that messages are being sent to. Options are `here` for an @here ping, `channel` for @channel, or empty for no ping.","description_kind":"markdown","optional":true},"mention_groups":{"type":"string","description":"Comma-separated list of groups to mention in the message.","description_kind":"markdown","optional":true},"mention_users":{"type":"string","description":"Comma-separated list of users to mention in the message.","description_kind":"markdown","optional":true},"recipient":{"type":"string","description":"Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"text":{"type":"string","description":"Templated content of the message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Templated title of the message.","description_kind":"markdown","optional":true},"token":{"type":"string","description":"A Slack API token,for sending messages directly without the webhook method.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"A Slack webhook URL,for sending messages via the webhook method.","description_kind":"markdown","optional":true,"sensitive":true},"username":{"type":"string","description":"Username for the bot to use.","description_kind":"markdown","optional":true}},"description":"A contact point that sends notifications to Slack.","description_kind":"markdown"}},"sns":{"nesting_mode":"set","block":{"attributes":{"access_key":{"type":"string","description":"AWS access key ID used to authenticate with Amazon SNS.","description_kind":"markdown","optional":true,"sensitive":true},"assume_role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.","description_kind":"markdown","optional":true},"auth_provider":{"type":"string","description":"The authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`.","description_kind":"markdown","optional":true},"body":{"type":"string","description_kind":"plain","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"external_id":{"type":"string","description":"The external ID to use when assuming the role.","description_kind":"markdown","optional":true},"message_format":{"type":"string","description":"The format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`.","description_kind":"markdown","optional":true},"secret_key":{"type":"string","description":"AWS secret access key used to authenticate with Amazon SNS.","description_kind":"markdown","optional":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"subject":{"type":"string","description_kind":"plain","optional":true},"topic":{"type":"string","description":"The Amazon SNS topic to send notifications to.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana.","description_kind":"markdown"}},"teams":{"nesting_mode":"set","block":{"attributes":{"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated message content to send.","description_kind":"markdown","optional":true},"section_title":{"type":"string","description":"The templated subtitle for each message section.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"A Teams webhook URL.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to Microsoft Teams.","description_kind":"markdown"}},"telegram":{"nesting_mode":"set","block":{"attributes":{"chat_id":{"type":"string","description":"The chat ID to send messages to.","description_kind":"markdown","required":true},"disable_notifications":{"type":"bool","description":"When set users will receive a notification with no sound.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"disable_web_page_preview":{"type":"bool","description":"When set it disables link previews for links in the message.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message.","description_kind":"markdown","optional":true},"message_thread_id":{"type":"string","description":"The ID of the message thread to send the message to.","description_kind":"markdown","optional":true},"parse_mode":{"type":"string","description":"Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.","description_kind":"markdown","optional":true},"protect_content":{"type":"bool","description":"When set it protects the contents of the message from forwarding and saving.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"token":{"type":"string","description":"The Telegram bot token.","description_kind":"markdown","required":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Telegram.","description_kind":"markdown"}},"threema":{"nesting_mode":"set","block":{"attributes":{"api_secret":{"type":"string","description":"The Threema API key.","description_kind":"markdown","required":true,"sensitive":true},"description":{"type":"string","description":"The templated description of the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"gateway_id":{"type":"string","description":"The Threema gateway ID.","description_kind":"markdown","required":true},"recipient_id":{"type":"string","description":"The ID of the recipient of the message.","description_kind":"markdown","required":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Threema.","description_kind":"markdown"}},"victorops":{"nesting_mode":"set","block":{"attributes":{"description":{"type":"string","description":"Templated description of the message.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message_type":{"type":"string","description":"The VictorOps alert state - typically either `CRITICAL` or `RECOVERY`.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"Templated title to display.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The VictorOps webhook URL.","description_kind":"markdown","required":true,"sensitive":true}},"description":"A contact point that sends notifications to VictorOps (now known as Splunk OnCall).","description_kind":"markdown"}},"webex":{"nesting_mode":"set","block":{"attributes":{"api_url":{"type":"string","description":"The URL to send webhook requests to.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated title of the message to send.","description_kind":"markdown","optional":true},"room_id":{"type":"string","description":"ID of the Webex Teams room where to send the messages.","description_kind":"markdown","required":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"token":{"type":"string","description":"The bearer token used to authorize the client.","description_kind":"markdown","required":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true}},"description":"A contact point that sends notifications to Cisco Webex.","description_kind":"markdown"}},"webhook":{"nesting_mode":"set","block":{"attributes":{"authorization_credentials":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true,"sensitive":true},"authorization_scheme":{"type":"string","description":"Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.","description_kind":"markdown","optional":true},"basic_auth_password":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true,"sensitive":true},"basic_auth_user":{"type":"string","description":"The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"headers":{"type":["map","string"],"description":"Custom headers to attach to the request.","description_kind":"markdown","optional":true},"http_method":{"type":"string","description":"The HTTP method to use in the request. Defaults to `POST`.","description_kind":"markdown","optional":true},"max_alerts":{"type":"number","description":"The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Custom message. You can use template variables.","description_kind":"markdown","optional":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"Templated title of the message.","description_kind":"markdown","optional":true},"tls_config":{"type":["map","string"],"description":"Allows configuring TLS for the webhook notifier.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The URL to send webhook requests to.","description_kind":"markdown","required":true}},"block_types":{"hmac_config":{"nesting_mode":"set","block":{"attributes":{"header":{"type":"string","description":"The header in which the HMAC signature will be included. Defaults to `X-Grafana-Alerting-Signature`.","description_kind":"markdown","optional":true},"secret":{"type":"string","description":"The secret key used to generate the HMAC signature.","description_kind":"markdown","required":true,"sensitive":true},"timestamp_header":{"type":"string","description":"If set, the timestamp will be included in the HMAC signature. The value should be the name of the header to use.","description_kind":"markdown","optional":true}},"description":"HMAC signature configuration options.","description_kind":"markdown"},"max_items":1},"http_config":{"nesting_mode":"set","block":{"block_types":{"oauth2":{"nesting_mode":"set","block":{"attributes":{"client_id":{"type":"string","description":"Client ID to use when authenticating.","description_kind":"markdown","required":true},"client_secret":{"type":"string","description":"Client secret to use when authenticating.","description_kind":"markdown","required":true,"sensitive":true},"endpoint_params":{"type":["map","string"],"description":"Optional parameters to append to the access token request.","description_kind":"markdown","optional":true},"scopes":{"type":["list","string"],"description":"Optional scopes to request when obtaining an access token.","description_kind":"markdown","optional":true},"token_url":{"type":"string","description":"URL for the access token endpoint.","description_kind":"markdown","required":true}},"block_types":{"proxy_config":{"nesting_mode":"set","block":{"attributes":{"no_proxy":{"type":"string","description":"Comma-separated list of addresses that should not use a proxy.","description_kind":"markdown","optional":true},"proxy_connect_header":{"type":["map","string"],"description":"Optional headers to send to proxies during CONNECT requests.","description_kind":"markdown","optional":true},"proxy_from_environment":{"type":"bool","description":"Use environment HTTP_PROXY, HTTPS_PROXY and NO_PROXY to determine proxies. Defaults to `false`.","description_kind":"markdown","optional":true},"proxy_url":{"type":"string","description":"HTTP proxy server to use to connect to the targets.","description_kind":"markdown","optional":true}},"description":"Optional proxy configuration for OAuth2 requests.","description_kind":"markdown"},"max_items":1},"tls_config":{"nesting_mode":"set","block":{"attributes":{"ca_certificate":{"type":"string","description":"Certificate in PEM format to use when verifying the server's certificate chain.","description_kind":"markdown","optional":true,"sensitive":true},"client_certificate":{"type":"string","description":"Client certificate in PEM format to use when connecting to the server.","description_kind":"markdown","optional":true,"sensitive":true},"client_key":{"type":"string","description":"Client key in PEM format to use when connecting to the server.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Do not verify the server's certificate chain and host name. Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"Optional TLS configuration options for OAuth2 requests.","description_kind":"markdown"},"max_items":1}},"description":"OAuth2 configuration options.","description_kind":"markdown"},"max_items":1}},"description":"Common HTTP client options.","description_kind":"markdown"},"max_items":1},"payload":{"nesting_mode":"set","block":{"attributes":{"template":{"type":"string","description":"Custom payload template.","description_kind":"markdown","required":true},"vars":{"type":["map","string"],"description":"Optionally provide a variables to be used in the payload template. They will be available in the template as `.Vars.\u003cvariable_name\u003e`.","description_kind":"markdown","optional":true}},"description":"Optionally provide a templated payload. Overrides 'Message' and 'Title' field.","description_kind":"markdown"},"max_items":1}},"description":"A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config","description_kind":"markdown"}},"wecom":{"nesting_mode":"set","block":{"attributes":{"agent_id":{"type":"string","description":"Agent ID added to the request payload when using APIAPP.","description_kind":"markdown","optional":true},"corp_id":{"type":"string","description":"Corp ID used to get token when using APIAPP.","description_kind":"markdown","optional":true},"disable_resolve_message":{"type":"bool","description":"Whether to disable sending resolve messages. Defaults to `false`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"The templated content of the message to send.","description_kind":"markdown","optional":true},"msg_type":{"type":"string","description":"The type of them message. Supported: markdown, text. Default: text.","description_kind":"markdown","optional":true},"secret":{"type":"string","description":"The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.","description_kind":"markdown","optional":true,"sensitive":true},"settings":{"type":["map","string"],"description":"Additional custom properties to attach to the notifier. Defaults to `map[]`.","description_kind":"markdown","optional":true,"sensitive":true},"title":{"type":"string","description":"The templated title of the message to send.","description_kind":"markdown","optional":true},"to_user":{"type":"string","description":"The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The UID of the contact point.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The WeCom webhook URL. Required if using GroupRobot.","description_kind":"markdown","optional":true,"sensitive":true}},"description":"A contact point that sends notifications to WeCom.","description_kind":"markdown"}}},"description":"\nManages Grafana Alerting contact points.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#contact-points)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_dashboard":{"version":1,"block":{"attributes":{"config_json":{"type":"string","description":"The complete dashboard model JSON.","description_kind":"markdown","required":true},"dashboard_id":{"type":"number","description":"The numeric ID of the dashboard computed by Grafana.","description_kind":"markdown","computed":true},"folder":{"type":"string","description":"The id or UID of the folder to save the dashboard in.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"message":{"type":"string","description":"Set a commit message for the version history.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"overwrite":{"type":"bool","description":"Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The unique identifier of a dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a dashboard. The uid allows having consistent URLs for accessing dashboards and when syncing dashboards between multiple Grafana installs.","description_kind":"markdown","computed":true},"url":{"type":"string","description":"The full URL of the dashboard.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Whenever you save a version of your dashboard, a copy of that version is saved so that previous versions of your dashboard are not lost.","description_kind":"markdown","computed":true}},"description":"\nManages Grafana dashboards.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)\n","description_kind":"markdown"}},"grafana_dashboard_permission":{"version":0,"block":{"attributes":{"dashboard_uid":{"type":"string","description":"UID of the dashboard to apply permissions to.","description_kind":"markdown","optional":true,"computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"permission":{"type":"string","description":"Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.","description_kind":"markdown","required":true},"role":{"type":"string","description":"Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a dashboard. Permissions that aren't specified when applying this resource will be removed.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_permissions/)\n","description_kind":"markdown"}},"grafana_dashboard_permission_item":{"version":0,"block":{"attributes":{"dashboard_uid":{"type":"string","description":"The UID of the dashboard.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"role":{"type":"string","description":"the role onto which the permission is to be assigned","description_kind":"plain","optional":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a dashboard. Conflicts with the \"grafana_dashboard_permission\" resource which manages the entire set of permissions for a dashboard.","description_kind":"markdown"}},"grafana_dashboard_public":{"version":0,"block":{"attributes":{"access_token":{"type":"string","description":"A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard.","description_kind":"markdown","optional":true,"computed":true},"annotations_enabled":{"type":"bool","description":"Set to `true` to show annotations. The default value is `false`.","description_kind":"markdown","optional":true},"dashboard_uid":{"type":"string","description":"The unique identifier of the original dashboard.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_enabled":{"type":"bool","description":"Set to `true` to enable the public dashboard. The default value is `false`.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"share":{"type":"string","description":"Set the share mode. The default value is `public`.","description_kind":"markdown","optional":true},"time_selection_enabled":{"type":"bool","description":"Set to `true` to enable the time picker in the public dashboard. The default value is `false`.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard.","description_kind":"markdown","optional":true,"computed":true}},"description":"\nManages Grafana public dashboards.\n\n**Note:** This resource is available only with Grafana 10.2+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/share-dashboards-panels/shared-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/next/developers/http_api/dashboard_public/)\n","description_kind":"markdown"}},"grafana_data_source":{"version":1,"block":{"attributes":{"access_mode":{"type":"string","description":"The method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`.","description_kind":"markdown","optional":true},"basic_auth_enabled":{"type":"bool","description":"Whether to enable basic auth for the data source. Defaults to `false`.","description_kind":"markdown","optional":true},"basic_auth_username":{"type":"string","description":"Basic auth username. Defaults to ``.","description_kind":"markdown","optional":true},"database_name":{"type":"string","description":"(Required by some data source types) The name of the database to use on the selected data source server. Defaults to ``.","description_kind":"markdown","optional":true},"http_headers":{"type":["map","string"],"description":"Custom HTTP headers","description_kind":"markdown","optional":true,"sensitive":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_default":{"type":"bool","description":"Whether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`.","description_kind":"markdown","optional":true},"json_data_encoded":{"type":"string","description":"Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"A unique name for the data source.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"private_data_source_connect_network_id":{"type":"string","description":"(Can only be used with data sources in Grafana Cloud) The ID of the Private Data source Connect network to use with this data source. Defaults to ``.","description_kind":"markdown","optional":true},"secure_json_data_encoded":{"type":"string","description":"Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true,"sensitive":true},"type":{"type":"string","description":"The data source type. Must be one of the supported data source keywords.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"Unique identifier. If unset, this will be automatically generated.","description_kind":"markdown","optional":true,"computed":true},"url":{"type":"string","description":"The URL for the data source. The type of URL required varies depending on the chosen data source type.","description_kind":"markdown","optional":true},"username":{"type":"string","description":"(Required by some data source types) The username to use to authenticate to the data source. Defaults to ``.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/datasources/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/data_source/)\n\nThe required arguments for this resource vary depending on the type of data\nsource selected (via the 'type' argument).\n","description_kind":"markdown"}},"grafana_data_source_config":{"version":0,"block":{"attributes":{"http_headers":{"type":["map","string"],"description":"Custom HTTP headers","description_kind":"markdown","optional":true,"sensitive":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"json_data_encoded":{"type":"string","description":"Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"secure_json_data_encoded":{"type":"string","description":"Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","optional":true,"sensitive":true},"uid":{"type":"string","description":"Unique identifier. If unset, this will be automatically generated.","description_kind":"markdown","optional":true,"computed":true}},"description":"* [Official documentation](https://grafana.com/docs/grafana/latest/datasources/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/data_source/)\n\nThe required arguments for this resource vary depending on the type of data\nsource selected (via the 'type' argument).\n\nUse this resource for configuring multiple datasources, when that configuration (`json_data_encoded` field) requires circular references like in the example below.\n\n\u003e When using the `grafana_data_source_config` resource, the corresponding `grafana_data_source` resources must have the `json_data_encoded` and `http_headers` fields ignored. Otherwise, an infinite update loop will occur. See the example below.\n","description_kind":"markdown"}},"grafana_data_source_config_lbac_rules":{"version":0,"block":{"attributes":{"datasource_uid":{"type":"string","description":"The UID of the datasource.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"rules":{"type":"string","description":"JSON-encoded LBAC rules for the data source. Map of team UIDs to lists of rule strings.","description_kind":"plain","required":true}},"description":"\nManages LBAC rules for a data source.\n\n!\u003e Warning: The resource is experimental and will be subject to change. This resource manages the entire LBAC rules tree, and will overwrite any existing rules.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/data-source-management/teamlbac/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/datasource_lbac_rules/)\n\nThis resource requires Grafana \u003e=11.5.0.\n","description_kind":"markdown"}},"grafana_data_source_permission":{"version":0,"block":{"attributes":{"datasource_uid":{"type":"string","description":"UID of the datasource to apply permissions to.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"built_in_role":{"type":"string","description":"Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.","description_kind":"markdown","optional":true},"permission":{"type":"string","description":"Permission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+).","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a datasource. Permissions that aren't specified when applying this resource will be removed.\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/datasource_permissions/)\n","description_kind":"markdown"}},"grafana_data_source_permission_item":{"version":0,"block":{"attributes":{"datasource_uid":{"type":"string","description":"The UID of the datasource.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"role":{"type":"string","description":"the role onto which the permission is to be assigned","description_kind":"plain","optional":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a datasource. Conflicts with the \"grafana_data_source_permission\" resource which manages the entire set of permissions for a datasource.","description_kind":"markdown"}},"grafana_fleet_management_collector":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Whether remote configuration for the collector is enabled or not. If the collector is disabled, it will receive empty configurations from the Fleet Management service","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"ID of the collector","description_kind":"plain","required":true},"remote_attributes":{"type":["map","string"],"description":"Remote attributes for the collector","description_kind":"plain","optional":true,"computed":true}},"description":"\nManages Grafana Fleet Management collectors.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/collector-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n* fleet-management:write\n","description_kind":"plain"}},"grafana_fleet_management_pipeline":{"version":0,"block":{"attributes":{"contents":{"type":"string","description":"Configuration contents of the pipeline to be used by collectors","description_kind":"plain","required":true},"enabled":{"type":"bool","description":"Whether the pipeline is enabled for collectors","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"Server-assigned ID of the pipeline","description_kind":"plain","computed":true},"matchers":{"type":["list","string"],"description":"Used to match against collectors and assign pipelines to them; follows the syntax of Prometheus Alertmanager matchers","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the pipeline which is the unique identifier for the pipeline","description_kind":"plain","required":true}},"description":"\nManages Grafana Fleet Management pipelines.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/pipeline-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n* fleet-management:write\n","description_kind":"plain"}},"grafana_folder":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"parent_folder_uid":{"type":"string","description":"The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.","description_kind":"markdown","optional":true},"prevent_destroy_if_not_empty":{"type":"bool","description":"Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"The title of the folder.","description_kind":"markdown","required":true},"uid":{"type":"string","description":"Unique identifier.","description_kind":"markdown","optional":true,"computed":true},"url":{"type":"string","description":"The full URL of the folder.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)\n","description_kind":"markdown"}},"grafana_folder_permission":{"version":0,"block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"permission":{"type":"string","description":"Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.","description_kind":"markdown","required":true},"role":{"type":"string","description":"Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)\n","description_kind":"markdown"}},"grafana_folder_permission_item":{"version":0,"block":{"attributes":{"folder_uid":{"type":"string","description":"The UID of the folder.","description_kind":"plain","required":true},"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"role":{"type":"string","description":"the role onto which the permission is to be assigned","description_kind":"plain","optional":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a folder. Conflicts with the \"grafana_folder_permission\" resource which manages the entire set of permissions for a folder.\n\t\t* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n\t\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)","description_kind":"markdown"}},"grafana_frontend_o11y_app":{"version":0,"block":{"attributes":{"allowed_origins":{"type":["list","string"],"description":"A list of allowed origins for CORS.","description_kind":"plain","required":true},"collector_endpoint":{"type":"string","description":"The collector URL Grafana Cloud Frontend Observability. Use this endpoint to send your Telemetry.","description_kind":"plain","computed":true},"extra_log_attributes":{"type":["map","string"],"description":"The extra attributes to append in each signal.","description_kind":"plain","required":true},"id":{"type":"number","description":"The Terraform Resource ID. This is auto-generated from Frontend Observability API.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of Frontend Observability App. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"settings":{"type":["map","string"],"description":"The key-value settings of the Frontend Observability app. Available Settings: `{combineLabData=(0|1),geolocation.level=(0|1),geolocation.level=0-4,geolocation.country_denylist=\u003ccomma-separated-list-of-country-codes\u003e}`","description_kind":"markdown","required":true},"stack_id":{"type":"number","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_k6_installation":{"version":0,"block":{"attributes":{"cloud_access_policy_token":{"type":"string","description":"The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/).","description_kind":"markdown","required":true,"sensitive":true},"grafana_sa_token":{"type":"string","description":"The [service account](https://grafana.com/docs/grafana/latest/administration/service-accounts/) token.","description_kind":"markdown","required":true,"sensitive":true},"grafana_user":{"type":"string","description":"The user to use for the installation.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"k6_access_token":{"type":"string","description":"Generated token to access the k6 API.","description_kind":"markdown","computed":true,"sensitive":true},"k6_organization":{"type":"string","description":"The identifier of the k6 organization.","description_kind":"markdown","computed":true},"stack_id":{"type":"string","description":"The identifier of the stack to install k6 on.","description_kind":"markdown","required":true}},"description":"\nSets up the k6 App on a Grafana Cloud instance and generates a token. \nOnce a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install k6.\nThis resource cannot be imported but it can be used on an existing k6 App installation without issues.\n\n**Note that this resource must be used on a provider configured with Grafana Cloud credentials.**\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/k6/)\n\nRequired access policy scopes:\n\n* stacks:read\n* stacks:write\n* subscriptions:read\n* orgs:read\n","description_kind":"markdown"}},"grafana_k6_load_test":{"version":1,"block":{"attributes":{"baseline_test_run_id":{"type":"string","description":"Identifier of a baseline test run used for results comparison.","description_kind":"plain","optional":true},"created":{"type":"string","description":"The date when the load test was created.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the load test.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the load test.","description_kind":"plain","required":true},"project_id":{"type":"string","description":"The identifier of the project this load test belongs to.","description_kind":"plain","required":true},"script":{"type":"string","description":"The k6 test script content. Can be provided inline or via the `file()` function.","description_kind":"plain","required":true},"updated":{"type":"string","description":"The date when the load test was last updated.","description_kind":"plain","computed":true}},"description":"Manages a k6 load test.","description_kind":"plain"}},"grafana_k6_project":{"version":1,"block":{"attributes":{"created":{"type":"string","description":"The date when the project was created.","description_kind":"plain","computed":true},"grafana_folder_uid":{"type":"string","description":"The Grafana folder uid.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the project.","description_kind":"plain","computed":true},"is_default":{"type":"bool","description":"Use this project as default for running tests when no explicit project identifier is provided.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the project.","description_kind":"plain","required":true},"updated":{"type":"string","description":"The date when the project was last updated.","description_kind":"plain","computed":true}},"description":"Manages a k6 project.","description_kind":"plain"}},"grafana_k6_project_allowed_load_zones":{"version":0,"block":{"attributes":{"allowed_load_zones":{"type":["list","string"],"description":"List of allowed private k6 load zone IDs for this project.","description_kind":"plain","required":true},"id":{"type":"string","description":"The identifier of the project. This is set to the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to manage private allowed load zones for.","description_kind":"plain","required":true}},"description":"Manages allowed private load zones for a k6 project.","description_kind":"plain"}},"grafana_k6_project_limits":{"version":1,"block":{"attributes":{"duration_max_per_test":{"type":"number","description":"Maximum duration of a test in seconds.","description_kind":"plain","optional":true},"id":{"type":"string","description":"The identifier of the project limits. This is the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to manage limits for.","description_kind":"plain","required":true},"vu_browser_max_per_test":{"type":"number","description":"Maximum number of concurrent browser virtual users (VUs) used in one test.","description_kind":"plain","optional":true},"vu_max_per_test":{"type":"number","description":"Maximum number of concurrent virtual users (VUs) used in one test.","description_kind":"plain","optional":true},"vuh_max_per_month":{"type":"number","description":"Maximum amount of virtual user hours (VU/h) used per one calendar month.","description_kind":"plain","optional":true}},"description":"Manages limits for a k6 project.","description_kind":"plain"}},"grafana_k6_schedule":{"version":0,"block":{"attributes":{"created_by":{"type":"string","description":"The email of the user who created the schedule.","description_kind":"plain","computed":true},"deactivated":{"type":"bool","description":"Whether the schedule is deactivated.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the schedule.","description_kind":"plain","computed":true},"load_test_id":{"type":"string","description":"The identifier of the load test to schedule.","description_kind":"plain","required":true},"next_run":{"type":"string","description":"The next scheduled execution time.","description_kind":"plain","computed":true},"starts":{"type":"string","description":"The start time for the schedule (RFC3339 format).","description_kind":"plain","required":true}},"block_types":{"recurrence_rule":{"nesting_mode":"single","block":{"attributes":{"byday":{"type":["list","string"],"description":"The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.","description_kind":"plain","optional":true},"count":{"type":"number","description":"How many times the recurrence will repeat.","description_kind":"plain","optional":true},"frequency":{"type":"string","description":"The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY, YEARLY).","description_kind":"plain","optional":true},"interval":{"type":"number","description":"The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY). Defaults to 1.","description_kind":"plain","optional":true,"computed":true},"until":{"type":"string","description":"The end time for the recurrence (RFC3339 format).","description_kind":"plain","optional":true}},"description":"The schedule recurrence settings. If not specified, the test will run only once on the 'starts' date.","description_kind":"plain"}}},"description":"Manages a k6 schedule for automated test execution.","description_kind":"plain"}},"grafana_library_panel":{"version":0,"block":{"attributes":{"created":{"type":"string","description":"Timestamp when the library panel was created.","description_kind":"markdown","computed":true},"dashboard_ids":{"type":["list","number"],"description":"Numerical IDs of Grafana dashboards containing the library panel.","description_kind":"markdown","computed":true},"description":{"type":"string","description":"Description of the library panel.","description_kind":"markdown","computed":true},"folder_name":{"type":"string","description":"Name of the folder containing the library panel.","description_kind":"markdown","computed":true},"folder_uid":{"type":"string","description":"Unique ID (UID) of the folder containing the library panel.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"model_json":{"type":"string","description":"The JSON model for the library panel.","description_kind":"markdown","required":true},"name":{"type":"string","description":"Name of the library panel.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"panel_id":{"type":"number","description":"The numeric ID of the library panel computed by Grafana.","description_kind":"markdown","computed":true},"type":{"type":"string","description":"Type of the library panel (eg. text).","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs.","description_kind":"markdown","optional":true,"computed":true},"updated":{"type":"string","description":"Timestamp when the library panel was last modified.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Version of the library panel.","description_kind":"markdown","computed":true}},"description":"\nManages Grafana library panels.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/manage-library-panels/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/library_element/)\n","description_kind":"markdown"}},"grafana_machine_learning_alert":{"version":0,"block":{"attributes":{"annotations":{"type":["map","string"],"description":"Annotations to add to the alert generated in Grafana.","description_kind":"plain","optional":true},"anomaly_condition":{"type":"string","description":"The condition for when to consider a point as anomalous.","description_kind":"plain","optional":true},"for":{"type":"string","description":"How long values must be anomalous before firing an alert.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"The ID of the alert.","description_kind":"plain","computed":true},"job_id":{"type":"string","description":"The forecast this alert belongs to.","description_kind":"plain","optional":true},"labels":{"type":["map","string"],"description":"Labels to add to the alert generated in Grafana.","description_kind":"plain","optional":true},"no_data_state":{"type":"string","description":"How the alert should be processed when no data is returned by the underlying series","description_kind":"plain","optional":true},"outlier_id":{"type":"string","description":"The forecast this alert belongs to.","description_kind":"plain","optional":true},"threshold":{"type":"string","description":"The threshold of points over the window that need to be anomalous to alert.","description_kind":"plain","optional":true},"title":{"type":"string","description":"The title of the alert.","description_kind":"plain","required":true},"window":{"type":"string","description":"How much time to average values over","description_kind":"plain","optional":true,"computed":true}},"description_kind":"plain"}},"grafana_machine_learning_holiday":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"A description of the holiday.","description_kind":"markdown","optional":true},"ical_timezone":{"type":"string","description":"The timezone to use for events in the iCal file pointed to by ical_url.","description_kind":"markdown","optional":true},"ical_url":{"type":"string","description":"A URL to an iCal file containing all occurrences of the holiday.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the holiday.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the holiday.","description_kind":"markdown","required":true}},"block_types":{"custom_periods":{"nesting_mode":"list","block":{"attributes":{"end_time":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description":"The name of the custom period.","description_kind":"markdown","optional":true},"start_time":{"type":"string","description_kind":"plain","required":true}},"description":"A list of custom periods for the holiday.","description_kind":"markdown"}}},"description":"\nA holiday describes time periods where a time series is expected to behave differently to normal.\n\nTo use a holiday in a job, use its id in the `holidays` attribute of a `grafana_machine_learning_job`:\n\n```terraform\nresource \"grafana_machine_learning_job\" \"test_job\" {\n  ...\n  holidays = [\n    grafana_machine_learning_holiday.my_holiday.id\n  ]\n}\n```","description_kind":"markdown"}},"grafana_machine_learning_job":{"version":0,"block":{"attributes":{"custom_labels":{"type":["map","string"],"description":"An object representing the custom labels added on the forecast.","description_kind":"markdown","optional":true},"datasource_type":{"type":"string","description":"The type of datasource being queried. Currently allowed values are prometheus, grafana-prometheus-datasource, grafana-amazonprometheus-datasource, loki, grafana-loki-datasource, graphite, grafana-graphite-datasource, grafana-datadog-datasource, postgres, grafana-postgresql-datasource, doitintl-bigquery-datasource, grafana-bigquery-datasource, grafana-snowflake-datasource, influxdb, grafana-influxdb-datasource, grafana-splunk-datasource, elasticsearch, grafana-elasticsearch-datasource, and grafana-mongodb-datasource.","description_kind":"markdown","required":true},"datasource_uid":{"type":"string","description":"The uid of the datasource to query.","description_kind":"markdown","required":true},"description":{"type":"string","description":"A description of the job.","description_kind":"markdown","optional":true},"holidays":{"type":["list","string"],"description":"A list of holiday IDs or names to take into account when training the model.","description_kind":"markdown","optional":true},"hyper_params":{"type":["map","string"],"description":"The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the job.","description_kind":"markdown","computed":true},"interval":{"type":"number","description":"The data interval in seconds to train the data on. Defaults to `300`.","description_kind":"markdown","optional":true},"metric":{"type":"string","description":"The metric used to query the job results.","description_kind":"markdown","required":true},"name":{"type":"string","description":"The name of the job.","description_kind":"markdown","required":true},"query_params":{"type":["map","string"],"description":"An object representing the query params to query Grafana with.","description_kind":"markdown","required":true},"training_window":{"type":"number","description":"The data interval in seconds to train the data on. Defaults to `7776000`.","description_kind":"markdown","optional":true}},"description":"\nA job defines the queries and model parameters for a machine learning task.\n\nSee [the Grafana Cloud docs](https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/dynamic-alerting/forecasting/config/) for more information\non available hyperparameters for use in the `hyper_params` field.","description_kind":"markdown"}},"grafana_machine_learning_outlier_detector":{"version":0,"block":{"attributes":{"datasource_type":{"type":"string","description":"The type of datasource being queried. Currently allowed values are prometheus, grafana-prometheus-datasource, grafana-amazonprometheus-datasource, loki, grafana-loki-datasource, graphite, grafana-graphite-datasource, grafana-datadog-datasource, postgres, grafana-postgresql-datasource, doitintl-bigquery-datasource, grafana-bigquery-datasource, grafana-snowflake-datasource, influxdb, grafana-influxdb-datasource, grafana-splunk-datasource, elasticsearch, grafana-elasticsearch-datasource, and grafana-mongodb-datasource.","description_kind":"markdown","required":true},"datasource_uid":{"type":"string","description":"The uid of the datasource to query.","description_kind":"markdown","required":true},"description":{"type":"string","description":"A description of the outlier detector.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the outlier detector.","description_kind":"markdown","computed":true},"interval":{"type":"number","description":"The data interval in seconds to monitor. Defaults to `300`.","description_kind":"markdown","optional":true},"metric":{"type":"string","description":"The metric used to query the outlier detector results.","description_kind":"markdown","required":true},"name":{"type":"string","description":"The name of the outlier detector.","description_kind":"markdown","required":true},"query_params":{"type":["map","string"],"description":"An object representing the query params to query Grafana with.","description_kind":"markdown","required":true}},"block_types":{"algorithm":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"The name of the algorithm to use ('mad' or 'dbscan').","description_kind":"markdown","required":true},"sensitivity":{"type":"number","description":"Specify the sensitivity of the detector (in range [0,1]).","description_kind":"markdown","required":true}},"block_types":{"config":{"nesting_mode":"set","block":{"attributes":{"epsilon":{"type":"number","description":"Specify the epsilon parameter (positive float)","description_kind":"markdown","required":true}},"description":"For DBSCAN only, specify the configuration map","description_kind":"markdown"},"max_items":1}},"description":"The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"\nAn outlier detector monitors the results of a query and reports when its values are outside normal bands.\n\nThe normal band is configured by choice of algorithm, its sensitivity and other configuration.\n\nVisit https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for more details.\n","description_kind":"markdown"}},"grafana_message_template":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the message template from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the notification template group.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"template":{"type":"string","description":"The content of the notification template group.","description_kind":"markdown","required":true}},"description":"\nManages Grafana Alerting notification template groups, including notification templates.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#notification-template-groups)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_mute_timing":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the mute timing from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the mute timing.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"intervals":{"nesting_mode":"list","block":{"attributes":{"days_of_month":{"type":["list","string"],"description":"An inclusive range of days, 1-31, within a month, e.g. \"1\" or \"14:16\". Negative values can be used to represent days counting from the end of a month, e.g. \"-1\".","description_kind":"markdown","optional":true},"location":{"type":"string","description":"Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g \"America/New_York\"","description_kind":"markdown","optional":true},"months":{"type":["list","string"],"description":"An inclusive range of months, either numerical or full calendar month, e.g. \"1:3\", \"december\", or \"may:august\".","description_kind":"markdown","optional":true},"weekdays":{"type":["list","string"],"description":"An inclusive range of weekdays, e.g. \"monday\" or \"tuesday:thursday\".","description_kind":"markdown","optional":true},"years":{"type":["list","string"],"description":"A positive inclusive range of years, e.g. \"2030\" or \"2025:2026\".","description_kind":"markdown","optional":true}},"block_types":{"times":{"nesting_mode":"list","block":{"attributes":{"end":{"type":"string","description":"The time, in hh:mm format, of when the interval should end exclusively.","description_kind":"markdown","required":true},"start":{"type":"string","description":"The time, in hh:mm format, of when the interval should begin inclusively.","description_kind":"markdown","required":true}},"description":"The time ranges, represented in minutes, during which to mute in a given day.","description_kind":"markdown"}}},"description":"The time intervals at which to mute notifications. Use an empty block to mute all the time.","description_kind":"markdown"}}},"description":"\nManages Grafana Alerting mute timings.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#mute-timings)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_notification_policy":{"version":0,"block":{"attributes":{"contact_point":{"type":"string","description":"The default contact point to route all unmatched notifications to.","description_kind":"markdown","required":true},"disable_provenance":{"type":"bool","description":"Allow modifying the notification policy from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping.","description_kind":"markdown","required":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}},"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}},"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}},"policy":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","optional":true},"continue":{"type":"bool","description":"Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.","description_kind":"markdown","optional":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.","description_kind":"markdown","required":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of time intervals to apply to alerts that match this policy to mute them for the specified time.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"block_types":{"matcher":{"nesting_mode":"set","block":{"attributes":{"label":{"type":"string","description":"The name of the label to match against.","description_kind":"markdown","required":true},"match":{"type":"string","description":"The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.","description_kind":"markdown","required":true},"value":{"type":"string","description":"The label value to match against.","description_kind":"markdown","required":true}},"description":"Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"Routing rules for specific label sets.","description_kind":"markdown"}}},"description":"\nSets the global notification policy for Grafana.\n\n!\u003e This resource manages the entire notification policy tree and overwrites its policies. However, it does not overwrite internal policies created when alert rules directly set a contact point for notifications.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#notification-policies)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_oncall_escalation":{"version":0,"block":{"attributes":{"action_to_trigger":{"type":"string","description":"The ID of an Action for trigger_webhook type step.","description_kind":"markdown","optional":true},"duration":{"type":"number","description":"The duration of delay for wait type step. (60-86400) seconds","description_kind":"markdown","optional":true},"escalation_chain_id":{"type":"string","description":"The ID of the escalation chain.","description_kind":"markdown","required":true},"group_to_notify":{"type":"string","description":"The ID of a User Group for notify_user_group type step.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"important":{"type":"bool","description":"Will activate \"important\" personal notification rules. Actual for steps: notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, notify_user_group and notify_team_members","description_kind":"markdown","optional":true},"notify_if_time_from":{"type":"string","description":"The beginning of the time interval for notify_if_time_from_to type step in UTC (for example 08:00:00Z).","description_kind":"markdown","optional":true},"notify_if_time_to":{"type":"string","description":"The end of the time interval for notify_if_time_from_to type step in UTC (for example 18:00:00Z).","description_kind":"markdown","optional":true},"notify_on_call_from_schedule":{"type":"string","description":"ID of a Schedule for notify_on_call_from_schedule type step.","description_kind":"markdown","optional":true},"notify_to_team_members":{"type":"string","description":"The ID of a Team for a notify_team_members type step.","description_kind":"markdown","optional":true},"persons_to_notify":{"type":["set","string"],"description":"The list of ID's of users for notify_persons type step.","description_kind":"markdown","optional":true},"persons_to_notify_next_each_time":{"type":["set","string"],"description":"The list of ID's of users for notify_person_next_each_time type step.","description_kind":"markdown","optional":true},"position":{"type":"number","description":"The position of the escalation step (starts from 0).","description_kind":"markdown","required":true},"severity":{"type":"string","description":"The severity of the incident for declare_incident type step.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members, declare_incident","description_kind":"markdown","required":true}},"description":"\n* [Official documentation](https://grafana.com/docs/oncall/latest/configure/escalation-chains-and-routes/)\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/)\n","description_kind":"markdown"}},"grafana_oncall_escalation_chain":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the escalation chain.","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)\n","description_kind":"markdown"}},"grafana_oncall_integration":{"version":0,"block":{"attributes":{"dynamic_labels":{"type":["list",["map","string"]],"description":"A list of string-to-string mappings for dynamic labels. Each map must include one key named \"key\" and one key named \"value\" (using the `grafana_oncall_label` datasource).","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"labels":{"type":["list",["map","string"]],"description":"A list of string-to-string mappings for static labels. Each map must include one key named \"key\" and one key named \"value\" (using the `grafana_oncall_label` datasource).","description_kind":"markdown","optional":true},"link":{"type":"string","description":"The link for using in an integrated tool.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the service integration.","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of integration. Can be grafana, grafana_alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira, zendesk.","description_kind":"markdown","required":true}},"block_types":{"default_route":{"nesting_mode":"list","block":{"attributes":{"escalation_chain_id":{"type":"string","description":"The ID of the escalation chain.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","computed":true}},"block_types":{"msteams":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in MS teams. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"MS teams channel id. Alerts will be directed to this channel in Microsoft teams.","description_kind":"markdown","optional":true}},"description":"MS teams-specific settings for a route.","description_kind":"markdown"},"max_items":1},"slack":{"nesting_mode":"list","block":{"attributes":{"channel_id":{"type":"string","description":"Slack channel id. Alerts will be directed to this channel in Slack.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Enable notification in Slack. Defaults to `true`.","description_kind":"markdown","optional":true}},"description":"Slack-specific settings for a route.","description_kind":"markdown"},"max_items":1},"telegram":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in Telegram. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"Telegram channel id. Alerts will be directed to this channel in Telegram.","description_kind":"markdown","optional":true}},"description":"Telegram-specific settings for a route.","description_kind":"markdown"},"max_items":1}},"description":"The Default route for all alerts from the given integration","description_kind":"markdown"},"min_items":1,"max_items":1},"templates":{"nesting_mode":"list","block":{"attributes":{"acknowledge_signal":{"type":"string","description":"Template for sending a signal to acknowledge the Incident.","description_kind":"markdown","optional":true},"grouping_key":{"type":"string","description":"Template for the key by which alerts are grouped.","description_kind":"markdown","optional":true},"resolve_signal":{"type":"string","description":"Template for sending a signal to resolve the Incident.","description_kind":"markdown","optional":true},"source_link":{"type":"string","description":"Template for a source link.","description_kind":"markdown","optional":true}},"block_types":{"email":{"nesting_mode":"list","block":{"attributes":{"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Email.","description_kind":"markdown"},"max_items":1},"microsoft_teams":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Microsoft Teams. **NOTE**: Microsoft Teams templates are only available on Grafana Cloud.","description_kind":"markdown"},"max_items":1},"mobile_app":{"nesting_mode":"list","block":{"attributes":{"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Mobile app push notifications.","description_kind":"markdown"},"max_items":1},"phone_call":{"nesting_mode":"list","block":{"attributes":{"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Phone Call.","description_kind":"markdown"},"max_items":1},"slack":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Slack.","description_kind":"markdown"},"max_items":1},"sms":{"nesting_mode":"list","block":{"attributes":{"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for SMS.","description_kind":"markdown"},"max_items":1},"telegram":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Telegram.","description_kind":"markdown"},"max_items":1},"web":{"nesting_mode":"list","block":{"attributes":{"image_url":{"type":"string","description":"Template for Alert image url.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Template for Alert message.","description_kind":"markdown","optional":true},"title":{"type":"string","description":"Template for Alert title.","description_kind":"markdown","optional":true}},"description":"Templates for Web.","description_kind":"markdown"},"max_items":1}},"description":"Jinja2 templates for Alert payload. An empty templates block will be ignored.","description_kind":"markdown"},"max_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/oncall/latest/configure/integrations/)\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/)\n","description_kind":"markdown"}},"grafana_oncall_on_call_shift":{"version":0,"block":{"attributes":{"by_day":{"type":["set","string"],"description":"This parameter takes a list of days in iCal format. Can be MO, TU, WE, TH, FR, SA, SU","description_kind":"markdown","optional":true},"by_month":{"type":["set","number"],"description":"This parameter takes a list of months. Valid values are 1 to 12","description_kind":"markdown","optional":true},"by_monthday":{"type":["set","number"],"description":"This parameter takes a list of days of the month.  Valid values are 1 to 31 or -31 to -1","description_kind":"markdown","optional":true},"duration":{"type":"number","description":"The duration of the event.","description_kind":"markdown","required":true},"frequency":{"type":"string","description":"The frequency of the event. Can be hourly, daily, weekly, monthly","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"interval":{"type":"number","description":"The positive integer representing at which intervals the recurrence rule repeats.","description_kind":"markdown","optional":true},"level":{"type":"number","description":"The priority level. The higher the value, the higher the priority.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The shift's name.","description_kind":"markdown","required":true},"rolling_users":{"type":["list",["set","string"]],"description":"The list of lists with on-call users (for rolling_users event type)","description_kind":"markdown","optional":true},"start":{"type":"string","description":"The start time of the on-call shift. This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")","description_kind":"markdown","required":true},"start_rotation_from_user_index":{"type":"number","description":"The index of the list of users in rolling_users, from which on-call rotation starts.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"time_zone":{"type":"string","description":"The shift's timezone.  Overrides schedule's timezone.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The shift's type. Can be rolling_users, recurrent_event, single_event","description_kind":"markdown","required":true},"until":{"type":"string","description":"The end time of recurrent on-call shifts (endless if null). This parameter takes a date format as yyyy-MM-dd'T'HH:mm:ss (for example \"2020-09-05T08:00:00\")","description_kind":"markdown","optional":true},"users":{"type":["set","string"],"description":"The list of on-call users (for single_event and recurrent_event event type).","description_kind":"markdown","optional":true},"week_start":{"type":"string","description":"Start day of the week in iCal format. Can be MO, TU, WE, TH, FR, SA, SU","description_kind":"markdown","optional":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/on_call_shifts/)\n","description_kind":"markdown"}},"grafana_oncall_outgoing_webhook":{"version":0,"block":{"attributes":{"authorization_header":{"type":"string","description":"The auth data of the webhook. Used in Authorization header instead of user/password auth.","description_kind":"markdown","optional":true,"sensitive":true},"data":{"type":"string","description":"The data of the webhook.","description_kind":"markdown","optional":true},"forward_whole_payload":{"type":"bool","description":"Toggle to send the entire webhook payload instead of using the values in the Data field.","description_kind":"markdown","optional":true},"headers":{"type":"string","description":"Headers to add to the outgoing webhook request.","description_kind":"markdown","optional":true},"http_method":{"type":"string","description":"The HTTP method used in the request made by the outgoing webhook. Defaults to `POST`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_filter":{"type":["list","string"],"description":"Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.","description_kind":"markdown","optional":true},"is_webhook_enabled":{"type":"bool","description":"Controls whether the outgoing webhook will trigger or is ignored. Defaults to `true`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the outgoing webhook.","description_kind":"markdown","required":true},"password":{"type":"string","description":"The auth data of the webhook. Used for Basic authentication","description_kind":"markdown","optional":true,"sensitive":true},"preset":{"type":"string","description":"The preset of the outgoing webhook. Possible values are: `simple_webhook`, `advanced_webhook`, `grafana_sift`, `incident_webhook`. If no preset is set, the default preset is `advanced_webhook`.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"trigger_template":{"type":"string","description":"A template used to dynamically determine whether the webhook should execute based on the content of the payload.","description_kind":"markdown","optional":true},"trigger_type":{"type":"string","description":"The type of event that will cause this outgoing webhook to execute. The events available will depend on the preset used. For alert group webhooks, the possible triggers are: `escalation`, `alert group created`, `status change`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`, `resolution note added`, `personal notification`; for incident webhooks: `incident declared`, `incident changed`, `incident resolved`. Defaults to `escalation`.","description_kind":"markdown","optional":true},"url":{"type":"string","description":"The webhook URL. Required when not using a preset that controls this field.","description_kind":"markdown","optional":true},"user":{"type":"string","description":"Username to use when making the outgoing webhook request.","description_kind":"markdown","optional":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)\n","description_kind":"markdown"}},"grafana_oncall_route":{"version":0,"block":{"attributes":{"escalation_chain_id":{"type":"string","description":"The ID of the escalation chain.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"integration_id":{"type":"string","description":"The ID of the integration.","description_kind":"markdown","required":true},"position":{"type":"number","description":"The position of the route (starts from 0).","description_kind":"markdown","required":true},"routing_regex":{"type":"string","description":"Python Regex query. Route is chosen for an alert if there is a match inside the alert payload.","description_kind":"markdown","required":true},"routing_type":{"type":"string","description":"The type of route. Can be jinja2, regex Defaults to `regex`.","description_kind":"markdown","optional":true}},"block_types":{"msteams":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in MS teams. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"MS teams channel id. Alerts will be directed to this channel in Microsoft teams.","description_kind":"markdown","optional":true}},"description":"MS teams-specific settings for a route.","description_kind":"markdown"},"max_items":1},"slack":{"nesting_mode":"list","block":{"attributes":{"channel_id":{"type":"string","description":"Slack channel id. Alerts will be directed to this channel in Slack.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Enable notification in Slack. Defaults to `true`.","description_kind":"markdown","optional":true}},"description":"Slack-specific settings for a route.","description_kind":"markdown"},"max_items":1},"telegram":{"nesting_mode":"list","block":{"attributes":{"enabled":{"type":"bool","description":"Enable notification in Telegram. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"Telegram channel id. Alerts will be directed to this channel in Telegram.","description_kind":"markdown","optional":true}},"description":"Telegram-specific settings for a route.","description_kind":"markdown"},"max_items":1}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/routes/)\n","description_kind":"markdown"}},"grafana_oncall_schedule":{"version":0,"block":{"attributes":{"enable_web_overrides":{"type":"bool","description":"Enable overrides via web UI (it will ignore ical_url_overrides).","description_kind":"markdown","optional":true},"ical_url_overrides":{"type":"string","description":"The URL of external iCal calendar which override primary events.","description_kind":"markdown","optional":true},"ical_url_primary":{"type":"string","description":"The URL of the external calendar iCal file.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The schedule's name.","description_kind":"markdown","required":true},"shifts":{"type":["set","string"],"description":"The list of ID's of on-call shifts.","description_kind":"markdown","optional":true},"team_id":{"type":"string","description":"The ID of the OnCall team (using the `grafana_oncall_team` datasource).","description_kind":"markdown","optional":true},"time_zone":{"type":"string","description":"The schedule's time zone.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The schedule's type. Valid values are `ical`, `calendar`, `web`.","description_kind":"markdown","required":true}},"block_types":{"slack":{"nesting_mode":"list","block":{"attributes":{"channel_id":{"type":"string","description":"Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.","description_kind":"markdown","optional":true},"user_group_id":{"type":"string","description":"Slack user group id. Members of user group will be updated when on-call users change.","description_kind":"markdown","optional":true}},"description":"The Slack-specific settings for a schedule.","description_kind":"markdown"},"max_items":1}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)\n","description_kind":"markdown"}},"grafana_oncall_user_notification_rule":{"version":0,"block":{"attributes":{"duration":{"type":"number","description":"A time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","computed":true},"important":{"type":"bool","description":"Boolean value which indicates if a rule is “important”","description_kind":"markdown","optional":true,"computed":true},"position":{"type":"number","description":"Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers.","description_kind":"markdown","required":true},"user_id":{"type":"string","description":"User ID","description_kind":"markdown","required":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/personal_notification_rules/)\n\n**Note**: you must be running Grafana OnCall \u003e= v1.8.0 to use this resource.\n","description_kind":"markdown"}},"grafana_organization":{"version":0,"block":{"attributes":{"admin_user":{"type":"string","description":"The login name of the configured default admin user for the Grafana\ninstallation. If unset, this value defaults to admin, the Grafana default.\nGrafana adds the default admin user to all organizations automatically upon\ncreation, and this parameter keeps Terraform from removing it from\norganizations.\n Defaults to `admin`.","description_kind":"markdown","optional":true},"admins":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given admin\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.","description_kind":"markdown","optional":true},"create_users":{"type":"bool","description":"Whether or not to create Grafana users specified in the organization's\nmembership if they don't already exist in Grafana. If unspecified, this\nparameter defaults to true, creating placeholder users with the name, login,\nand email set to the email of the user, and a random password. Setting this\noption to false will cause an error to be thrown for any users that do not\nalready exist in Grafana.\n Defaults to `true`.","description_kind":"markdown","optional":true},"editors":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given editor\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The display name for the Grafana organization created.","description_kind":"markdown","required":true},"org_id":{"type":"number","description":"The organization id assigned to this organization by Grafana.","description_kind":"markdown","computed":true},"users_without_access":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given none access to the organization.\nNote: users specified here must already exist in Grafana, unless 'create_users' is\nset to true. This feature is only available in Grafana 10.2+.","description_kind":"markdown","optional":true},"viewers":{"type":["set","string"],"description":"A list of email addresses corresponding to users who should be given viewer\naccess to the organization. Note: users specified here must already exist in\nGrafana unless 'create_users' is set to true.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/)\n\nThis resource represents an instance-scoped resource and uses Grafana's admin APIs.\nIt does not work with API tokens or service accounts which are org-scoped.\nYou must use basic auth. \nThis resource is also not compatible with Grafana Cloud, as it does not allow basic auth.\n","description_kind":"markdown"}},"grafana_organization_preferences":{"version":0,"block":{"attributes":{"home_dashboard_uid":{"type":"string","description":"The Organization home dashboard UID. This is only available in Grafana 9.0+.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"theme":{"type":"string","description":"The Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.","description_kind":"markdown","optional":true},"timezone":{"type":"string","description":"The Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.","description_kind":"markdown","optional":true},"week_start":{"type":"string","description":"The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to ``.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/preferences/#get-current-org-prefs)\n","description_kind":"markdown"}},"grafana_playlist":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"interval":{"type":"string","description_kind":"plain","required":true},"name":{"type":"string","description":"The name of the playlist.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"item":{"nesting_mode":"set","block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"order":{"type":"number","description_kind":"plain","required":true},"title":{"type":"string","description_kind":"plain","required":true},"type":{"type":"string","description_kind":"plain","optional":true},"value":{"type":"string","description_kind":"plain","optional":true}},"description_kind":"plain"},"min_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-manage-playlists/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/playlist/)\n","description_kind":"markdown"}},"grafana_report":{"version":0,"block":{"attributes":{"formats":{"type":["set","string"],"description":"Specifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"Generated identifier of the report.","description_kind":"markdown","computed":true},"include_dashboard_link":{"type":"bool","description":"Whether to include a link to the dashboard in the report. Defaults to `true`.","description_kind":"markdown","optional":true},"include_table_csv":{"type":"bool","description":"Whether to include a CSV file of table panel data. Defaults to `false`.","description_kind":"markdown","optional":true},"layout":{"type":"string","description":"Layout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`.","description_kind":"markdown","optional":true},"message":{"type":"string","description":"Message to be sent in the report.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Name of the report.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"orientation":{"type":"string","description":"Orientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`.","description_kind":"markdown","optional":true},"recipients":{"type":["list","string"],"description":"List of recipients of the report.","description_kind":"markdown","required":true},"reply_to":{"type":"string","description":"Reply-to email address of the report.","description_kind":"markdown","optional":true}},"block_types":{"dashboards":{"nesting_mode":"list","block":{"attributes":{"report_variables":{"type":["map","string"],"description":"Add report variables to the dashboard. Values should be separated by commas.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"Dashboard uid.","description_kind":"markdown","required":true}},"block_types":{"time_range":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description":"Start of the time range.","description_kind":"markdown","optional":true},"to":{"type":"string","description":"End of the time range.","description_kind":"markdown","optional":true}},"description":"Time range of the report.","description_kind":"markdown"},"max_items":1}},"description":"List of dashboards to render into the report","description_kind":"markdown"}},"schedule":{"nesting_mode":"list","block":{"attributes":{"custom_interval":{"type":"string","description":"Custom interval of the report.\n**Note:** This field is only available when frequency is set to `custom`.","description_kind":"markdown","optional":true},"end_time":{"type":"string","description":"End time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone","description_kind":"markdown","optional":true},"frequency":{"type":"string","description":"Frequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`.","description_kind":"markdown","required":true},"last_day_of_month":{"type":"bool","description":"Send the report on the last day of the month Defaults to `false`.","description_kind":"markdown","optional":true},"start_time":{"type":"string","description":"Start time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone","description_kind":"markdown","optional":true},"timezone":{"type":"string","description":"Set the report time zone. Defaults to `GMT`.","description_kind":"markdown","optional":true},"workdays_only":{"type":"bool","description":"Whether to send the report only on work days. Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"Schedule of the report.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"\n**Note:** This resource is available only with Grafana Enterprise 7.+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/create-reports/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/reporting/)\n","description_kind":"markdown"}},"grafana_role":{"version":0,"block":{"attributes":{"auto_increment_version":{"type":"bool","description":"Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set.","description_kind":"markdown","optional":true},"description":{"type":"string","description":"Description of the role.","description_kind":"markdown","optional":true},"display_name":{"type":"string","description":"Display name of the role. Available with Grafana 8.5+.","description_kind":"markdown","optional":true},"global":{"type":"bool","description":"Boolean to state whether the role is available across all organizations or not. Defaults to `false`.","description_kind":"markdown","optional":true},"group":{"type":"string","description":"Group of the role. Available with Grafana 8.5+.","description_kind":"markdown","optional":true},"hidden":{"type":"bool","description":"Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the role","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"Unique identifier of the role. Used for assignments.","description_kind":"markdown","optional":true,"computed":true},"version":{"type":"number","description":"Version of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.","description_kind":"markdown","optional":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"action":{"type":"string","description":"Specific action users granted with the role will be allowed to perform (for example: `users:read`)","description_kind":"markdown","required":true},"scope":{"type":"string","description":"Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to ``.","description_kind":"markdown","optional":true}},"description":"Specific set of actions granted by the role.","description_kind":"markdown"}}},"description":"\n**Note:** This resource is available only with Grafana Enterprise 8.+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)\n","description_kind":"markdown"}},"grafana_role_assignment":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"role_uid":{"type":"string","description":"Grafana RBAC role UID.","description_kind":"markdown","required":true},"service_accounts":{"type":["set","string"],"description":"IDs of service accounts that the role should be assigned to.","description_kind":"markdown","optional":true},"teams":{"type":["set","string"],"description":"IDs of teams that the role should be assigned to.","description_kind":"markdown","optional":true},"users":{"type":["set","number"],"description":"IDs of users that the role should be assigned to.","description_kind":"markdown","optional":true}},"description":"\nManages the entire set of assignments for a role. Assignments that aren't specified when applying this resource will be removed.\n**Note:** This resource is available only with Grafana Enterprise 9.2+.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)\n","description_kind":"markdown"}},"grafana_role_assignment_item":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"role_uid":{"type":"string","description":"the role UID onto which to assign an actor","description_kind":"plain","required":true},"service_account_id":{"type":"string","description":"the service account onto which the role is to be assigned","description_kind":"plain","optional":true},"team_id":{"type":"string","description":"the team onto which the role is to be assigned","description_kind":"plain","optional":true},"user_id":{"type":"string","description":"the user onto which the role is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single assignment for a role. Conflicts with the \"grafana_role_assignment\" resource which manages the entire set of assignments for a role.","description_kind":"markdown"}},"grafana_rule_group":{"version":0,"block":{"attributes":{"disable_provenance":{"type":"bool","description":"Allow modifying the rule group from other sources than Terraform or the Grafana API. Defaults to `false`.","description_kind":"markdown","optional":true},"folder_uid":{"type":"string","description":"The UID of the folder that the group belongs to.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"interval_seconds":{"type":"number","description":"The interval, in seconds, at which all rules in the group are evaluated. If a group contains many rules, the rules are evaluated sequentially.","description_kind":"markdown","required":true},"name":{"type":"string","description":"The name of the rule group.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"block_types":{"rule":{"nesting_mode":"list","block":{"attributes":{"annotations":{"type":["map","string"],"description":"Key-value pairs of metadata to attach to the alert rule. They add additional information, such as a `summary` or `runbook_url`, to help identify and investigate alerts. The `__dashboardUid__` and `__panelId__` annotations, which link alerts to a panel, must be set together. Defaults to `map[]`.","description_kind":"markdown","optional":true},"condition":{"type":"string","description":"The `ref_id` of the query node in the `data` field to use as the alert condition.","description_kind":"markdown","optional":true},"exec_err_state":{"type":"string","description":"Describes what state to enter when the rule's query is invalid and the rule cannot be executed. Options are OK, Error, KeepLast, and Alerting.  Defaults to Alerting if not set.","description_kind":"markdown","optional":true},"for":{"type":"string","description":"The amount of time for which the rule must be breached for the rule to be considered to be Firing. Before this time has elapsed, the rule is only considered to be Pending. Defaults to `0`.","description_kind":"markdown","optional":true},"is_paused":{"type":"bool","description":"Sets whether the alert should be paused or not. Defaults to `false`.","description_kind":"markdown","optional":true},"keep_firing_for":{"type":"string","description":"The amount of time for which the rule will considered to be Recovering after initially Firing. Before this time has elapsed, the rule will continue to fire once it's been triggered.","description_kind":"markdown","optional":true},"labels":{"type":["map","string"],"description":"Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.","description_kind":"markdown","optional":true},"missing_series_evals_to_resolve":{"type":"number","description":"The number of missing series evaluations that must occur before the rule is considered to be resolved.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the alert rule.","description_kind":"markdown","required":true},"no_data_state":{"type":"string","description":"Describes what state to enter when the rule's query returns No Data. Options are OK, NoData, KeepLast, and Alerting. Defaults to NoData if not set.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The unique identifier of the alert rule.","description_kind":"markdown","optional":true,"computed":true}},"block_types":{"data":{"nesting_mode":"list","block":{"attributes":{"datasource_uid":{"type":"string","description":"The UID of the datasource being queried, or \"-100\" if this stage is an expression stage.","description_kind":"markdown","required":true},"model":{"type":"string","description":"Custom JSON data to send to the specified datasource when querying.","description_kind":"markdown","required":true},"query_type":{"type":"string","description":"An optional identifier for the type of query being executed. Defaults to ``.","description_kind":"markdown","optional":true},"ref_id":{"type":"string","description":"A unique string to identify this query stage within a rule.","description_kind":"markdown","required":true}},"block_types":{"relative_time_range":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"number","description":"The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.","description_kind":"markdown","required":true},"to":{"type":"number","description":"The number of seconds in the past, relative to when the rule is evaluated, at which the time range ends.","description_kind":"markdown","required":true}},"description":"The time range, relative to when the query is executed, across which to query.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"A sequence of stages that describe the contents of the rule.","description_kind":"markdown"},"min_items":1},"notification_settings":{"nesting_mode":"list","block":{"attributes":{"active_timings":{"type":["list","string"],"description":"A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later","description_kind":"markdown","optional":true},"contact_point":{"type":"string","description":"The contact point to route notifications that match this rule to.","description_kind":"markdown","required":true},"group_by":{"type":["list","string"],"description":"A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.","description_kind":"markdown","optional":true},"group_interval":{"type":"string","description":"Minimum time interval between two notifications for the same group. Default is 5 minutes.","description_kind":"markdown","optional":true},"group_wait":{"type":"string","description":"Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.","description_kind":"markdown","optional":true},"mute_timings":{"type":["list","string"],"description":"A list of mute timing names to apply to alerts that match this policy.","description_kind":"markdown","optional":true},"repeat_interval":{"type":"string","description":"Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.","description_kind":"markdown","optional":true}},"description":"Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled.","description_kind":"markdown"},"max_items":1},"record":{"nesting_mode":"list","block":{"attributes":{"from":{"type":"string","description":"The ref id of the query node in the data field to use as the source of the metric.","description_kind":"markdown","required":true},"metric":{"type":"string","description":"The name of the metric to write to.","description_kind":"markdown","required":true},"target_datasource_uid":{"type":"string","description":"The UID of the datasource to write the metric to.","description_kind":"markdown","optional":true}},"description":"Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled.","description_kind":"markdown"},"max_items":1}},"description":"The rules within the group.","description_kind":"markdown"},"min_items":1}},"description":"\nManages Grafana Alerting rule groups.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/terraform-provisioning/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#alert-rules)\n\nThis resource requires Grafana 9.1.0 or later.\n","description_kind":"markdown"}},"grafana_scim_config":{"version":0,"block":{"attributes":{"enable_group_sync":{"type":"bool","description":"Whether group synchronization is enabled.","description_kind":"markdown","required":true},"enable_user_sync":{"type":"bool","description":"Whether user synchronization is enabled.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"reject_non_provisioned_users":{"type":"bool","description":"Whether to block non-provisioned user access to Grafana. Cloud Portal users will always be able to access Grafana, regardless of this setting.","description_kind":"markdown","required":true}},"description":"\n**Note:** This resource is available only with Grafana Enterprise.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-scim-provisioning/)\n","description_kind":"markdown"}},"grafana_service_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_disabled":{"type":"bool","description":"The disabled status for the service account. Defaults to `false`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the service account.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"role":{"type":"string","description":"The basic role of the service account in the organization.","description_kind":"markdown","required":true}},"description":"\n**Note:** This resource is available only with Grafana 9.1+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)","description_kind":"markdown"}},"grafana_service_account_permission":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"service_account_id":{"type":"string","description":"The id of the service account.","description_kind":"markdown","required":true}},"block_types":{"permissions":{"nesting_mode":"set","block":{"attributes":{"permission":{"type":"string","description":"Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.","description_kind":"markdown","required":true},"team_id":{"type":"string","description":"ID of the team to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true},"user_id":{"type":"string","description":"ID of the user or service account to manage permissions for. Defaults to `0`.","description_kind":"markdown","optional":true}},"description":"The permission items to add/update. Items that are omitted from the list will be removed.","description_kind":"markdown"}}},"description":"\nManages the entire set of permissions for a service account. Permissions that aren't specified when applying this resource will be removed.\n\n**Note:** This resource is available from Grafana 9.2.4 onwards.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/#manage-users-and-teams-permissions-for-a-service-account-in-grafana)","description_kind":"markdown"}},"grafana_service_account_permission_item":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"permission":{"type":"string","description":"the permission to be assigned","description_kind":"plain","required":true},"service_account_id":{"type":"string","description":"The ID of the service account.","description_kind":"plain","required":true},"team":{"type":"string","description":"the team onto which the permission is to be assigned","description_kind":"plain","optional":true},"user":{"type":"string","description":"the user or service account onto which the permission is to be assigned","description_kind":"plain","optional":true}},"description":"Manages a single permission item for a service account. Conflicts with the \"grafana_service_account_permission\" resource which manages the entire set of permissions for a service account.\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/#manage-users-and-teams-permissions-for-a-service-account-in-grafana)","description_kind":"markdown"}},"grafana_service_account_token":{"version":0,"block":{"attributes":{"expiration":{"type":"string","description":"The expiration date of the service account token.","description_kind":"markdown","computed":true},"has_expired":{"type":"bool","description":"The status of the service account token.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"key":{"type":"string","description":"The key of the service account token.","description_kind":"markdown","computed":true,"sensitive":true},"name":{"type":"string","description":"The name of the service account token.","description_kind":"markdown","required":true},"seconds_to_live":{"type":"number","description":"The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire.","description_kind":"markdown","optional":true},"service_account_id":{"type":"string","description":"The ID of the service account to which the token belongs.","description_kind":"markdown","required":true}},"description":"\n**Note:** This resource is available only with Grafana 9.1+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)","description_kind":"markdown"}},"grafana_slo":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"Description is a free-text field that can provide more context to an SLO.","description_kind":"markdown","required":true},"folder_uid":{"type":"string","description":"UID for the SLO folder","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name should be a short description of your indicator. Consider names like \"API Availability\"","description_kind":"markdown","required":true},"search_expression":{"type":"string","description":"The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.","description_kind":"markdown","optional":true}},"block_types":{"alerting":{"nesting_mode":"list","block":{"block_types":{"advanced_options":{"nesting_mode":"list","block":{"attributes":{"min_failures":{"type":"number","description":"Minimum number of failed events to trigger an alert","description_kind":"markdown","optional":true}},"description":"Advanced Options for Alert Rules","description_kind":"markdown"},"max_items":1},"annotation":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Annotations will be attached to all alerts generated by any of these rules.","description_kind":"markdown"}},"fastburn":{"nesting_mode":"list","block":{"block_types":{"annotation":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Annotations to attach only to Fast Burn alerts.","description_kind":"markdown"}},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Labels to attach only to Fast Burn alerts.","description_kind":"markdown"}}},"description":"Alerting Rules generated for Fast Burn alerts","description_kind":"markdown"},"max_items":1},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Labels will be attached to all alerts generated by any of these rules.","description_kind":"markdown"}},"slowburn":{"nesting_mode":"list","block":{"block_types":{"annotation":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Annotations to attach only to Slow Burn alerts.","description_kind":"markdown"}},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Labels to attach only to Slow Burn alerts.","description_kind":"markdown"}}},"description":"Alerting Rules generated for Slow Burn alerts","description_kind":"markdown"},"max_items":1}},"description":"Configures the alerting rules that will be generated for each\n\t\t\t\ttime window associated with the SLO. Grafana SLOs can generate\n\t\t\t\talerts when the short-term error budget burn is very high, the\n\t\t\t\tlong-term error budget burn rate is high, or when the remaining\n\t\t\t\terror budget is below a certain threshold. Annotations and Labels support templating.","description_kind":"markdown"},"max_items":1},"destination_datasource":{"nesting_mode":"list","block":{"attributes":{"uid":{"type":"string","description":"UID for the Datasource","description_kind":"markdown","required":true}},"description":"Destination Datasource sets the datasource defined for an SLO","description_kind":"markdown"},"min_items":1,"max_items":1},"label":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"Key for filtering and identification","description_kind":"markdown","required":true},"value":{"type":"string","description":"Templatable value","description_kind":"markdown","required":true}},"description":"Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - \"^[a-zA-Z_][a-zA-Z0-9_]*$\"","description_kind":"markdown"}},"objectives":{"nesting_mode":"list","block":{"attributes":{"value":{"type":"number","description":"Value between 0 and 1. If the value of the query is above the objective, the SLO is met.","description_kind":"markdown","required":true},"window":{"type":"string","description":"A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.","description_kind":"markdown","required":true}},"description":"Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.","description_kind":"markdown"},"min_items":1},"query":{"nesting_mode":"list","block":{"attributes":{"type":{"type":"string","description":"Query type must be one of: \"freeform\", \"query\", \"ratio\", \"grafana_queries\" or \"threshold\"","description_kind":"markdown","required":true}},"block_types":{"freeform":{"nesting_mode":"list","block":{"attributes":{"query":{"type":"string","description":"Freeform Query Field - valid promQl","description_kind":"markdown","required":true}},"description_kind":"plain"},"max_items":1},"grafana_queries":{"nesting_mode":"list","block":{"attributes":{"grafana_queries":{"type":"string","description":"Query Object - Array of Grafana Query JSON objects","description_kind":"markdown","required":true}},"description":"Array for holding a set of grafana queries","description_kind":"markdown"},"max_items":1},"ratio":{"nesting_mode":"list","block":{"attributes":{"group_by_labels":{"type":["list","string"],"description":"Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - \"^[a-zA-Z_][a-zA-Z0-9_]*$\"","description_kind":"markdown","optional":true},"success_metric":{"type":"string","description":"Counter metric for success events (numerator)","description_kind":"markdown","required":true},"total_metric":{"type":"string","description":"Metric for total events (denominator)","description_kind":"markdown","required":true}},"description_kind":"plain"},"max_items":1}},"description":"Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.","description_kind":"markdown"},"min_items":1}},"description":"\nResource manages Grafana SLOs.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)\n* [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)\n\t\t","description_kind":"markdown"}},"grafana_sso_settings":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"provider_name":{"type":"string","description":"The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth, saml, ldap.","description_kind":"markdown","required":true}},"block_types":{"ldap_settings":{"nesting_mode":"set","block":{"attributes":{"allow_sign_up":{"type":"bool","description":"Whether to allow new Grafana user creation through LDAP login. If set to false, then only existing Grafana users can log in with LDAP.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Define whether this configuration is enabled for LDAP. Defaults to `true`.","description_kind":"markdown","optional":true},"skip_org_role_sync":{"type":"bool","description":"Prevent synchronizing users’ organization roles from LDAP.","description_kind":"markdown","optional":true}},"block_types":{"config":{"nesting_mode":"list","block":{"block_types":{"servers":{"nesting_mode":"list","block":{"attributes":{"attributes":{"type":["map","string"],"description":"The LDAP server attributes. The following attributes can be configured: email, member_of, name, surname, username.","description_kind":"markdown","optional":true},"bind_dn":{"type":"string","description":"The search user bind DN.","description_kind":"markdown","optional":true},"bind_password":{"type":"string","description":"The search user bind password.","description_kind":"markdown","optional":true,"sensitive":true},"client_cert":{"type":"string","description":"The path to the client certificate.","description_kind":"markdown","optional":true},"client_cert_value":{"type":"string","description":"The Base64 encoded value of the client certificate.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"The path to the client private key.","description_kind":"markdown","optional":true,"sensitive":true},"client_key_value":{"type":"string","description":"The Base64 encoded value of the client private key.","description_kind":"markdown","optional":true,"sensitive":true},"group_search_base_dns":{"type":["list","string"],"description":"An array of the base DNs to search through for groups. Typically uses ou=groups.","description_kind":"markdown","optional":true},"group_search_filter":{"type":"string","description":"Group search filter, to retrieve the groups of which the user is a member (only set if memberOf attribute is not available).","description_kind":"markdown","optional":true},"group_search_filter_user_attribute":{"type":"string","description":"The %s in the search filter will be replaced with the attribute defined in this field.","description_kind":"markdown","optional":true},"host":{"type":"string","description":"The LDAP server host.","description_kind":"markdown","required":true},"min_tls_version":{"type":"string","description":"Minimum TLS version allowed. Accepted values are: TLS1.2, TLS1.3.","description_kind":"markdown","optional":true},"port":{"type":"number","description":"The LDAP server port.","description_kind":"markdown","optional":true},"root_ca_cert":{"type":"string","description":"The path to the root CA certificate.","description_kind":"markdown","optional":true},"root_ca_cert_value":{"type":["list","string"],"description":"The Base64 encoded values of the root CA certificates.","description_kind":"markdown","optional":true},"search_base_dns":{"type":["list","string"],"description":"An array of base DNs to search through.","description_kind":"markdown","required":true},"search_filter":{"type":"string","description":"The user search filter, for example \"(cn=%s)\" or \"(sAMAccountName=%s)\" or \"(uid=%s)\".","description_kind":"markdown","required":true},"ssl_skip_verify":{"type":"bool","description":"If set to true, the SSL cert validation will be skipped.","description_kind":"markdown","optional":true},"start_tls":{"type":"bool","description":"If set to true, use LDAP with STARTTLS instead of LDAPS.","description_kind":"markdown","optional":true},"timeout":{"type":"number","description":"The timeout in seconds for connecting to the LDAP host.","description_kind":"markdown","optional":true},"tls_ciphers":{"type":["list","string"],"description":"Accepted TLS ciphers. For a complete list of supported ciphers, refer to: https://go.dev/src/crypto/tls/cipher_suites.go.","description_kind":"markdown","optional":true},"use_ssl":{"type":"bool","description":"Set to true if LDAP server should use an encrypted TLS connection (either with STARTTLS or LDAPS).","description_kind":"markdown","optional":true}},"block_types":{"group_mappings":{"nesting_mode":"list","block":{"attributes":{"grafana_admin":{"type":"bool","description":"If set to true, it makes the user of group_dn Grafana server admin.","description_kind":"markdown","optional":true},"group_dn":{"type":"string","description":"LDAP distinguished name (DN) of LDAP group. If you want to match all (or no LDAP groups) then you can use wildcard (\"*\").","description_kind":"markdown","required":true},"org_id":{"type":"number","description":"The Grafana organization database id.","description_kind":"markdown","optional":true},"org_role":{"type":"string","description":"Assign users of group_dn the organization role Admin, Editor, or Viewer.","description_kind":"markdown","required":true}},"description":"For mapping an LDAP group to a Grafana organization and role.","description_kind":"markdown"}}},"description":"The LDAP servers configuration.","description_kind":"markdown"},"min_items":1}},"description":"The LDAP configuration.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"The LDAP settings set. Required for the ldap provider.","description_kind":"markdown"},"max_items":1},"oauth2_settings":{"nesting_mode":"set","block":{"attributes":{"allow_assign_grafana_admin":{"type":"bool","description":"If enabled, it will automatically sync the Grafana server administrator role.","description_kind":"markdown","optional":true},"allow_sign_up":{"type":"bool","description":"If not enabled, only existing Grafana users can log in using OAuth.","description_kind":"markdown","optional":true},"allowed_domains":{"type":"string","description":"List of comma- or space-separated domains. The user should belong to at least one domain to log in.","description_kind":"markdown","optional":true},"allowed_groups":{"type":"string","description":"List of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path.","description_kind":"markdown","optional":true},"allowed_organizations":{"type":"string","description":"List of comma- or space-separated organizations. The user should be a member of at least one organization to log in.","description_kind":"markdown","optional":true},"api_url":{"type":"string","description":"The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.","description_kind":"markdown","optional":true},"auth_style":{"type":"string","description":"It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.","description_kind":"markdown","optional":true},"auth_url":{"type":"string","description":"The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.","description_kind":"markdown","optional":true},"auto_login":{"type":"bool","description":"Log in automatically, skipping the login screen.","description_kind":"markdown","optional":true},"client_id":{"type":"string","description":"The client Id of your OAuth2 app.","description_kind":"markdown","required":true},"client_secret":{"type":"string","description":"The client secret of your OAuth2 app.","description_kind":"markdown","optional":true,"sensitive":true},"custom":{"type":["map","string"],"description":"Custom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.","description_kind":"markdown","optional":true},"define_allowed_groups":{"type":"bool","description":"Define allowed groups.","description_kind":"markdown","optional":true},"define_allowed_teams_ids":{"type":"bool","description":"Define allowed teams ids.","description_kind":"markdown","optional":true},"email_attribute_name":{"type":"string","description":"Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"email_attribute_path":{"type":"string","description":"JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"empty_scopes":{"type":"bool","description":"If enabled, no scopes will be sent to the OAuth2 provider.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Define whether this configuration is enabled for the specified provider. Defaults to `true`.","description_kind":"markdown","optional":true},"groups_attribute_path":{"type":"string","description":"JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path.","description_kind":"markdown","optional":true},"id_token_attribute_name":{"type":"string","description":"The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"login_attribute_path":{"type":"string","description":"JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"login_prompt":{"type":"string","description":"Indicates the type of user interaction when the user logs in with the IdP. Available values are `login`, `consent` and `select_account`.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Helpful if you use more than one identity providers or SSO protocols.","description_kind":"markdown","optional":true},"name_attribute_path":{"type":"string","description":"JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"org_attribute_path":{"type":"string","description":"JMESPath expression to use for the organization mapping lookup from the user ID token. The extracted list will be used for the organization mapping (to match \"Organization\" in the \"org_mapping\"). Only applicable to Generic OAuth and Okta.","description_kind":"markdown","optional":true},"org_mapping":{"type":"string","description":"List of comma- or space-separated Organization:OrgIdOrOrgName:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: None, Viewer, Editor or Admin.","description_kind":"markdown","optional":true},"role_attribute_path":{"type":"string","description":"JMESPath expression to use for Grafana role lookup.","description_kind":"markdown","optional":true},"role_attribute_strict":{"type":"bool","description":"If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.","description_kind":"markdown","optional":true},"scopes":{"type":"string","description":"List of comma- or space-separated OAuth2 scopes.","description_kind":"markdown","optional":true},"signout_redirect_url":{"type":"string","description":"The URL to redirect the user to after signing out from Grafana.","description_kind":"markdown","optional":true},"skip_org_role_sync":{"type":"bool","description":"Prevent synchronizing users’ organization roles from your IdP.","description_kind":"markdown","optional":true},"team_ids":{"type":"string","description":"String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path.","description_kind":"markdown","optional":true},"team_ids_attribute_path":{"type":"string","description":"The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"teams_url":{"type":"string","description":"The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth.","description_kind":"markdown","optional":true},"tls_client_ca":{"type":"string","description":"The path to the trusted certificate authority list. Is not applicable on Grafana Cloud.","description_kind":"markdown","optional":true},"tls_client_cert":{"type":"string","description":"The path to the certificate. Is not applicable on Grafana Cloud.","description_kind":"markdown","optional":true},"tls_client_key":{"type":"string","description":"The path to the key. Is not applicable on Grafana Cloud.","description_kind":"markdown","optional":true},"tls_skip_verify_insecure":{"type":"bool","description":"If enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks.","description_kind":"markdown","optional":true},"token_url":{"type":"string","description":"The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.","description_kind":"markdown","optional":true},"use_pkce":{"type":"bool","description":"If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.","description_kind":"markdown","optional":true},"use_refresh_token":{"type":"bool","description":"If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.","description_kind":"markdown","optional":true}},"description":"The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers.","description_kind":"markdown"},"max_items":1},"saml_settings":{"nesting_mode":"set","block":{"attributes":{"allow_idp_initiated":{"type":"bool","description":"Whether SAML IdP-initiated login is allowed.","description_kind":"markdown","optional":true},"allow_sign_up":{"type":"bool","description":"Whether to allow new Grafana user creation through SAML login. If set to false, then only existing Grafana users can log in with SAML.","description_kind":"markdown","optional":true},"allowed_organizations":{"type":"string","description":"List of comma- or space-separated organizations. User should be a member of at least one organization to log in.","description_kind":"markdown","optional":true},"assertion_attribute_email":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user email.","description_kind":"markdown","optional":true},"assertion_attribute_groups":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user groups.","description_kind":"markdown","optional":true},"assertion_attribute_login":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user login handle.","description_kind":"markdown","optional":true},"assertion_attribute_name":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user name. Alternatively, this can be a template with variables that match the names of attributes within the SAML assertion.","description_kind":"markdown","optional":true},"assertion_attribute_org":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user organization.","description_kind":"markdown","optional":true},"assertion_attribute_role":{"type":"string","description":"Friendly name or name of the attribute within the SAML assertion to use as the user roles.","description_kind":"markdown","optional":true},"auto_login":{"type":"bool","description":"Whether SAML auto login is enabled.","description_kind":"markdown","optional":true},"certificate":{"type":"string","description":"Base64-encoded string for the SP X.509 certificate.","description_kind":"markdown","optional":true,"sensitive":true},"certificate_path":{"type":"string","description":"Path for the SP X.509 certificate.","description_kind":"markdown","optional":true},"client_id":{"type":"string","description":"The client Id of your OAuth2 app.","description_kind":"markdown","optional":true},"client_secret":{"type":"string","description":"The client secret of your OAuth2 app.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Define whether this configuration is enabled for SAML. Defaults to `true`.","description_kind":"markdown","optional":true},"entity_id":{"type":"string","description":"The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set.","description_kind":"markdown","optional":true},"force_use_graph_api":{"type":"bool","description":"If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token.","description_kind":"markdown","optional":true},"idp_metadata":{"type":"string","description":"Base64-encoded string for the IdP SAML metadata XML.","description_kind":"markdown","optional":true},"idp_metadata_path":{"type":"string","description":"Path for the IdP SAML metadata XML.","description_kind":"markdown","optional":true},"idp_metadata_url":{"type":"string","description":"URL for the IdP SAML metadata XML.","description_kind":"markdown","optional":true},"max_issue_delay":{"type":"string","description":"Duration, since the IdP issued a response and the SP is allowed to process it. For example: 90s, 1h.","description_kind":"markdown","optional":true},"metadata_valid_duration":{"type":"string","description":"Duration, for how long the SP metadata is valid. For example: 48h, 5d.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"Name used to refer to the SAML authentication.","description_kind":"markdown","optional":true},"name_id_format":{"type":"string","description":"The Name ID Format to request within the SAML assertion. Defaults to urn:oasis:names:tc:SAML:2.0:nameid-format:transient","description_kind":"markdown","optional":true},"org_mapping":{"type":"string","description":"List of comma- or space-separated Organization:OrgId:Role mappings. Organization can be * meaning “All users”. Role is optional and can have the following values: Viewer, Editor or Admin.","description_kind":"markdown","optional":true},"private_key":{"type":"string","description":"Base64-encoded string for the SP private key.","description_kind":"markdown","optional":true,"sensitive":true},"private_key_path":{"type":"string","description":"Path for the SP private key.","description_kind":"markdown","optional":true},"relay_state":{"type":"string","description":"Relay state for IdP-initiated login. Should match relay state configured in IdP.","description_kind":"markdown","optional":true},"role_values_admin":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Admin role.","description_kind":"markdown","optional":true},"role_values_editor":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Editor role.","description_kind":"markdown","optional":true},"role_values_grafana_admin":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Grafana Admin (Super Admin) role.","description_kind":"markdown","optional":true},"role_values_none":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the None role.","description_kind":"markdown","optional":true},"role_values_viewer":{"type":"string","description":"List of comma- or space-separated roles which will be mapped into the Viewer role.","description_kind":"markdown","optional":true},"signature_algorithm":{"type":"string","description":"Signature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512.","description_kind":"markdown","optional":true},"single_logout":{"type":"bool","description":"Whether SAML Single Logout is enabled.","description_kind":"markdown","optional":true},"skip_org_role_sync":{"type":"bool","description":"Prevent synchronizing users’ organization roles from your IdP.","description_kind":"markdown","optional":true},"token_url":{"type":"string","description":"The token endpoint of your OAuth2 provider. Required for Azure AD providers.","description_kind":"markdown","optional":true}},"description":"The SAML settings set. Required for the saml provider.","description_kind":"markdown"},"max_items":1}},"description":"\nManages Grafana SSO Settings for OAuth2, SAML and LDAP. Support for LDAP is currently in preview, it will be available in Grafana starting with v11.3.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/)\n","description_kind":"markdown"}},"grafana_synthetic_monitoring_check":{"version":0,"block":{"attributes":{"alert_sensitivity":{"type":"string","description":"Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.","description_kind":"markdown","optional":true},"basic_metrics_only":{"type":"bool","description":"Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.","description_kind":"markdown","optional":true},"enabled":{"type":"bool","description":"Whether to enable the check. Defaults to `true`.","description_kind":"markdown","optional":true},"frequency":{"type":"number","description":"How often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the check.","description_kind":"markdown","computed":true},"job":{"type":"string","description":"Name used for job label.","description_kind":"markdown","required":true},"labels":{"type":["map","string"],"description":"Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.","description_kind":"markdown","optional":true},"probes":{"type":["set","number"],"description":"List of probe location IDs where this target will be checked from.","description_kind":"markdown","required":true},"target":{"type":"string","description":"Hostname to ping.","description_kind":"markdown","required":true},"tenant_id":{"type":"number","description":"The tenant ID of the check.","description_kind":"markdown","computed":true},"timeout":{"type":"number","description":"Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 180 seconds (180000 ms). Defaults to `3000`.","description_kind":"markdown","optional":true}},"block_types":{"settings":{"nesting_mode":"set","block":{"block_types":{"browser":{"nesting_mode":"set","block":{"attributes":{"script":{"type":"string","description_kind":"plain","required":true}},"description":"Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/.","description_kind":"markdown"},"max_items":1},"dns":{"nesting_mode":"set","block":{"attributes":{"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"port":{"type":"number","description":"Port to target. Defaults to `53`.","description_kind":"markdown","optional":true},"protocol":{"type":"string","description":"`TCP` or `UDP`. Defaults to `UDP`.","description_kind":"markdown","optional":true},"record_type":{"type":"string","description":"One of `ANY`, `A`, `AAAA`, `CNAME`, `MX`, `NS`, `PTR`, `SOA`, `SRV`, `TXT`. Defaults to `A`.","description_kind":"markdown","optional":true},"server":{"type":"string","description":"DNS server address to target. Defaults to `8.8.8.8`.","description_kind":"markdown","optional":true},"source_ip_address":{"type":"string","description":"Source IP address.","description_kind":"markdown","optional":true},"valid_r_codes":{"type":["set","string"],"description":"List of valid response codes. Options include `NOERROR`, `BADALG`, `BADMODE`, `BADKEY`, `BADCOOKIE`, `BADNAME`, `BADSIG`, `BADTIME`, `BADTRUNC`, `BADVERS`, `FORMERR`, `NOTIMP`, `NOTAUTH`, `NOTZONE`, `NXDOMAIN`, `NXRRSET`, `REFUSED`, `SERVFAIL`, `YXDOMAIN`, `YXRRSET`.","description_kind":"markdown","optional":true}},"block_types":{"validate_additional_rrs":{"nesting_mode":"set","block":{"attributes":{"fail_if_matches_regexp":{"type":["set","string"],"description":"Fail if value matches regex.","description_kind":"markdown","optional":true},"fail_if_not_matches_regexp":{"type":["set","string"],"description":"Fail if value does not match regex.","description_kind":"markdown","optional":true}},"description":"Validate additional matches.","description_kind":"markdown"}},"validate_answer_rrs":{"nesting_mode":"set","block":{"attributes":{"fail_if_matches_regexp":{"type":["set","string"],"description":"Fail if value matches regex.","description_kind":"markdown","optional":true},"fail_if_not_matches_regexp":{"type":["set","string"],"description":"Fail if value does not match regex.","description_kind":"markdown","optional":true}},"description":"Validate response answer.","description_kind":"markdown"},"max_items":1},"validate_authority_rrs":{"nesting_mode":"set","block":{"attributes":{"fail_if_matches_regexp":{"type":["set","string"],"description":"Fail if value matches regex.","description_kind":"markdown","optional":true},"fail_if_not_matches_regexp":{"type":["set","string"],"description":"Fail if value does not match regex.","description_kind":"markdown","optional":true}},"description":"Validate response authority.","description_kind":"markdown"},"max_items":1}},"description":"Settings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).","description_kind":"markdown"},"max_items":1},"grpc":{"nesting_mode":"set","block":{"attributes":{"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"service":{"type":"string","description":"gRPC service.","description_kind":"markdown","optional":true},"tls":{"type":"bool","description":"Whether or not TLS is used when the connection is initiated. Defaults to `false`.","description_kind":"markdown","optional":true}},"block_types":{"tls_config":{"nesting_mode":"set","block":{"attributes":{"ca_cert":{"type":"string","description":"CA certificate in PEM format.","description_kind":"markdown","optional":true},"client_cert":{"type":"string","description":"Client certificate in PEM format.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"Client key in PEM format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Disable target certificate validation. Defaults to `false`.","description_kind":"markdown","optional":true},"server_name":{"type":"string","description":"Used to verify the hostname for the targets.","description_kind":"markdown","optional":true}},"description":"TLS config.","description_kind":"markdown"},"max_items":1}},"description":"Settings for gRPC Health check. The target must be of the form `\u003chost\u003e:\u003cport\u003e`, where the host portion must be a valid hostname or IP address.","description_kind":"markdown"},"max_items":1},"http":{"nesting_mode":"set","block":{"attributes":{"bearer_token":{"type":"string","description":"Token for use with bearer authorization header.","description_kind":"markdown","optional":true,"sensitive":true},"body":{"type":"string","description":"The body of the HTTP request used in probe.","description_kind":"markdown","optional":true},"cache_busting_query_param_name":{"type":"string","description":"The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.","description_kind":"markdown","optional":true},"compression":{"type":"string","description":"Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`.","description_kind":"markdown","optional":true},"fail_if_body_matches_regexp":{"type":["set","string"],"description":"List of regexes. If any match the response body, the check will fail.","description_kind":"markdown","optional":true},"fail_if_body_not_matches_regexp":{"type":["set","string"],"description":"List of regexes. If any do not match the response body, the check will fail.","description_kind":"markdown","optional":true},"fail_if_not_ssl":{"type":"bool","description":"Fail if SSL is not present. Defaults to `false`.","description_kind":"markdown","optional":true},"fail_if_ssl":{"type":"bool","description":"Fail if SSL is present. Defaults to `false`.","description_kind":"markdown","optional":true},"headers":{"type":["set","string"],"description":"The HTTP headers set for the probe.","description_kind":"markdown","optional":true},"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"method":{"type":"string","description":"Request method. One of `GET`, `CONNECT`, `DELETE`, `HEAD`, `OPTIONS`, `POST`, `PUT`, `TRACE` Defaults to `GET`.","description_kind":"markdown","optional":true},"no_follow_redirects":{"type":"bool","description":"Do not follow redirects. Defaults to `false`.","description_kind":"markdown","optional":true},"proxy_connect_headers":{"type":["set","string"],"description":"The HTTP headers sent to the proxy URL","description_kind":"markdown","optional":true},"proxy_url":{"type":"string","description":"Proxy URL.","description_kind":"markdown","optional":true},"valid_http_versions":{"type":["set","string"],"description":"List of valid HTTP versions. Options include `HTTP/1.0`, `HTTP/1.1`, `HTTP/2.0`","description_kind":"markdown","optional":true},"valid_status_codes":{"type":["set","number"],"description":"Accepted status codes. If unset, defaults to 2xx.","description_kind":"markdown","optional":true}},"block_types":{"basic_auth":{"nesting_mode":"set","block":{"attributes":{"password":{"type":"string","description":"Basic auth password.","description_kind":"markdown","required":true,"sensitive":true},"username":{"type":"string","description":"Basic auth username.","description_kind":"markdown","required":true}},"description":"Basic auth settings.","description_kind":"markdown"},"max_items":1},"fail_if_header_matches_regexp":{"nesting_mode":"set","block":{"attributes":{"allow_missing":{"type":"bool","description":"Allow header to be missing from responses. Defaults to `false`.","description_kind":"markdown","optional":true},"header":{"type":"string","description":"Header name.","description_kind":"markdown","required":true},"regexp":{"type":"string","description":"Regex that header value should match.","description_kind":"markdown","required":true}},"description":"Check fails if headers match.","description_kind":"markdown"}},"fail_if_header_not_matches_regexp":{"nesting_mode":"set","block":{"attributes":{"allow_missing":{"type":"bool","description":"Allow header to be missing from responses. Defaults to `false`.","description_kind":"markdown","optional":true},"header":{"type":"string","description":"Header name.","description_kind":"markdown","required":true},"regexp":{"type":"string","description":"Regex that header value should match.","description_kind":"markdown","required":true}},"description":"Check fails if headers do not match.","description_kind":"markdown"}},"tls_config":{"nesting_mode":"set","block":{"attributes":{"ca_cert":{"type":"string","description":"CA certificate in PEM format.","description_kind":"markdown","optional":true},"client_cert":{"type":"string","description":"Client certificate in PEM format.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"Client key in PEM format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Disable target certificate validation. Defaults to `false`.","description_kind":"markdown","optional":true},"server_name":{"type":"string","description":"Used to verify the hostname for the targets.","description_kind":"markdown","optional":true}},"description":"TLS config.","description_kind":"markdown"},"max_items":1}},"description":"Settings for HTTP check. The target must be a URL (http or https).","description_kind":"markdown"},"max_items":1},"multihttp":{"nesting_mode":"set","block":{"block_types":{"entries":{"nesting_mode":"list","block":{"block_types":{"assertions":{"nesting_mode":"list","block":{"attributes":{"condition":{"type":"string","description":"The condition of the assertion: NOT_CONTAINS, EQUALS, STARTS_WITH, ENDS_WITH, TYPE_OF, CONTAINS","description_kind":"markdown","optional":true},"expression":{"type":"string","description":"The expression of the assertion. Should start with $.","description_kind":"markdown","optional":true},"subject":{"type":"string","description":"The subject of the assertion: RESPONSE_HEADERS, HTTP_STATUS_CODE, RESPONSE_BODY","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The type of assertion to make: TEXT, JSON_PATH_VALUE, JSON_PATH_ASSERTION, REGEX_ASSERTION","description_kind":"markdown","required":true},"value":{"type":"string","description":"The value of the assertion","description_kind":"markdown","optional":true}},"description":"Assertions to make on the request response","description_kind":"markdown"}},"request":{"nesting_mode":"set","block":{"attributes":{"method":{"type":"string","description":"The HTTP method to use","description_kind":"markdown","required":true},"url":{"type":"string","description":"The URL for the request","description_kind":"markdown","required":true}},"block_types":{"body":{"nesting_mode":"set","block":{"attributes":{"content_encoding":{"type":"string","description":"The content encoding of the body","description_kind":"markdown","optional":true},"content_type":{"type":"string","description":"The content type of the body","description_kind":"markdown","optional":true},"payload":{"type":"string","description":"The body payload","description_kind":"markdown","optional":true}},"description":"The body of the HTTP request used in probe.","description_kind":"markdown"}},"headers":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"Name of the header to send","description_kind":"markdown","required":true},"value":{"type":"string","description":"Value of the header to send","description_kind":"markdown","required":true}},"description":"The headers to send with the request","description_kind":"markdown"}},"query_fields":{"nesting_mode":"set","block":{"attributes":{"name":{"type":"string","description":"Name of the query field to send","description_kind":"markdown","required":true},"value":{"type":"string","description":"Value of the query field to send","description_kind":"markdown","required":true}},"description":"Query fields to send with the request","description_kind":"markdown"}}},"description":"An individual MultiHTTP request","description_kind":"markdown"},"max_items":1},"variables":{"nesting_mode":"list","block":{"attributes":{"attribute":{"type":"string","description":"The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR","description_kind":"markdown","optional":true},"expression":{"type":"string","description":"The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The name of the variable to extract","description_kind":"markdown","optional":true},"type":{"type":"string","description":"The method of finding the variable value to extract. JSON_PATH, REGEX, CSS_SELECTOR","description_kind":"markdown","required":true}},"description":"Variables to extract from the request response","description_kind":"markdown"}}},"description_kind":"plain"}}},"description":"Settings for MultiHTTP check. The target must be a URL (http or https)","description_kind":"markdown"},"max_items":1},"ping":{"nesting_mode":"set","block":{"attributes":{"dont_fragment":{"type":"bool","description":"Set the DF-bit in the IP-header. Only works with ipV4. Defaults to `false`.","description_kind":"markdown","optional":true},"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"payload_size":{"type":"number","description":"Payload size. Defaults to `0`.","description_kind":"markdown","optional":true},"source_ip_address":{"type":"string","description":"Source IP address.","description_kind":"markdown","optional":true}},"description":"Settings for ping (ICMP) check. The target must be a valid hostname or IP address.","description_kind":"markdown"},"max_items":1},"scripted":{"nesting_mode":"set","block":{"attributes":{"script":{"type":"string","description_kind":"plain","required":true}},"description":"Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.","description_kind":"markdown"},"max_items":1},"tcp":{"nesting_mode":"set","block":{"attributes":{"ip_version":{"type":"string","description":"Options are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.","description_kind":"markdown","optional":true},"source_ip_address":{"type":"string","description":"Source IP address.","description_kind":"markdown","optional":true},"tls":{"type":"bool","description":"Whether or not TLS is used when the connection is initiated. Defaults to `false`.","description_kind":"markdown","optional":true}},"block_types":{"query_response":{"nesting_mode":"set","block":{"attributes":{"expect":{"type":"string","description":"Response to expect.","description_kind":"markdown","required":true},"send":{"type":"string","description":"Data to send.","description_kind":"markdown","required":true},"start_tls":{"type":"bool","description":"Upgrade TCP connection to TLS. Defaults to `false`.","description_kind":"markdown","optional":true}},"description":"The query sent in the TCP probe and the expected associated response.","description_kind":"markdown"}},"tls_config":{"nesting_mode":"set","block":{"attributes":{"ca_cert":{"type":"string","description":"CA certificate in PEM format.","description_kind":"markdown","optional":true},"client_cert":{"type":"string","description":"Client certificate in PEM format.","description_kind":"markdown","optional":true},"client_key":{"type":"string","description":"Client key in PEM format.","description_kind":"markdown","optional":true,"sensitive":true},"insecure_skip_verify":{"type":"bool","description":"Disable target certificate validation. Defaults to `false`.","description_kind":"markdown","optional":true},"server_name":{"type":"string","description":"Used to verify the hostname for the targets.","description_kind":"markdown","optional":true}},"description":"TLS config.","description_kind":"markdown"},"max_items":1}},"description":"Settings for TCP check. The target must be of the form `\u003chost\u003e:\u003cport\u003e`, where the host portion must be a valid hostname or IP address.","description_kind":"markdown"},"max_items":1},"traceroute":{"nesting_mode":"set","block":{"attributes":{"max_hops":{"type":"number","description":"Maximum TTL for the trace Defaults to `64`.","description_kind":"markdown","optional":true},"max_unknown_hops":{"type":"number","description":"Maximum number of hosts to travers that give no response Defaults to `15`.","description_kind":"markdown","optional":true},"ptr_lookup":{"type":"bool","description":"Reverse lookup hostnames from IP addresses Defaults to `true`.","description_kind":"markdown","optional":true}},"description":"Settings for traceroute check. The target must be a valid hostname or IP address","description_kind":"markdown"},"max_items":1}},"description":"Check settings. Should contain exactly one nested block.","description_kind":"markdown"},"min_items":1,"max_items":1}},"description":"\nSynthetic Monitoring checks are tests that run on selected probes at defined\nintervals and report metrics and logs back to your Grafana Cloud account. The\ntarget for checks can be a domain name, a server, or a website, depending on\nwhat information you would like to gather about your endpoint. You can define\nmultiple checks for a single endpoint to check different capabilities.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/)\n","description_kind":"markdown"}},"grafana_synthetic_monitoring_check_alerts":{"version":0,"block":{"attributes":{"alerts":{"type":["set",["object",{"name":"string","period":"string","threshold":"number"}]],"description":"List of alerts for the check.","description_kind":"markdown","required":true},"check_id":{"type":"number","description":"The ID of the check to manage alerts for.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"\nManages alerts for a check in Grafana Synthetic Monitoring.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/configure-per-check-alerts/)","description_kind":"markdown"}},"grafana_synthetic_monitoring_installation":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"metrics_publisher_key":{"type":"string","description":"The [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack.","description_kind":"markdown","required":true,"sensitive":true},"sm_access_token":{"type":"string","description":"Generated token to access the SM API.","description_kind":"markdown","computed":true},"stack_id":{"type":"string","description":"The ID or slug of the stack to install SM on.","description_kind":"markdown","required":true},"stack_sm_api_url":{"type":"string","description":"The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.","description_kind":"markdown","optional":true,"computed":true}},"description":"\nSets up Synthetic Monitoring on a Grafana cloud stack and generates a token. \nOnce a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install synthetic monitoring.\nThis resource cannot be imported but it can be used on an existing Synthetic Monitoring installation without issues.\n\n**Note that this resource must be used on a provider configured with Grafana Cloud credentials.**\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/)\n* [API documentation](https://github.com/grafana/synthetic-monitoring-api-go-client/blob/main/docs/API.md#apiv1registerinstall)\n\nRequired access policy scopes:\n\n* stacks:read\n","description_kind":"markdown"}},"grafana_synthetic_monitoring_probe":{"version":0,"block":{"attributes":{"auth_token":{"type":"string","description":"The probe authentication token. Your probe must use this to authenticate with Grafana Cloud.","description_kind":"markdown","computed":true,"sensitive":true},"disable_browser_checks":{"type":"bool","description":"Disables browser checks for this probe. Defaults to `false`.","description_kind":"markdown","optional":true},"disable_scripted_checks":{"type":"bool","description":"Disables scripted checks for this probe. Defaults to `false`.","description_kind":"markdown","optional":true},"id":{"type":"string","description":"The ID of the probe.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"Custom labels to be included with collected metrics and logs.","description_kind":"markdown","optional":true},"latitude":{"type":"number","description":"Latitude coordinates.","description_kind":"markdown","required":true},"longitude":{"type":"number","description":"Longitude coordinates.","description_kind":"markdown","required":true},"name":{"type":"string","description":"Name of the probe.","description_kind":"markdown","required":true},"public":{"type":"bool","description":"Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`.","description_kind":"markdown","optional":true},"region":{"type":"string","description":"Region of the probe.","description_kind":"markdown","required":true},"tenant_id":{"type":"number","description":"The tenant ID of the probe.","description_kind":"markdown","computed":true}},"description":"\nBesides the public probes run by Grafana Labs, you can also install your\nown private probes. These are only accessible to you and only write data to\nyour Grafana Cloud account. Private probes are instances of the open source\nGrafana Synthetic Monitoring Agent.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/)\n","description_kind":"markdown"}},"grafana_team":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"An email address for the team.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"ignore_externally_synced_members":{"type":"bool","description":"Ignores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/).\nTeam Sync can be provisioned using [grafana_team_external_group resource](https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/team_external_group).\n Defaults to `true`.","description_kind":"markdown","optional":true},"members":{"type":["set","string"],"description":"A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The display name for the Grafana team created.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"team_id":{"type":"number","description":"The team id assigned to this team by Grafana.","description_kind":"markdown","computed":true},"team_uid":{"type":"string","description":"The team uid assigned to this team by Grafana.","description_kind":"markdown","computed":true}},"block_types":{"preferences":{"nesting_mode":"list","block":{"attributes":{"home_dashboard_uid":{"type":"string","description":"The UID of the dashboard to display when a team member logs in. Defaults to ``.","description_kind":"markdown","optional":true},"theme":{"type":"string","description":"The default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to ``.","description_kind":"markdown","optional":true},"timezone":{"type":"string","description":"The default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to ``.","description_kind":"markdown","optional":true},"week_start":{"type":"string","description":"The default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to ``.","description_kind":"markdown","optional":true}},"description_kind":"plain"},"max_items":1},"team_sync":{"nesting_mode":"list","block":{"attributes":{"groups":{"type":["set","string"],"description_kind":"plain","optional":true}},"description":"Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n\t* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)","description_kind":"markdown"},"max_items":1}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/team-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)\n","description_kind":"markdown"}},"grafana_team_external_group":{"version":0,"block":{"attributes":{"groups":{"type":["set","string"],"description":"The team external groups list","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"team_id":{"type":"string","description":"The Team ID","description_kind":"markdown","required":true}},"description":"Equivalent to the the `team_sync` attribute of the `grafana_team` resource. Use one or the other to configure a team's external groups syncing config.","description_kind":"markdown"}},"grafana_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email address of the Grafana user.","description_kind":"markdown","required":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_admin":{"type":"bool","description":"Whether to make user an admin. Defaults to `false`.","description_kind":"markdown","optional":true},"login":{"type":"string","description":"The username for the Grafana user.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The display name for the Grafana user.","description_kind":"markdown","optional":true},"password":{"type":"string","description":"The password for the Grafana user.","description_kind":"markdown","required":true,"sensitive":true},"user_id":{"type":"number","description":"The numerical ID of the Grafana user.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/user/)\n\nThis resource represents an instance-scoped resource and uses Grafana's admin APIs.\nIt does not work with API tokens or service accounts which are org-scoped. \nYou must use basic auth.\nThis resource is also not compatible with Grafana Cloud, as it does not allow basic auth.\n","description_kind":"markdown"}}},"data_source_schemas":{"grafana_cloud_access_policies":{"version":0,"block":{"attributes":{"access_policies":{"type":["set",["object",{"display_name":"string","id":"string","name":"string","region":"string","status":"string"}]],"description_kind":"plain","computed":true},"id":{"type":"string","description":"The ID of this datasource. This is an internal identifier used by the provider to track this datasource.","description_kind":"plain","computed":true},"name_filter":{"type":"string","description":"If set, only access policies with the specified name will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true},"region_filter":{"type":"string","description":"If set, only access policies in the specified region will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true}},"description":"\nFetches access policies from Grafana Cloud.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)\n\nRequired access policy scopes:\n\n* accesspolicies:read","description_kind":"markdown"}},"grafana_cloud_ips":{"version":0,"block":{"attributes":{"hosted_alerts":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted alerts.","description_kind":"markdown","computed":true},"hosted_grafana":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted Grafana.","description_kind":"markdown","computed":true},"hosted_logs":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted logs.","description_kind":"markdown","computed":true},"hosted_metrics":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted metrics.","description_kind":"markdown","computed":true},"hosted_profiles":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted profiles.","description_kind":"markdown","computed":true},"hosted_traces":{"type":["set","string"],"description":"Set of IP addresses that are used for hosted traces.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true}},"description":"Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info","description_kind":"markdown"}},"grafana_cloud_organization":{"version":0,"block":{"attributes":{"created_at":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description_kind":"plain","computed":true},"slug":{"type":"string","description_kind":"plain","optional":true,"computed":true},"updated_at":{"type":"string","description_kind":"plain","computed":true},"url":{"type":"string","description_kind":"plain","computed":true}},"description_kind":"plain"}},"grafana_cloud_private_data_source_connect_networks":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of this datasource. This is an internal identifier used by the provider to track this datasource.","description_kind":"plain","computed":true},"name_filter":{"type":"string","description":"If set, only private data source connect networks with the specified name will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true},"private_data_source_connect_networks":{"type":["set",["object",{"display_name":"string","id":"string","name":"string","region":"string","status":"string"}]],"description_kind":"plain","computed":true},"region_filter":{"type":"string","description":"If set, only private data source connect networks in the specified region will be returned. This is faster than filtering in Terraform.","description_kind":"plain","optional":true}},"description":"\nFetches Private Data source Connect networks from Grafana Cloud.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-policies/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-access-policies)\n\nRequired access policy scopes:\n\n* accesspolicies:read","description_kind":"markdown"}},"grafana_cloud_provider_aws_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"An optional human-readable name for this AWS Account resource.","description_kind":"plain","computed":true},"regions":{"type":["set","string"],"description":"A set of regions that this AWS Account resource applies to.","description_kind":"plain","computed":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this AWS Account resource.","description_kind":"plain","required":true},"role_arn":{"type":"string","description":"An IAM Role ARN string to represent with this AWS Account resource.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_cloud_provider_aws_cloudwatch_scrape_job":{"version":0,"block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","computed":true},"disabled_reason":{"type":"string","description":"When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS CloudWatch Scrape Job is enabled or not.","description_kind":"plain","computed":true},"export_tags":{"type":"bool","description":"When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as `aws_\u003cservice_name\u003e_info`.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS CloudWatch Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"regions":{"type":["set","string"],"description":"The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.","description_kind":"plain","computed":true},"regions_subset_override_used":{"type":"bool","description":"When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"role_arn":{"type":"string","description":"The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","computed":true}},"block_types":{"custom_namespace":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the custom namespace to scrape.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the custom namespace.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.","description_kind":"plain","computed":true},"tags_to_add_to_metrics":{"type":["set","string"],"description":"A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","computed":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_aws_cloudwatch_scrape_jobs":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}\".","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"block_types":{"scrape_job":{"nesting_mode":"list","block":{"attributes":{"aws_account_resource_id":{"type":"string","description":"The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the `resource_id` attribute of the `grafana_cloud_provider_aws_account` resource.","description_kind":"plain","computed":true},"disabled_reason":{"type":"string","description":"When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the AWS CloudWatch Scrape Job is enabled or not.","description_kind":"plain","computed":true},"export_tags":{"type":"bool","description":"When enabled, AWS resource tags are exported as Prometheus labels to metrics formatted as `aws_\u003cservice_name\u003e_info`.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the AWS CloudWatch Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","computed":true},"regions":{"type":["set","string"],"description":"The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.","description_kind":"plain","computed":true},"regions_subset_override_used":{"type":"bool","description":"When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"role_arn":{"type":"string","description":"The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","computed":true},"static_labels":{"type":["map","string"],"description":"A set of static labels to add to all metrics exported by this scrape job.","description_kind":"plain","computed":true}},"block_types":{"custom_namespace":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the custom namespace to scrape.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the custom namespace.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"service":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services, metrics, and their statistics.","description_kind":"plain","computed":true},"scrape_interval_seconds":{"type":"number","description":"The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.","description_kind":"plain","computed":true},"tags_to_add_to_metrics":{"type":["set","string"],"description":"A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.","description_kind":"plain","computed":true}},"block_types":{"metric":{"nesting_mode":"list","block":{"attributes":{"name":{"type":"string","description":"The name of the metric to scrape.","description_kind":"plain","computed":true},"statistics":{"type":["set","string"],"description":"A set of statistics to scrape.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","computed":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","computed":true}},"description":"One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.","description_kind":"plain"}}},"description":"A list of AWS CloudWatch Scrape Job objects associated with the given StackID.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_provider_azure_credential":{"version":0,"block":{"attributes":{"client_id":{"type":"string","description":"The client ID of the Azure Credential.","description_kind":"plain","computed":true},"client_secret":{"type":"string","description":"The client secret of the Azure Credential.","description_kind":"plain","computed":true,"sensitive":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ resource_id }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Azure Credential.","description_kind":"plain","computed":true},"resource_id":{"type":"string","description":"The ID given by the Grafana Cloud Provider API to this Azure Credential resource.","description_kind":"plain","required":true},"resource_tags_to_add_to_metrics":{"type":["set","string"],"description":"The list of resource tags to add to metrics.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The StackID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"tenant_id":{"type":"string","description":"The tenant ID of the Azure Credential.","description_kind":"plain","computed":true}},"block_types":{"auto_discovery_configuration":{"nesting_mode":"list","block":{"attributes":{"resource_type_configurations":{"type":["list",["object",{"metric_configuration":["list",["object",{"aggregations":["list","string"],"dimensions":["list","string"],"name":"string"}]],"resource_type_name":"string"}]],"description":"The list of resource type configurations.","description_kind":"plain","computed":true},"subscription_id":{"type":"string","description":"The subscription ID of the Azure account.","description_kind":"plain","computed":true}},"description":"The list of auto discovery configurations.","description_kind":"plain"}},"resource_discovery_tag_filter":{"nesting_mode":"list","block":{"attributes":{"key":{"type":"string","description":"The key of the tag filter.","description_kind":"plain","computed":true},"value":{"type":"string","description":"The value of the tag filter.","description_kind":"plain","computed":true}},"description":"The list of tag filters to apply to resources.","description_kind":"plain"}}},"description_kind":"plain"}},"grafana_cloud_stack":{"version":0,"block":{"attributes":{"alertmanager_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Alertmanager instances (Optional)","description_kind":"markdown","computed":true},"alertmanager_name":{"type":"string","description":"Name of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_status":{"type":"string","description":"Status of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_url":{"type":"string","description":"Base URL of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"alertmanager_user_id":{"type":"number","description":"User ID of the Alertmanager instance configured for this stack.","description_kind":"markdown","computed":true},"cluster_slug":{"type":"string","description":"Slug of the cluster where this stack resides.","description_kind":"markdown","computed":true},"delete_protection":{"type":"bool","description":"Whether to enable delete protection for the stack, preventing accidental deletion.","description_kind":"markdown","computed":true},"description":{"type":"string","description":"Description of stack.","description_kind":"markdown","computed":true},"fleet_management_name":{"type":"string","description":"Name of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Fleet Management when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"fleet_management_status":{"type":"string","description":"Status of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_url":{"type":"string","description":"Base URL of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"fleet_management_user_id":{"type":"number","description":"User ID of the Fleet Management instance configured for this stack.","description_kind":"markdown","computed":true},"grafanas_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the grafana instance (Optional)","description_kind":"markdown","computed":true},"graphite_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Graphite instance (Optional)","description_kind":"markdown","computed":true},"graphite_name":{"type":"string","description_kind":"plain","computed":true},"graphite_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Graphite when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"graphite_status":{"type":"string","description_kind":"plain","computed":true},"graphite_url":{"type":"string","description_kind":"plain","computed":true},"graphite_user_id":{"type":"number","description_kind":"plain","computed":true},"id":{"type":"string","description":"The stack id assigned to this stack by Grafana.","description_kind":"markdown","computed":true},"influx_url":{"type":"string","description":"Base URL of the InfluxDB instance configured for this stack. The username is the same as the metrics' (`prometheus_user_id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-influxdb/push-from-telegraf/ for docs on how to use this.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"A map of labels to assign to the stack. Label keys and values must match the following regexp: \"^[a-zA-Z0-9/\\\\-.]+$\" and stacks cannot have more than 10 labels.","description_kind":"markdown","computed":true},"logs_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Logs instance (Optional)","description_kind":"markdown","computed":true},"logs_name":{"type":"string","description_kind":"plain","computed":true},"logs_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Logs when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"logs_status":{"type":"string","description_kind":"plain","computed":true},"logs_url":{"type":"string","description_kind":"plain","computed":true},"logs_user_id":{"type":"number","description_kind":"plain","computed":true},"name":{"type":"string","description":"Name of stack. Conventionally matches the url of the instance (e.g. `\u003cstack_slug\u003e.grafana.net`).","description_kind":"markdown","computed":true},"oncall_api_url":{"type":"string","description":"Base URL of the OnCall API instance configured for this stack.","description_kind":"markdown","computed":true},"org_id":{"type":"number","description":"Organization id to assign to this stack.","description_kind":"markdown","computed":true},"org_name":{"type":"string","description":"Organization name to assign to this stack.","description_kind":"markdown","computed":true},"org_slug":{"type":"string","description":"Organization slug to assign to this stack.","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_private_connectivity_info_service_name":{"type":"string","description":"Service Name for OTLP when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"otlp_url":{"type":"string","description":"Base URL of the OTLP instance configured for this stack. The username is the stack's ID (`id` attribute of this resource). See https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/ for docs on how to use this.","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_api_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's API when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"pdc_gateway_private_connectivity_info_service_name":{"type":"string","description":"Service Name for PDC's Gateway when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Profiles instance (Optional)","description_kind":"markdown","computed":true},"profiles_name":{"type":"string","description_kind":"plain","computed":true},"profiles_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Profiles when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"profiles_status":{"type":"string","description_kind":"plain","computed":true},"profiles_url":{"type":"string","description_kind":"plain","computed":true},"profiles_user_id":{"type":"number","description_kind":"plain","computed":true},"prometheus_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Prometheus instance (Optional)","description_kind":"markdown","computed":true},"prometheus_name":{"type":"string","description":"Prometheus name for this instance.","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Prometheus when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"prometheus_remote_endpoint":{"type":"string","description":"Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana","description_kind":"markdown","computed":true},"prometheus_remote_write_endpoint":{"type":"string","description":"Use this URL to send prometheus metrics to Grafana cloud","description_kind":"markdown","computed":true},"prometheus_status":{"type":"string","description":"Prometheus status for this instance.","description_kind":"markdown","computed":true},"prometheus_url":{"type":"string","description":"Prometheus url for this instance.","description_kind":"markdown","computed":true},"prometheus_user_id":{"type":"number","description":"Prometheus user ID. Used for e.g. remote_write.","description_kind":"markdown","computed":true},"region_slug":{"type":"string","description":"The region this stack is deployed to.","description_kind":"markdown","computed":true},"slug":{"type":"string","description":"Subdomain that the Grafana instance will be available at (i.e. setting slug to “\u003cstack_slug\u003e” will make the instance\navailable at “https://\u003cstack_slug\u003e.grafana.net\".","description_kind":"markdown","required":true},"status":{"type":"string","description":"Status of the stack.","description_kind":"markdown","computed":true},"traces_ip_allow_list_cname":{"type":"string","description":"Comma-separated list of CNAMEs that can be whitelisted to access the Traces instance (Optional)","description_kind":"markdown","computed":true},"traces_name":{"type":"string","description_kind":"plain","computed":true},"traces_private_connectivity_info_private_dns":{"type":"string","description":"Private DNS for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_private_connectivity_info_service_name":{"type":"string","description":"Service Name for Traces when using AWS PrivateLink (only for AWS stacks)","description_kind":"markdown","computed":true},"traces_status":{"type":"string","description_kind":"plain","computed":true},"traces_url":{"type":"string","description":"Base URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append `/tempo` to the URL.","description_kind":"markdown","computed":true},"traces_user_id":{"type":"number","description_kind":"plain","computed":true},"url":{"type":"string","description":"Custom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack","description_kind":"markdown","computed":true}},"description":"Data source for Grafana Stack","description_kind":"markdown"}},"grafana_connections_metrics_endpoint_scrape_job":{"version":0,"block":{"attributes":{"authentication_basic_password":{"type":"string","description":"Password for basic authentication.","description_kind":"plain","computed":true,"sensitive":true},"authentication_basic_username":{"type":"string","description":"Username for basic authentication.","description_kind":"plain","computed":true},"authentication_bearer_token":{"type":"string","description":"Token for authentication bearer.","description_kind":"plain","computed":true,"sensitive":true},"authentication_method":{"type":"string","description":"Method to pass authentication credentials: basic or bearer.","description_kind":"plain","computed":true},"enabled":{"type":"bool","description":"Whether the metrics endpoint scrape job is enabled or not.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The Terraform Resource ID. This has the format \"{{ stack_id }}:{{ name }}\".","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Metrics Endpoint Scrape Job. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"scrape_interval_seconds":{"type":"number","description":"Frequency for scraping the metrics endpoint: 30, 60, or 120 seconds.","description_kind":"plain","computed":true},"stack_id":{"type":"string","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"url":{"type":"string","description":"The url to scrape metrics.","description_kind":"plain","computed":true}},"description_kind":"plain"}},"grafana_dashboard":{"version":1,"block":{"attributes":{"config_json":{"type":"string","description":"The complete dashboard model JSON.","description_kind":"markdown","computed":true},"dashboard_id":{"type":"number","description":"The numerical ID of the Grafana dashboard. Specify either this or `uid`. Defaults to `-1`.","description_kind":"markdown","optional":true},"folder_uid":{"type":"string","description":"The UID of the folder where the Grafana dashboard is found.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_starred":{"type":"bool","description":"Whether or not the Grafana dashboard is starred. Starred Dashboards will show up on your own Home Dashboard by default, and are a convenient way to mark Dashboards that you’re interested in.","description_kind":"markdown","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"slug":{"type":"string","description":"URL slug of the dashboard (deprecated).","description_kind":"markdown","computed":true},"title":{"type":"string","description":"The title of the Grafana dashboard.","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"The uid of the Grafana dashboard. Specify either this or `dashboard_id`. Defaults to ``.","description_kind":"markdown","optional":true},"url":{"type":"string","description":"The full URL of the dashboard.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"The numerical version of the Grafana dashboard.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)\n* [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)\n","description_kind":"markdown"}},"grafana_dashboards":{"version":0,"block":{"attributes":{"dashboards":{"type":["list",["object",{"folder_title":"string","title":"string","uid":"string"}]],"description_kind":"plain","computed":true},"folder_uids":{"type":["list","string"],"description":"UIDs of Grafana folders containing dashboards. Specify to filter for dashboards by folder (eg. `[\"General\"]` for General folder), or leave blank to get all dashboards in all folders.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"limit":{"type":"number","description":"Maximum number of dashboard search results to return. Defaults to `5000`.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"tags":{"type":["list","string"],"description":"List of string Grafana dashboard tags to search for, eg. `[\"prod\"]`. Used only as search input, i.e., attribute value will remain unchanged.","description_kind":"markdown","optional":true}},"description":"\nDatasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/)\n* [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/)\n* [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/)\n","description_kind":"markdown"}},"grafana_data_source":{"version":1,"block":{"attributes":{"access_mode":{"type":"string","description":"The method by which Grafana will access the data source: `proxy` or `direct`.","description_kind":"markdown","computed":true},"basic_auth_enabled":{"type":"bool","description":"Whether to enable basic auth for the data source.","description_kind":"markdown","computed":true},"basic_auth_username":{"type":"string","description":"Basic auth username.","description_kind":"markdown","computed":true},"database_name":{"type":"string","description":"(Required by some data source types) The name of the database to use on the selected data source server.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_default":{"type":"bool","description":"Whether to set the data source as default. This should only be `true` to a single data source.","description_kind":"markdown","computed":true},"json_data_encoded":{"type":"string","description":"Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.","description_kind":"markdown","computed":true},"name":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"private_data_source_connect_network_id":{"type":"string","description":"(Can only be used with data sources in Grafana Cloud) The ID of the Private Data source Connect network to use with this data source.","description_kind":"markdown","computed":true},"type":{"type":"string","description":"The data source type. Must be one of the supported data source keywords.","description_kind":"markdown","computed":true},"uid":{"type":"string","description_kind":"plain","optional":true,"computed":true},"url":{"type":"string","description":"The URL for the data source. The type of URL required varies depending on the chosen data source type.","description_kind":"markdown","computed":true},"username":{"type":"string","description":"(Required by some data source types) The username to use to authenticate to the data source.","description_kind":"markdown","computed":true}},"description":"Get details about a Grafana Datasource querying by either name, uid or ID","description_kind":"markdown"}},"grafana_fleet_management_collector":{"version":0,"block":{"attributes":{"enabled":{"type":"bool","description":"Whether remote configuration for the collector is enabled or not. If the collector is disabled, it will receive empty configurations from the Fleet Management service","description_kind":"plain","computed":true},"id":{"type":"string","description":"ID of the collector","description_kind":"plain","required":true},"local_attributes":{"type":["map","string"],"description":"Local attributes for the collector","description_kind":"plain","computed":true},"remote_attributes":{"type":["map","string"],"description":"Remote attributes for the collector","description_kind":"plain","computed":true}},"description":"\nRepresents a Grafana Fleet Management collector.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/collector-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n","description_kind":"plain"}},"grafana_fleet_management_collectors":{"version":0,"block":{"attributes":{"collectors":{"type":["list",["object",{"enabled":"bool","id":"string","local_attributes":["map","string"],"remote_attributes":["map","string"]}]],"description":"List of collectors","description_kind":"plain","computed":true}},"description":"\nRepresents a list of Grafana Fleet Management collectors.\n\n* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/collector-api/)\n\nRequired access policy scopes:\n\n* fleet-management:read\n","description_kind":"plain"}},"grafana_folder":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"parent_folder_uid":{"type":"string","description":"The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.","description_kind":"markdown","computed":true},"title":{"type":"string","description":"The title of the folder. If not set, only the uid is used to find the folder.","description_kind":"markdown","optional":true},"uid":{"type":"string","description":"The uid of the folder. If not set, only the title of the folder is used to find the folder.","description_kind":"markdown","optional":true,"computed":true},"url":{"type":"string","description":"The full URL of the folder.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)\n","description_kind":"markdown"}},"grafana_folders":{"version":0,"block":{"attributes":{"folders":{"type":["set",["object",{"id":"number","title":"string","uid":"string","url":"string"}]],"description":"The Grafana instance's folders.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder/)\n","description_kind":"markdown"}},"grafana_frontend_o11y_app":{"version":0,"block":{"attributes":{"allowed_origins":{"type":["list","string"],"description":"A list of allowed origins for CORS.","description_kind":"plain","computed":true},"collector_endpoint":{"type":"string","description":"The collector URL Grafana Cloud Frontend Observability. Use this endpoint to send your Telemetry.","description_kind":"plain","computed":true},"extra_log_attributes":{"type":["map","string"],"description":"The extra attributes to append in each signal.","description_kind":"plain","computed":true},"id":{"type":"number","description":"The Terraform Resource ID. This auto-generated from Frontend Observability API.","description_kind":"plain","computed":true},"name":{"type":"string","description":"The name of the Frontend Observability App. Part of the Terraform Resource ID.","description_kind":"plain","required":true},"settings":{"type":["map","string"],"description":"The settings of the Frontend Observability App.","description_kind":"plain","computed":true},"stack_id":{"type":"number","description":"The Stack ID of the Grafana Cloud instance. Part of the Terraform Resource ID.","description_kind":"plain","required":true}},"description_kind":"plain"}},"grafana_k6_load_test":{"version":1,"block":{"attributes":{"baseline_test_run_id":{"type":"string","description":"Identifier of a baseline test run used for results comparison.","description_kind":"plain","computed":true},"created":{"type":"string","description":"The date when the load test was created.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the load test.","description_kind":"plain","required":true},"name":{"type":"string","description":"Human-friendly identifier of the load test.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project this load test belongs to.","description_kind":"plain","computed":true},"script":{"type":"string","description":"The k6 test script content.","description_kind":"plain","computed":true},"updated":{"type":"string","description":"The date when the load test was last updated.","description_kind":"plain","computed":true}},"description":"Retrieves a k6 load test.","description_kind":"plain"}},"grafana_k6_load_tests":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The identifier of the project the load tests belong to. This is set to the same as the project_id.","description_kind":"plain","computed":true},"load_tests":{"type":["list",["object",{"baseline_test_run_id":"string","created":"string","id":"string","name":"string","project_id":"string","script":"string","updated":"string"}]],"description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the load test.","description_kind":"plain","optional":true},"project_id":{"type":"string","description":"The identifier of the project the load tests belong to.","description_kind":"plain","required":true}},"description":"Retrieves all k6 load tests that belong to a project.","description_kind":"plain"}},"grafana_k6_project":{"version":1,"block":{"attributes":{"created":{"type":"string","description":"The date when the project was created.","description_kind":"plain","computed":true},"grafana_folder_uid":{"type":"string","description":"The Grafana folder uid.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the project.","description_kind":"plain","required":true},"is_default":{"type":"bool","description":"Whether this project is the default for running tests when no explicit project identifier is provided.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the project.","description_kind":"plain","computed":true},"updated":{"type":"string","description":"The date when the project was last updated.","description_kind":"plain","computed":true}},"description":"Retrieves a k6 project.","description_kind":"plain"}},"grafana_k6_project_allowed_load_zones":{"version":0,"block":{"attributes":{"allowed_load_zones":{"type":["list","string"],"description":"List of allowed private k6 load zone IDs for this project.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The identifier of the project. This is set to the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to retrieve private allowed load zones for.","description_kind":"plain","required":true}},"description":"Retrieves allowed private load zones for a k6 project.","description_kind":"plain"}},"grafana_k6_project_limits":{"version":1,"block":{"attributes":{"duration_max_per_test":{"type":"number","description":"Maximum duration of a test in seconds.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The identifier of the project limits. This is set to the same as the project_id.","description_kind":"plain","computed":true},"project_id":{"type":"string","description":"The identifier of the project to get limits for.","description_kind":"plain","required":true},"vu_browser_max_per_test":{"type":"number","description":"Maximum number of concurrent browser virtual users (VUs) used in one test.","description_kind":"plain","computed":true},"vu_max_per_test":{"type":"number","description":"Maximum number of concurrent virtual users (VUs) used in one test.","description_kind":"plain","computed":true},"vuh_max_per_month":{"type":"number","description":"Maximum amount of virtual user hours (VU/h) used per one calendar month.","description_kind":"plain","computed":true}},"description":"Retrieves a k6 project limits.","description_kind":"plain"}},"grafana_k6_projects":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"Human-friendly identifier of the project. This is set to the same as name.","description_kind":"plain","computed":true},"name":{"type":"string","description":"Human-friendly identifier of the project.","description_kind":"plain","optional":true},"projects":{"type":["list",["object",{"created":"string","grafana_folder_uid":"string","id":"string","is_default":"bool","name":"string","updated":"string"}]],"description_kind":"plain","computed":true}},"description":"Retrieves all k6 projects with the given name.","description_kind":"plain"}},"grafana_k6_schedule":{"version":0,"block":{"attributes":{"created_by":{"type":"string","description":"The email of the user who created the schedule.","description_kind":"plain","computed":true},"deactivated":{"type":"bool","description":"Whether the schedule is deactivated.","description_kind":"plain","computed":true},"id":{"type":"string","description":"Numeric identifier of the schedule.","description_kind":"plain","computed":true},"load_test_id":{"type":"string","description":"The identifier of the load test to retrieve the schedule for.","description_kind":"plain","required":true},"next_run":{"type":"string","description":"The next scheduled execution time.","description_kind":"plain","computed":true},"starts":{"type":"string","description":"The start time for the schedule (RFC3339 format).","description_kind":"plain","computed":true}},"block_types":{"recurrence_rule":{"nesting_mode":"single","block":{"attributes":{"byday":{"type":["list","string"],"description":"The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.","description_kind":"plain","computed":true},"count":{"type":"number","description":"How many times the recurrence will repeat.","description_kind":"plain","computed":true},"frequency":{"type":"string","description":"The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY).","description_kind":"plain","computed":true},"interval":{"type":"number","description":"The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY).","description_kind":"plain","computed":true},"until":{"type":"string","description":"The end time for the recurrence (RFC3339 format).","description_kind":"plain","computed":true}},"description":"The schedule recurrence settings. If null, the test will run only once on the starts date.","description_kind":"plain"}}},"description":"Retrieves a k6 schedule.","description_kind":"plain"}},"grafana_k6_schedules":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The identifier for this data source.","description_kind":"plain","computed":true},"schedules":{"type":["list",["object",{"created_by":"string","deactivated":"bool","id":"string","load_test_id":"string","next_run":"string","recurrence_rule":["object",{"byday":["list","string"],"count":"number","frequency":"string","interval":"number","until":"string"}],"starts":"string"}]],"description":"List of k6 schedules.","description_kind":"plain","computed":true}},"description":"Retrieves all k6 schedules.","description_kind":"plain"}},"grafana_library_panel":{"version":0,"block":{"attributes":{"created":{"type":"string","description":"Timestamp when the library panel was created.","description_kind":"markdown","computed":true},"dashboard_ids":{"type":["list","number"],"description":"Numerical IDs of Grafana dashboards containing the library panel.","description_kind":"markdown","computed":true},"description":{"type":"string","description":"Description of the library panel.","description_kind":"markdown","computed":true},"folder_name":{"type":"string","description":"Name of the folder containing the library panel.","description_kind":"markdown","computed":true},"folder_uid":{"type":"string","description":"Unique ID (UID) of the folder containing the library panel.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"model_json":{"type":"string","description":"The JSON model for the library panel.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"Name of the library panel.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"panel_id":{"type":"number","description":"The numeric ID of the library panel computed by Grafana.","description_kind":"markdown","computed":true},"type":{"type":"string","description":"Type of the library panel (eg. text).","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"The unique identifier (UID) of the library panel.","description_kind":"markdown","optional":true},"updated":{"type":"string","description":"Timestamp when the library panel was last modified.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Version of the library panel.","description_kind":"markdown","computed":true}},"description":"Data source for retrieving a single library panel by name or uid.","description_kind":"markdown"}},"grafana_library_panels":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.","description_kind":"plain","optional":true,"computed":true},"panels":{"type":["set",["object",{"description":"string","folder_uid":"string","model_json":"string","name":"string","uid":"string"}]],"description_kind":"plain","computed":true}},"description_kind":"plain"}},"grafana_oncall_escalation_chain":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The escalation chain name.","description_kind":"markdown","required":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)\n","description_kind":"markdown"}},"grafana_oncall_integration":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The integration ID.","description_kind":"markdown","required":true},"link":{"type":"string","description":"The link for the integration.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The integration name.","description_kind":"markdown","computed":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)\n","description_kind":"markdown"}},"grafana_oncall_label":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"The ID of the label.","description_kind":"plain","computed":true},"key":{"type":"string","description":"The key for the label.","description_kind":"plain","required":true},"value":{"type":"string","description":"The value of the label.","description_kind":"plain","required":true}},"description":"* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)","description_kind":"markdown"}},"grafana_oncall_outgoing_webhook":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The outgoing webhook name.","description_kind":"markdown","required":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)\n","description_kind":"markdown"}},"grafana_oncall_schedule":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The schedule name.","description_kind":"markdown","required":true},"type":{"type":"string","description":"The schedule type.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/)\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)\n","description_kind":"markdown"}},"grafana_oncall_slack_channel":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The Slack channel name.","description_kind":"markdown","required":true},"slack_id":{"type":"string","description":"The Slack ID of the channel.","description_kind":"markdown","computed":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)\n","description_kind":"markdown"}},"grafana_oncall_team":{"version":0,"block":{"attributes":{"avatar_url":{"type":"string","description_kind":"plain","computed":true},"email":{"type":"string","description_kind":"plain","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The team name.","description_kind":"markdown","required":true}},"description_kind":"plain"}},"grafana_oncall_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email of the user.","description_kind":"plain","computed":true},"id":{"type":"string","description":"The ID of the user.","description_kind":"plain","computed":true},"role":{"type":"string","description":"The role of the user.","description_kind":"plain","computed":true},"username":{"type":"string","description":"The username of the user.","description_kind":"plain","required":true}},"description":"* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)","description_kind":"markdown"}},"grafana_oncall_user_group":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"slack_handle":{"type":"string","description_kind":"plain","required":true},"slack_id":{"type":"string","description_kind":"plain","computed":true}},"description":"\n* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/user_groups/)\n","description_kind":"markdown"}},"grafana_oncall_users":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","computed":true},"users":{"type":["list",["object",{"email":"string","id":"string","role":"string","username":"string"}]],"description_kind":"plain","computed":true}},"description":"* [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/users/)","description_kind":"markdown"}},"grafana_organization":{"version":0,"block":{"attributes":{"admins":{"type":["set","string"],"description":"A list of email addresses corresponding to users given admin access to the organization.","description_kind":"markdown","computed":true},"editors":{"type":["set","string"],"description":"A list of email addresses corresponding to users given editor access to the organization.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"The name of the Organization.","description_kind":"markdown","required":true},"viewers":{"type":["set","string"],"description":"A list of email addresses corresponding to users given viewer access to the organization.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/)\n","description_kind":"markdown"}},"grafana_organization_preferences":{"version":0,"block":{"attributes":{"home_dashboard_uid":{"type":"string","description":"The Organization home dashboard UID. This is only available in Grafana 9.0+.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"theme":{"type":"string","description":"The Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default.","description_kind":"markdown","computed":true},"timezone":{"type":"string","description":"The Organization timezone. Available values are `utc`, `browser`, or an empty string for the default.","description_kind":"markdown","computed":true},"week_start":{"type":"string","description":"The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/organization-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/preferences/#get-current-org-prefs)\n","description_kind":"markdown"}},"grafana_organization_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email address of the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"login":{"type":"string","description":"The username of the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"user_id":{"type":"number","description":"The numerical ID of the Grafana user.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/org/#get-all-users-within-the-current-organization-lookup)\n","description_kind":"markdown"}},"grafana_role":{"version":0,"block":{"attributes":{"description":{"type":"string","description":"Description of the role.","description_kind":"markdown","computed":true},"display_name":{"type":"string","description":"Display name of the role. Available with Grafana 8.5+.","description_kind":"markdown","computed":true},"global":{"type":"bool","description":"Boolean to state whether the role is available across all organizations or not.","description_kind":"markdown","computed":true},"group":{"type":"string","description":"Group of the role. Available with Grafana 8.5+.","description_kind":"markdown","computed":true},"hidden":{"type":"bool","description":"Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"name":{"type":"string","description":"Name of the role","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","computed":true},"permissions":{"type":["set",["object",{"action":"string","scope":"string"}]],"description":"Specific set of actions granted by the role.","description_kind":"markdown","computed":true},"uid":{"type":"string","description":"Unique identifier of the role. Used for assignments.","description_kind":"markdown","computed":true},"version":{"type":"number","description":"Version of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set.","description_kind":"markdown","computed":true}},"description":"\n**Note:** This resource is available only with Grafana Enterprise 8.+.\n\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/access_control/)\n","description_kind":"markdown"}},"grafana_service_account":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_disabled":{"type":"bool","description":"The disabled status for the service account.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the Service Account.","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"role":{"type":"string","description":"The basic role of the service account in the organization.","description_kind":"markdown","computed":true}},"description":"\n\t\t* [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)\n\t\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)\n","description_kind":"markdown"}},"grafana_slos":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"slos":{"type":["list",["object",{"alerting":["list",["object",{"advanced_options":["list",["object",{"min_failures":"number"}]],"annotation":["list",["object",{"key":"string","value":"string"}]],"fastburn":["list",["object",{"annotation":["list",["object",{"key":"string","value":"string"}]],"label":["list",["object",{"key":"string","value":"string"}]]}]],"label":["list",["object",{"key":"string","value":"string"}]],"slowburn":["list",["object",{"annotation":["list",["object",{"key":"string","value":"string"}]],"label":["list",["object",{"key":"string","value":"string"}]]}]]}]],"description":"string","destination_datasource":["list",["object",{"uid":"string"}]],"folder_uid":"string","label":["list",["object",{"key":"string","value":"string"}]],"name":"string","objectives":["list",["object",{"value":"number","window":"string"}]],"query":["list",["object",{"freeform":["list",["object",{"query":"string"}]],"grafana_queries":["list",["object",{"grafana_queries":"string"}]],"ratio":["list",["object",{"group_by_labels":["list","string"],"success_metric":"string","total_metric":"string"}]],"type":"string"}]],"search_expression":"string","uuid":"string"}]],"description":"Returns a list of all SLOs\"","description_kind":"markdown","computed":true}},"description":"\nDatasource for retrieving all SLOs.\n\t\t\n* [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)\n* [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)\n* [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)\n\t\t\t\t","description_kind":"markdown"}},"grafana_synthetic_monitoring_probe":{"version":0,"block":{"attributes":{"disable_browser_checks":{"type":"bool","description":"Disables browser checks for this probe.","description_kind":"markdown","computed":true},"disable_scripted_checks":{"type":"bool","description":"Disables scripted checks for this probe.","description_kind":"markdown","computed":true},"id":{"type":"string","description":"The ID of the probe.","description_kind":"markdown","computed":true},"labels":{"type":["map","string"],"description":"Custom labels to be included with collected metrics and logs.","description_kind":"markdown","computed":true},"latitude":{"type":"number","description":"Latitude coordinates.","description_kind":"markdown","computed":true},"longitude":{"type":"number","description":"Longitude coordinates.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"Name of the probe.","description_kind":"markdown","required":true},"public":{"type":"bool","description":"Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`.","description_kind":"markdown","computed":true},"region":{"type":"string","description":"Region of the probe.","description_kind":"markdown","computed":true},"tenant_id":{"type":"number","description":"The tenant ID of the probe.","description_kind":"markdown","computed":true}},"description":"Data source for retrieving a single probe by name.","description_kind":"markdown"}},"grafana_synthetic_monitoring_probes":{"version":0,"block":{"attributes":{"filter_deprecated":{"type":"bool","description":"If true, only probes that are not deprecated will be returned. Defaults to `true`.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"probes":{"type":["map","number"],"description":"Map of probes with their names as keys and IDs as values.","description_kind":"markdown","computed":true}},"description":"Data source for retrieving all probes.","description_kind":"markdown"}},"grafana_team":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"An email address for the team.","description_kind":"markdown","computed":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"members":{"type":["set","string"],"description":"A set of email addresses corresponding to users who should be given membership\nto the team. Note: users specified here must already exist in Grafana.","description_kind":"markdown","computed":true},"name":{"type":"string","description":"The name of the Grafana team","description_kind":"markdown","required":true},"org_id":{"type":"string","description":"The Organization ID. If not set, the Org ID defined in the provider block will be used.","description_kind":"markdown","optional":true},"preferences":{"type":["list",["object",{"home_dashboard_uid":"string","theme":"string","timezone":"string","week_start":"string"}]],"description_kind":"plain","computed":true},"read_team_sync":{"type":"bool","description":"Whether to read the team sync settings. This is only available in Grafana Enterprise. Defaults to `false`.","description_kind":"markdown","optional":true},"team_id":{"type":"number","description":"The team id assigned to this team by Grafana.","description_kind":"markdown","computed":true},"team_sync":{"type":["list",["object",{"groups":["set","string"]}]],"description":"Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise.\n\t* [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/)\n\t* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/)","description_kind":"markdown","computed":true},"team_uid":{"type":"string","description":"The team uid assigned to this team by Grafana.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/team-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team/)\n","description_kind":"markdown"}},"grafana_user":{"version":0,"block":{"attributes":{"email":{"type":"string","description":"The email address of the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"is_admin":{"type":"bool","description":"Whether the user is an admin.","description_kind":"markdown","computed":true},"login":{"type":"string","description":"The username for the Grafana user. Defaults to ``.","description_kind":"markdown","optional":true},"name":{"type":"string","description":"The display name for the Grafana user.","description_kind":"markdown","computed":true},"user_id":{"type":"number","description":"The numerical ID of the Grafana user. Defaults to `-1`.","description_kind":"markdown","optional":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/user/)\n\nThis data source uses Grafana's admin APIs for reading users which\ndoes not currently work with API Tokens. You must use basic auth.\nThis data source is also not compatible with Grafana Cloud, as it does not allow basic auth.\n","description_kind":"markdown"}},"grafana_users":{"version":0,"block":{"attributes":{"id":{"type":"string","description_kind":"plain","optional":true,"computed":true},"users":{"type":["set",["object",{"email":"string","id":"number","is_admin":"bool","login":"string","name":"string"}]],"description":"The Grafana instance's users.","description_kind":"markdown","computed":true}},"description":"\n* [Official documentation](https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/)\n* [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/user/)\n\t\t\nThis data source uses Grafana's admin APIs for reading users which\ndoes not currently work with API Tokens. You must use basic auth.\nThis data source is also not compatible with Grafana Cloud, as it does not allow basic auth.\n\t\t","description_kind":"markdown"}}}}}}



Test patch:
diff --git a/internal/resources/appplatform/alertenrichment_resource_acc_test.go b/internal/resources/appplatform/alertenrichment_resource_acc_test.go
index 3cc6aaea..3b42d2dc 100644
--- a/internal/resources/appplatform/alertenrichment_resource_acc_test.go
+++ b/internal/resources/appplatform/alertenrichment_resource_acc_test.go
@@ -1,14 +1,20 @@
 package appplatform_test
 
 import (
+	"context"
 	"fmt"
 	"regexp"
 	"testing"
 
+	"github.com/grafana/authlib/claims"
+	"github.com/grafana/grafana-app-sdk/resource"
+	"github.com/grafana/grafana/apps/alerting/alertenrichment/pkg/apis/alertenrichment/v1beta1"
+	"github.com/grafana/terraform-provider-grafana/v4/internal/common"
 	"github.com/grafana/terraform-provider-grafana/v4/internal/testutils"
 	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
 	terraformresource "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
 	"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
+	apierrors "k8s.io/apimachinery/pkg/api/errors"
 )
 
 const alertEnrichmentResourceName = "grafana_apps_alertenrichment_alertenrichment_v1beta1.test"
@@ -33,14 +39,20 @@ func importStateIDFunc(resourceName string) terraformresource.ImportStateIdFunc
 
 // alertEnrichmentConfigBuilder helps build HCL for alert enrichments
 type alertEnrichmentConfigBuilder struct {
-	uid           string
-	title         string
-	description   string
-	alertRuleUIDs []string
-	receivers     []string
-	labelMatchers []matcherConfig
-	annotMatchers []matcherConfig
-	assignSteps   []assignStepConfig
+	uid                         string
+	title                       string
+	description                 string
+	alertRuleUIDs               []string
+	receivers                   []string
+	labelMatchers               []matcherConfig
+	annotMatchers               []matcherConfig
+	assignSteps                 []assignStepConfig
+	assistantInvestigationsStep *assistantInvestigationsStepConfig
+	externalStep                *externalStepConfig
+	assertsStep                 *assertsStepConfig
+	explainStep                 *explainStepConfig
+	siftStep                    *siftStepConfig
+	dataSourceSteps             []dataSourceStepConfig
 }
 
 type matcherConfig struct {
@@ -54,6 +66,46 @@ type assignStepConfig struct {
 	annotations map[string]string
 }
 
+type assistantInvestigationsStepConfig struct {
+	timeout string
+}
+
+type externalStepConfig struct {
+	timeout string
+	url     string
+}
+
+type assertsStepConfig struct {
+	timeout string
+}
+
+type explainStepConfig struct {
+	timeout    string
+	annotation string
+}
+
+type siftStepConfig struct {
+	timeout string
+}
+
+type dataSourceStepConfig struct {
+	timeout   string
+	logsQuery *logsQueryConfig
+	rawQuery  *rawQueryConfig
+}
+
+type logsQueryConfig struct {
+	dataSourceType string
+	dataSourceUID  string
+	expr           string
+	maxLines       int
+}
+
+type rawQueryConfig struct {
+	refID   string
+	request string
+}
+
 func newAlertEnrichmentConfig(uid, title string) *alertEnrichmentConfigBuilder {
 	return &alertEnrichmentConfigBuilder{
 		uid:   uid,
@@ -94,6 +146,67 @@ func (b *alertEnrichmentConfigBuilder) withAssignStep(timeout string, annotation
 	return b
 }
 
+func (b *alertEnrichmentConfigBuilder) withAssistantInvestigationsStep(timeout string) *alertEnrichmentConfigBuilder {
+	b.assistantInvestigationsStep = &assistantInvestigationsStepConfig{
+		timeout: timeout,
+	}
+	return b
+}
+
+func (b *alertEnrichmentConfigBuilder) withExternalStep(timeout string, url string) *alertEnrichmentConfigBuilder {
+	b.externalStep = &externalStepConfig{
+		timeout: timeout,
+		url:     url,
+	}
+	return b
+}
+
+func (b *alertEnrichmentConfigBuilder) withAssertsStep(timeout string) *alertEnrichmentConfigBuilder {
+	b.assertsStep = &assertsStepConfig{
+		timeout: timeout,
+	}
+	return b
+}
+
+func (b *alertEnrichmentConfigBuilder) withExplainStep(timeout string, annotation string) *alertEnrichmentConfigBuilder {
+	b.explainStep = &explainStepConfig{
+		timeout:    timeout,
+		annotation: annotation,
+	}
+	return b
+}
+
+func (b *alertEnrichmentConfigBuilder) withSiftStep(timeout string) *alertEnrichmentConfigBuilder {
+	b.siftStep = &siftStepConfig{
+		timeout: timeout,
+	}
+	return b
+}
+
+func (b *alertEnrichmentConfigBuilder) withDataSourceLogsStep(timeout, dataSourceType, dataSourceUID, expr string, maxLines int) *alertEnrichmentConfigBuilder {
+	b.dataSourceSteps = append(b.dataSourceSteps, dataSourceStepConfig{
+		timeout: timeout,
+		logsQuery: &logsQueryConfig{
+			dataSourceType: dataSourceType,
+			dataSourceUID:  dataSourceUID,
+			expr:           expr,
+			maxLines:       maxLines,
+		},
+	})
+	return b
+}
+
+func (b *alertEnrichmentConfigBuilder) withDataSourceRawStep(timeout, refID, request string) *alertEnrichmentConfigBuilder {
+	b.dataSourceSteps = append(b.dataSourceSteps, dataSourceStepConfig{
+		timeout: timeout,
+		rawQuery: &rawQueryConfig{
+			refID:   refID,
+			request: request,
+		},
+	})
+	return b
+}
+
 func (b *alertEnrichmentConfigBuilder) build() string {
 	config := b.buildHeader()
 	config += b.buildArrayFields()
@@ -174,7 +287,18 @@ func (b *alertEnrichmentConfigBuilder) buildMatchers() string {
 }
 
 func (b *alertEnrichmentConfigBuilder) buildSteps() string {
-	return b.buildAssignStep()
+	var config string
+
+	// Maintain a consistent order to simplify test assertions
+	config += b.buildAssignStep()
+	config += b.buildAssistantInvestigationStep()
+	config += b.buildExternalStep()
+	config += b.buildAssertsStep()
+	config += b.buildExplainStep()
+	config += b.buildSiftStep()
+	config += b.buildDataSourceStep()
+
+	return config
 }
 
 func (b *alertEnrichmentConfigBuilder) buildAssignStep() string {
@@ -210,6 +334,149 @@ func (b *alertEnrichmentConfigBuilder) buildAssignStep() string {
 	return config
 }
 
+func (b *alertEnrichmentConfigBuilder) buildAssistantInvestigationStep() string {
+	if b.assistantInvestigationsStep == nil {
+		return ""
+	}
+
+	timeout := b.assistantInvestigationsStep.timeout
+	if timeout == "" {
+		timeout = "30s"
+	}
+	return fmt.Sprintf(`
+        step {
+          assistant_investigations {
+            timeout = "%s"
+          }
+        }`, timeout)
+}
+
+func (b *alertEnrichmentConfigBuilder) buildExternalStep() string {
+	if b.externalStep == nil || b.externalStep.url == "" {
+		return ""
+	}
+
+	timeout := b.externalStep.timeout
+	if timeout == "" {
+		timeout = "30s"
+	}
+	return fmt.Sprintf(`
+        step {
+          external {
+            timeout = "%s"
+            url = "%s"
+          }
+        }`, timeout, b.externalStep.url)
+}
+
+func (b *alertEnrichmentConfigBuilder) buildAssertsStep() string {
+	if b.assertsStep == nil {
+		return ""
+	}
+
+	timeout := b.assertsStep.timeout
+	if timeout == "" {
+		timeout = "30s"
+	}
+	return fmt.Sprintf(`
+        step {
+          asserts {
+            timeout = "%s"
+          }
+        }`, timeout)
+}
+
+func (b *alertEnrichmentConfigBuilder) buildExplainStep() string {
+	if b.explainStep == nil {
+		return ""
+	}
+
+	timeout := b.explainStep.timeout
+	if timeout == "" {
+		timeout = "30s"
+	}
+	config := fmt.Sprintf(`
+        step {
+          explain {
+            timeout = "%s"`, timeout)
+	if b.explainStep.annotation != "" {
+		config += fmt.Sprintf(`
+            annotation = "%s"`, b.explainStep.annotation)
+	}
+	config += `
+          }
+        }`
+	return config
+}
+
+func (b *alertEnrichmentConfigBuilder) buildSiftStep() string {
+	if b.siftStep == nil {
+		return ""
+	}
+
+	timeout := b.siftStep.timeout
+	if timeout == "" {
+		timeout = "30s"
+	}
+	return fmt.Sprintf(`
+        step {
+          sift {
+            timeout = "%s"
+          }
+        }`, timeout)
+}
+
+func (b *alertEnrichmentConfigBuilder) buildDataSourceStep() string {
+	if len(b.dataSourceSteps) == 0 {
+		return ""
+	}
+	var config string
+	for _, step := range b.dataSourceSteps {
+		timeout := step.timeout
+		if timeout == "" {
+			timeout = "30s"
+		}
+		block := fmt.Sprintf(`
+        step {
+          data_source {
+            timeout = "%s"`, timeout)
+
+		if step.logsQuery != nil {
+			block += `
+            logs_query {`
+			block += fmt.Sprintf(`
+                data_source_type = "%s"
+                expr = "%s"`, step.logsQuery.dataSourceType, step.logsQuery.expr)
+			if step.logsQuery.dataSourceUID != "" {
+				block += fmt.Sprintf(`
+                data_source_uid = "%s"`, step.logsQuery.dataSourceUID)
+			}
+			if step.logsQuery.maxLines > 0 {
+				block += fmt.Sprintf(`
+                max_lines = %d`, step.logsQuery.maxLines)
+			}
+			block += `
+            }`
+		} else if step.rawQuery != nil {
+			block += `
+            raw_query {`
+			block += fmt.Sprintf(`
+                request = %s`, step.rawQuery.request)
+			if step.rawQuery.refID != "" {
+				block += fmt.Sprintf(`
+                ref_id = "%s"`, step.rawQuery.refID)
+			}
+			block += `
+            }`
+		}
+		block += `
+          }
+        }`
+		config += block
+	}
+	return config
+}
+
 func (b *alertEnrichmentConfigBuilder) buildFooter() string {
 	return `
 	}
@@ -249,6 +516,13 @@ func TestAccAlertEnrichment(t *testing.T) {
 							"second_assign": "true",
 							"sequence":      "2",
 						}).
+						withAssistantInvestigationsStep("31s").
+						withExternalStep("32s", "https://example.com/enrich").
+						withAssertsStep("33s").
+						withExplainStep("34s", "explanation").
+						withSiftStep("35s").
+						withDataSourceLogsStep("36s", "loki", "test-loki-uid", `{job=\"my-app\"} | json | level=\"error\"`, 5).
+						withDataSourceRawStep("37s", "A", `"{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"test-uid\"},\"expr\":\"up\",\"refId\":\"A\"}"`).
 						build(),
 					Check: terraformresource.ComposeTestCheckFunc(
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "comprehensive-alert-enrichment"),
@@ -258,7 +532,7 @@ func TestAccAlertEnrichment(t *testing.T) {
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.label_matchers.#", "2"),
 
 						// Verify steps and ordering
-						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "2"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "9"),
 						// First assign step
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.assign.annotations.%", "4"),
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.assign.timeout", "30s"),
@@ -267,6 +541,26 @@ func TestAccAlertEnrichment(t *testing.T) {
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.1.assign.timeout", "25s"),
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.1.assign.annotations.second_assign", "true"),
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.1.assign.annotations.sequence", "2"),
+
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.2.assistant_investigations.timeout", "31s"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.3.external.timeout", "32s"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.3.external.url", "https://example.com/enrich"),
+
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.4.asserts.timeout", "33s"),
+
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.5.explain.timeout", "34s"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.5.explain.annotation", "explanation"),
+
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.6.sift.timeout", "35s"),
+
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.7.data_source.logs_query.data_source_type", "loki"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.7.data_source.logs_query.data_source_uid", "test-loki-uid"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.7.data_source.logs_query.expr", `{job="my-app"} | json | level="error"`),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.7.data_source.logs_query.max_lines", "5"),
+
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.8.data_source.raw_query.ref_id", "A"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.8.data_source.raw_query.request", `{"datasource":{"type":"prometheus","uid":"test-uid"},"expr":"up","refId":"A"}`),
+
 						terraformresource.TestCheckResourceAttrSet(alertEnrichmentResourceName, "id"),
 					),
 				},
@@ -345,21 +639,17 @@ func TestAccAlertEnrichment(t *testing.T) {
 						terraformresource.TestCheckResourceAttrSet(alertEnrichmentResourceName, "id"),
 					),
 				},
-				// Remove some fields
+				// Remove all fields to minimal configuration (just title, no steps)
 				{
-					Config: newAlertEnrichmentConfig(uid, "minimal-alert-enrichment").
-						withDescription("").withAssignStep("5s", map[string]string{
-						"minimal": "true",
-					}).
-						build(),
+					Config: testAccAlertEnrichmentMinimal(uid),
 					Check: terraformresource.ComposeTestCheckFunc(
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "minimal-alert-enrichment"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", ""),
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.alert_rule_uids.#", "0"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.receivers.#", "0"),
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.label_matchers.#", "0"),
 						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.annotation_matchers.#", "0"),
-						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
-						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.assign.annotations.%", "1"),
-						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.assign.timeout", "5s"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "0"),
 						terraformresource.TestCheckResourceAttrSet(alertEnrichmentResourceName, "id"),
 					),
 				},
@@ -367,11 +657,102 @@ func TestAccAlertEnrichment(t *testing.T) {
 					ResourceName:      alertEnrichmentResourceName,
 					ImportState:       true,
 					ImportStateVerify: true,
+					ImportStateVerifyIgnore: []string{
+						"options.%",
+						"options.overwrite",
+					},
 					ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
 				},
 			},
 		})
 	})
+
+	t.Run("invalid_assign_empty_annotations", func(t *testing.T) {
+		randSuffix := acctest.RandString(6)
+
+		terraformresource.ParallelTest(t, terraformresource.TestCase{
+			ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+			Steps: []terraformresource.TestStep{
+				{
+					Config:      testAccAlertEnrichmentAssignEmptyAnnotations(fmt.Sprintf("invalid-assign-%s", randSuffix)),
+					ExpectError: regexp.MustCompile("Missing Required Attribute"),
+				},
+			},
+		})
+	})
+
+	t.Run("invalid_data_source_both_queries", func(t *testing.T) {
+		randSuffix := acctest.RandString(6)
+
+		terraformresource.ParallelTest(t, terraformresource.TestCase{
+			ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+			Steps: []terraformresource.TestStep{
+				{
+					Config:      testAccAlertEnrichmentDataSourceBothQueries(fmt.Sprintf("invalid-ds-both-%s", randSuffix)),
+					ExpectError: regexp.MustCompile("Invalid number of attributes"),
+				},
+			},
+		})
+	})
+
+	t.Run("invalid_data_source_no_queries", func(t *testing.T) {
+		randSuffix := acctest.RandString(6)
+
+		terraformresource.ParallelTest(t, terraformresource.TestCase{
+			ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+			Steps: []terraformresource.TestStep{
+				{
+					Config:      testAccAlertEnrichmentDataSourceNoQueries(fmt.Sprintf("invalid-ds-none-%s", randSuffix)),
+					ExpectError: regexp.MustCompile("Invalid number of attributes"),
+				},
+			},
+		})
+	})
+
+	t.Run("invalid_timeout_format", func(t *testing.T) {
+		randSuffix := acctest.RandString(6)
+
+		terraformresource.ParallelTest(t, terraformresource.TestCase{
+			ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+			Steps: []terraformresource.TestStep{
+				{
+					Config:      testAccAlertEnrichmentInvalidTimeout(fmt.Sprintf("invalid-timeout-%s", randSuffix)),
+					ExpectError: regexp.MustCompile("invalid timeout"),
+				},
+			},
+		})
+	})
+
+	t.Run("data_source_query_type_switch", func(t *testing.T) {
+		randSuffix := acctest.RandString(6)
+		uid := fmt.Sprintf("switch-test-%s", randSuffix)
+
+		terraformresource.ParallelTest(t, terraformresource.TestCase{
+			ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+			Steps: []terraformresource.TestStep{
+				// Start with logs query
+				{
+					Config: newAlertEnrichmentConfig(uid, "Query Type Switch Test").
+						withDataSourceLogsStep("30s", "loki", "test-uid", `{job=\"test\"}`, 3).
+						build(),
+					Check: terraformresource.ComposeTestCheckFunc(
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.logs_query.data_source_type", "loki"),
+					),
+				},
+				// Switch to raw query
+				{
+					Config: newAlertEnrichmentConfig(uid, "Query Type Switch Test").
+						withDataSourceRawStep("30s", "B", `"{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"prom-uid\"},\"expr\":\"up\"}"`).
+						build(),
+					Check: terraformresource.ComposeTestCheckFunc(
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+						terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.raw_query.ref_id", "B"),
+					),
+				},
+			},
+		})
+	})
 }
 
 func TestAccAlertEnrichment_matchers(t *testing.T) {
@@ -554,3 +935,453 @@ func TestAccAlertEnrichment_invalidMatchers(t *testing.T) {
 		})
 	}
 }
+
+func TestAccAlertEnrichment_assistantInvestigationsStep(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	randSuffix := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		CheckDestroy:             testAccCheckAlertEnrichmentResourceDestroy,
+		Steps: []terraformresource.TestStep{
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("assistant-investigation-%s", randSuffix),
+					"Assistant Investigation Test",
+				).withDescription("Tests assistant investigation").
+					withAssistantInvestigationsStep("50s").
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Assistant Investigation Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests assistant investigation"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.assistant_investigations.timeout", "50s"),
+				),
+			},
+			{
+				ResourceName:      alertEnrichmentResourceName,
+				ImportState:       true,
+				ImportStateVerify: true,
+				ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
+			},
+		},
+	})
+}
+
+func TestAccAlertEnrichment_externalStep(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	randSuffix := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		CheckDestroy:             testAccCheckAlertEnrichmentResourceDestroy,
+		Steps: []terraformresource.TestStep{
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("external-enricher-%s", randSuffix),
+					"External Enricher Test",
+				).withDescription("Tests external HTTP enricher").
+					withExternalStep("45s", "https://grafana.com/enrich-alert").
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "External Enricher Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests external HTTP enricher"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.external.timeout", "45s"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.external.url", "https://grafana.com/enrich-alert"),
+				),
+			},
+			{
+				ResourceName:      alertEnrichmentResourceName,
+				ImportState:       true,
+				ImportStateVerify: true,
+				ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
+			},
+		},
+	})
+}
+
+func TestAccAlertEnrichment_assertsStep(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	randSuffix := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		CheckDestroy:             testAccCheckAlertEnrichmentResourceDestroy,
+		Steps: []terraformresource.TestStep{
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("asserts-enricher-%s", randSuffix),
+					"Asserts Enricher Test",
+				).withDescription("Tests Asserts service integration").
+					withAssertsStep("50s").
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Asserts Enricher Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests Asserts service integration"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.asserts.timeout", "50s"),
+				),
+			},
+			{
+				ResourceName:      alertEnrichmentResourceName,
+				ImportState:       true,
+				ImportStateVerify: true,
+				ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
+			},
+		},
+	})
+}
+
+func TestAccAlertEnrichment_explainStep(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	randSuffix := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		CheckDestroy:             testAccCheckAlertEnrichmentResourceDestroy,
+		Steps: []terraformresource.TestStep{
+			// Test with default annotation
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("explain-%s", randSuffix),
+					"Explain Enricher Test",
+				).withDescription("Tests AI explain enricher with default annotation").
+					withExplainStep("55s", "").
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Explain Enricher Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests AI explain enricher with default annotation"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.explain.timeout", "55s"),
+				),
+			},
+			// Update to custom annotation
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("explain-%s", randSuffix),
+					"Explain Enricher Custom Test",
+				).withDescription("Tests AI explain enricher with custom annotation").
+					withExplainStep("45s", "custom_explanation_field").
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Explain Enricher Custom Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests AI explain enricher with custom annotation"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.explain.timeout", "45s"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.explain.annotation", "custom_explanation_field"),
+				),
+			},
+			{
+				ResourceName:      alertEnrichmentResourceName,
+				ImportState:       true,
+				ImportStateVerify: true,
+				ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
+			},
+		},
+	})
+}
+
+func TestAccAlertEnrichment_siftStep(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	randSuffix := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		CheckDestroy:             testAccCheckAlertEnrichmentResourceDestroy,
+		Steps: []terraformresource.TestStep{
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("sift-enricher-%s", randSuffix),
+					"Sift Enricher Test",
+				).withDescription("Tests Sift service integration").
+					withSiftStep("40s").
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Sift Enricher Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests Sift service integration"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.sift.timeout", "40s"),
+				),
+			},
+			{
+				ResourceName:      alertEnrichmentResourceName,
+				ImportState:       true,
+				ImportStateVerify: true,
+				ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
+			},
+		},
+	})
+}
+
+func TestAccAlertEnrichment_dataSourceLogsStep(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	randSuffix := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		CheckDestroy:             testAccCheckAlertEnrichmentResourceDestroy,
+		Steps: []terraformresource.TestStep{
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("datasource-logs-%s", randSuffix),
+					"Data Source Logs Query Test",
+				).withDescription("Tests data source logs query enricher").
+					withDataSourceLogsStep("35s", "loki", "test-loki-uid", `{job=\"my-app\"} | json | severity=\"error\"`, 5).
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Data Source Logs Query Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests data source logs query enricher"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.timeout", "35s"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.logs_query.data_source_type", "loki"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.logs_query.data_source_uid", "test-loki-uid"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.logs_query.expr", `{job="my-app"} | json | severity="error"`),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.logs_query.max_lines", "5"),
+				),
+			},
+			{
+				ResourceName:      alertEnrichmentResourceName,
+				ImportState:       true,
+				ImportStateVerify: true,
+				ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
+			},
+		},
+	})
+}
+
+func TestAccAlertEnrichment_dataSourceRawStep(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	randSuffix := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		CheckDestroy:             testAccCheckAlertEnrichmentResourceDestroy,
+		Steps: []terraformresource.TestStep{
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("datasource-raw-%s", randSuffix),
+					"Data Source Raw Query Test",
+				).withDescription("Tests data source raw query enricher").
+					withDataSourceRawStep("25s", "A", `"{\"datasource\":{\"type\":\"prometheus\",\"uid\":\"test-uid\"},\"expr\":\"up\",\"refId\":\"A\"}"`).
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Data Source Raw Query Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests data source raw query enricher"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.timeout", "25s"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.raw_query.ref_id", "A"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.raw_query.request", `{"datasource":{"type":"prometheus","uid":"test-uid"},"expr":"up","refId":"A"}`),
+				),
+			},
+			// Test without refId
+			{
+				Config: newAlertEnrichmentConfig(
+					fmt.Sprintf("datasource-raw-%s", randSuffix),
+					"Data Source Raw Query No RefId Test",
+				).withDescription("Tests raw query without refId").
+					withDataSourceRawStep("15s", "", `"{\"datasource\":{\"type\":\"loki\",\"uid\":\"loki-uid\"},\"expr\":\"{job=\\\"test\\\"}\"}" `).
+					build(),
+				Check: terraformresource.ComposeTestCheckFunc(
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.title", "Data Source Raw Query No RefId Test"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.description", "Tests raw query without refId"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.#", "1"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.timeout", "15s"),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.raw_query.request", `{"datasource":{"type":"loki","uid":"loki-uid"},"expr":"{job=\"test\"}"}`),
+					terraformresource.TestCheckResourceAttr(alertEnrichmentResourceName, "spec.step.0.data_source.raw_query.ref_id", ""),
+				),
+			},
+			{
+				ResourceName:      alertEnrichmentResourceName,
+				ImportState:       true,
+				ImportStateVerify: true,
+				ImportStateVerifyIgnore: []string{
+					"options.%",
+					"options.overwrite",
+				},
+				ImportStateIdFunc: importStateIDFunc(alertEnrichmentResourceName),
+			},
+		},
+	})
+}
+
+func testAccCheckAlertEnrichmentResourceDestroy(s *terraform.State) error {
+	client := testutils.Provider.Meta().(*common.Client)
+
+	for _, r := range s.RootModule().Resources {
+		if r.Type != alertEnrichmentResourceName {
+			continue
+		}
+
+		rcli, err := client.GrafanaAppPlatformAPI.ClientFor(v1beta1.AlertEnrichmentKind())
+		if err != nil {
+			return fmt.Errorf("failed to create app platform client: %w", err)
+		}
+
+		ns := claims.OrgNamespaceFormatter(client.GrafanaOrgID)
+		namespacedClient := resource.NewNamespaced(
+			resource.NewTypedClient[*v1beta1.AlertEnrichment, *v1beta1.AlertEnrichmentList](rcli, v1beta1.AlertEnrichmentKind()),
+			ns,
+		)
+
+		if _, err := namespacedClient.Get(context.Background(), r.Primary.ID); err == nil {
+			return fmt.Errorf("AlertEnrichment %s still exists", r.Primary.ID)
+		} else if !apierrors.IsNotFound(err) {
+			return fmt.Errorf("error checking if AlertEnrichment %s exists: %w", r.Primary.ID, err)
+		}
+	}
+	return nil
+}
+
+func TestAccAlertEnrichment_emptySteps(t *testing.T) {
+	testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+
+	uid := acctest.RandString(10)
+
+	terraformresource.ParallelTest(t, terraformresource.TestCase{
+		ProtoV5ProviderFactories: testutils.ProtoV5ProviderFactories,
+		Steps: []terraformresource.TestStep{
+			{
+				Config:      testAccAlertEnrichmentEmptySteps(uid),
+				ExpectError: regexp.MustCompile("Invalid step configuration"),
+			},
+		},
+	})
+}
+
+func testAccAlertEnrichmentMinimal(uid string) string {
+	return fmt.Sprintf(`
+resource "grafana_apps_alertenrichment_alertenrichment_v1beta1" "test" {
+  metadata {
+    uid = "%s"
+  }
+
+  spec {
+    title = "minimal-alert-enrichment"
+  }
+}
+`, uid)
+}
+
+func testAccAlertEnrichmentEmptySteps(uid string) string {
+	return fmt.Sprintf(`
+resource "grafana_apps_alertenrichment_alertenrichment_v1beta1" "test" {
+  metadata {
+    uid = "%s"
+  }
+
+  spec {
+    title = "Empty Steps Enrichment"
+    description = "This should fail validation"
+
+    # Empty steps block - this should cause validation error
+    step {
+    }
+  }
+}
+`, uid)
+}
+
+func testAccAlertEnrichmentAssignEmptyAnnotations(uid string) string {
+	return fmt.Sprintf(`
+resource "grafana_apps_alertenrichment_alertenrichment_v1beta1" "test" {
+  metadata {
+    uid = "%s"
+  }
+
+  spec {
+    title = "Invalid Assign Step"
+    description = "This should fail validation"
+
+    step {
+      assign {
+        timeout = "30s"
+        # Missing annotations - should fail requireAttrsWhenPresent validation
+      }
+    }
+  }
+}
+`, uid)
+}
+
+func testAccAlertEnrichmentDataSourceBothQueries(uid string) string {
+	return fmt.Sprintf(`
+resource "grafana_apps_alertenrichment_alertenrichment_v1beta1" "test" {
+  metadata {
+    uid = "%s"
+  }
+
+  spec {
+    title = "Invalid Data Source Step"
+    description = "This should fail validation"
+
+    step {
+      data_source {
+        timeout = "30s"
+        # Both queries configured - should fail attributeCountExactly(1) validation
+        logs_query {
+          data_source_type = "loki"
+          expr = "{job=\"test\"}"
+        }
+        raw_query {
+          request = "{\"expr\":\"up\"}"
+        }
+      }
+    }
+  }
+}
+`, uid)
+}
+
+func testAccAlertEnrichmentDataSourceNoQueries(uid string) string {
+	return fmt.Sprintf(`
+resource "grafana_apps_alertenrichment_alertenrichment_v1beta1" "test" {
+  metadata {
+    uid = "%s"
+  }
+
+  spec {
+    title = "Invalid Data Source Step"
+    description = "This should fail validation"
+
+    step {
+      data_source {
+        timeout = "30s"
+        # Neither query configured - should fail attributeCountExactly(1) validation
+      }
+    }
+  }
+}
+`, uid)
+}
+
+func testAccAlertEnrichmentInvalidTimeout(uid string) string {
+	return fmt.Sprintf(`
+resource "grafana_apps_alertenrichment_alertenrichment_v1beta1" "test" {
+  metadata {
+    uid = "%s"
+  }
+
+  spec {
+    title = "Invalid Timeout Step"
+    description = "This should fail validation"
+
+    step {
+      assign {
+        timeout = "invalid-timeout-format"
+        annotations = {
+          test = "value"
+        }
+      }
+    }
+  }
+}
+`, uid)
+}
diff --git a/internal/resources/examples_test.go b/internal/resources/examples_test.go
index 4b45397f..74a49d18 100644
--- a/internal/resources/examples_test.go
+++ b/internal/resources/examples_test.go
@@ -29,13 +29,22 @@ func TestAccExamples(t *testing.T) {
 		{
 			category: "Alerting",
 			testCheck: func(t *testing.T, filename string) {
-				if strings.Contains(filename, "grafana_notification_policy") {
+				switch {
+				case strings.Contains(filename, "grafana_notification_policy"):
 					testutils.CheckOSSTestsEnabled(t, ">=12.1.0") // Only run on latest OSS version. The examples should be updated to reflect their latest working config.
-				} else {
+				case strings.Contains(filename, "grafana_apps_alertenrichment"):
+					testutils.CheckEnterpriseTestsEnabled(t, ">=12.2.0")
+				default:
 					testutils.CheckOSSTestsEnabled(t, ">=11.0.0") // Only run on latest OSS version. The examples should be updated to reflect their latest working config.
 				}
 			},
 		},
+		{
+			category: "Grafana Apps",
+			testCheck: func(t *testing.T, filename string) {
+				testutils.CheckOSSTestsEnabled(t, ">=12.0.0")
+			},
+		},
 		{
 			category: "Grafana OSS",
 			testCheck: func(t *testing.T, filename string) {
@@ -179,6 +188,18 @@ func TestAccExamples(t *testing.T) {
 			datasourceMap[d.Name] = true
 			filenames = append(filenames, filepath.Join("data-sources", d.Name, "data-source.tf"))
 		}
+
+		for _, r := range provider.AppPlatformResources() {
+			if _, ok := resourceMap[r.Name]; !ok {
+				resourceMap[r.Name] = false
+			}
+			if string(r.Category) != testDef.category {
+				continue
+			}
+			resourceMap[r.Name] = true
+			filenames = append(filenames, filepath.Join("resources", r.Name, "resource.tf"))
+		}
+
 		sort.Strings(filenames)
 
 		// Test each example in the category. We're only interested to see if it applies without errors.