Skip to content

Commit b96f403

Browse files
committed
Hardcode grafana cloudwatch datasource uid
This lets us reuse the same dashboard json without adjusting its uid per deployment. This is how it works with current architecture design
1 parent 9ef8c28 commit b96f403

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/monitoring/grafana/terraform/datasources.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ resource "grafana_data_source" "tempo" {
2727
resource "grafana_data_source" "cloudwatch" {
2828
type = "cloudwatch"
2929
name = "cloudwatch"
30+
uid = "fem2inr5v64n4c"
3031

3132
json_data_encoded = jsonencode({
3233
defaultRegion = var.AWS_DEFAULT_REGION

0 commit comments

Comments
 (0)