You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Dashboard: Update SDK and graduate v1beta1 to v1
Update grafana/apps/dashboard SDK to latest main. The v1beta1 package
now delegates to v1 (grafana/grafana#120748), so the existing dashboard
resource is renamed from grafana_apps_dashboard_dashboard_v1beta1 to
grafana_apps_dashboard_dashboard_v1.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Dashboard: Add v2 AppPlatform resource
Add grafana_apps_dashboard_dashboard_v2 resource for the stable v2
Dashboard API (grafana/grafana#118646), mirroring the existing v2beta1
resource pattern with JSON spec + optional title/tags overrides.
Requires Grafana >=13.0.0.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fix Dashboard v1beta1 resource naming
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
* Revert catalog-resource.yaml v1beta1 -> v1 rename
What: Restore original v1beta1 naming in the first Backstage catalog entry
Why: The v1beta1 resource hasn't been graduated yet in this PR scope
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com>
Manages Grafana dashboards using the v2 (Dynamic Dashboards) schema.
7
+
Official documentation https://grafana.com/docs/grafana/latest/dashboards/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/#new-dashboard-apis
8
+
---
9
+
10
+
# grafana_apps_dashboard_dashboard_v2 (Resource)
11
+
12
+
Manages Grafana dashboards using the v2 (Dynamic Dashboards) schema.
-`metadata` (Block, Optional) The metadata of the resource. (see [below for nested schema](#nestedblock--metadata))
52
+
-`options` (Block, Optional) Options for applying the resource. (see [below for nested schema](#nestedblock--options))
53
+
-`spec` (Block, Optional) The spec of the resource. (see [below for nested schema](#nestedblock--spec))
54
+
55
+
### Read-Only
56
+
57
+
-`id` (String) The ID of the resource derived from UUID.
58
+
59
+
<aid="nestedblock--metadata"></a>
60
+
### Nested Schema for `metadata`
61
+
62
+
Required:
63
+
64
+
-`uid` (String) The unique identifier of the resource.
65
+
66
+
Optional:
67
+
68
+
-`folder_uid` (String) The UID of the folder to save the resource in.
69
+
70
+
Read-Only:
71
+
72
+
-`annotations` (Map of String) Annotations of the resource.
73
+
-`url` (String) The full URL of the resource.
74
+
-`uuid` (String) The globally unique identifier of a resource, used by the API for tracking.
75
+
-`version` (String) The version of the resource.
76
+
77
+
78
+
<aid="nestedblock--options"></a>
79
+
### Nested Schema for `options`
80
+
81
+
Optional:
82
+
83
+
-`allow_ui_updates` (Boolean) Set to true to allow editing the resource from the Grafana UI. By default, resources managed by Terraform cannot be edited in the UI. Enabling this option will cause divergence between the Terraform configuration and the resource in Grafana.
84
+
-`overwrite` (Boolean) Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
85
+
86
+
87
+
<aid="nestedblock--spec"></a>
88
+
### Nested Schema for `spec`
89
+
90
+
Required:
91
+
92
+
-`json` (String) The JSON representation of the dashboard v2 spec.
93
+
94
+
Optional:
95
+
96
+
-`tags` (List of String) The tags of the dashboard. If not set, the tags will be derived from the JSON spec.
97
+
-`title` (String) The title of the dashboard. If not set, the title will be derived from the JSON spec.
0 commit comments