-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
39 lines (32 loc) · 1.16 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
output "aws_region" {
description = "AWS Region"
value = var.aws_region
}
output "managed_prometheus_workspace_endpoint" {
description = "Amazon Managed Prometheus workspace endpoint"
value = local.amp_ws_endpoint
}
output "managed_prometheus_workspace_id" {
description = "Amazon Managed Prometheus workspace ID"
value = local.amp_ws_id
}
output "managed_prometheus_workspace_region" {
description = "Amazon Managed Prometheus workspace region"
value = local.amp_ws_region
}
output "managed_grafana_workspace_endpoint" {
description = "Amazon Managed Grafana workspace endpoint"
value = local.amg_ws_endpoint
}
output "managed_grafana_workspace_id" {
description = "Amazon Managed Grafana workspace ID"
value = local.amg_ws_id
}
output "grafana_dashboards_folder_id" {
description = "Grafana folder ID for automatic dashboards. Required by workload modules"
value = grafana_folder.this.id
}
output "grafana_prometheus_datasource_test" {
description = "Grafana save & test URL for Amazon Managed Prometheus workspace"
value = "${local.amg_ws_endpoint}/datasources/edit/${grafana_data_source.amp.uid}"
}