File tree Expand file tree Collapse file tree 8 files changed +32
-2
lines changed
existing-cluster-with-base-and-infra Expand file tree Collapse file tree 8 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ add this `managed_prometheus_region=xxx` and `managed_prometheus_workspace_id=ws
235
235
| <a name =" output_aws_region " ></a > [ aws\_ region] ( #output\_ aws\_ region ) | AWS Region |
236
236
| <a name =" output_eks_cluster_id " ></a > [ eks\_ cluster\_ id] ( #output\_ eks\_ cluster\_ id ) | EKS Cluster Id |
237
237
| <a name =" output_eks_cluster_version " ></a > [ eks\_ cluster\_ version] ( #output\_ eks\_ cluster\_ version ) | EKS Cluster version |
238
+ | <a name =" output_grafana_dashboard_urls " ></a > [ grafana\_ dashboard\_ urls] ( #output\_ grafana\_ dashboard\_ urls ) | URLs for dashboards created |
238
239
| <a name =" output_managed_prometheus_workspace_endpoint " ></a > [ managed\_ prometheus\_ workspace\_ endpoint] ( #output\_ managed\_ prometheus\_ workspace\_ endpoint ) | Amazon Managed Prometheus workspace endpoint |
239
240
| <a name =" output_managed_prometheus_workspace_id " ></a > [ managed\_ prometheus\_ workspace\_ id] ( #output\_ managed\_ prometheus\_ workspace\_ id ) | Amazon Managed Prometheus workspace ID |
240
241
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -22,3 +22,8 @@ output "managed_prometheus_workspace_id" {
22
22
description = " Amazon Managed Prometheus workspace ID"
23
23
value = module. eks_observability_accelerator . managed_prometheus_workspace_id
24
24
}
25
+
26
+ output "grafana_dashboard_urls" {
27
+ description = " URLs for dashboards created"
28
+ value = module. workloads_nginx . grafana_dashboard_urls
29
+ }
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ terraform destroy -var-file=terraform.tfvars
180
180
| <a name =" output_aws_region " ></a > [ aws\_ region] ( #output\_ aws\_ region ) | AWS Region |
181
181
| <a name =" output_eks_cluster_id " ></a > [ eks\_ cluster\_ id] ( #output\_ eks\_ cluster\_ id ) | EKS Cluster Id |
182
182
| <a name =" output_eks_cluster_version " ></a > [ eks\_ cluster\_ version] ( #output\_ eks\_ cluster\_ version ) | EKS Cluster version |
183
+ | <a name =" output_grafana_dashboard_urls " ></a > [ grafana\_ dashboard\_ urls] ( #output\_ grafana\_ dashboard\_ urls ) | URLs for dashboards created |
183
184
| <a name =" output_managed_prometheus_workspace_endpoint " ></a > [ managed\_ prometheus\_ workspace\_ endpoint] ( #output\_ managed\_ prometheus\_ workspace\_ endpoint ) | Amazon Managed Prometheus workspace endpoint |
184
185
| <a name =" output_managed_prometheus_workspace_id " ></a > [ managed\_ prometheus\_ workspace\_ id] ( #output\_ managed\_ prometheus\_ workspace\_ id ) | Amazon Managed Prometheus workspace ID |
185
186
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -22,3 +22,8 @@ output "managed_prometheus_workspace_id" {
22
22
description = " Amazon Managed Prometheus workspace ID"
23
23
value = module. eks_observability_accelerator . managed_prometheus_workspace_id
24
24
}
25
+
26
+ output "grafana_dashboard_urls" {
27
+ description = " URLs for dashboards created"
28
+ value = module. workloads_infra . grafana_dashboard_urls
29
+ }
Original file line number Diff line number Diff line change @@ -75,5 +75,7 @@ This module is inspired from the open source [kube-prometheus-stack](https://git
75
75
76
76
## Outputs
77
77
78
- No outputs.
78
+ | Name | Description |
79
+ | ------| -------------|
80
+ | <a name =" output_grafana_dashboard_urls " ></a > [ grafana\_ dashboard\_ urls] ( #output\_ grafana\_ dashboard\_ urls ) | URLs for dashboards created |
79
81
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change
1
+ output "grafana_dashboard_urls" {
2
+ value = [concat (
3
+ grafana_dashboard. workloads . * . url ,
4
+ grafana_dashboard. nodes . * . url ,
5
+ grafana_dashboard. nsworkload . * . url ,
6
+ grafana_dashboard. kubelet . * . url ,
7
+ grafana_dashboard. cluster . * . url ,
8
+ )]
9
+ description = " URLs for dashboards created"
10
+ }
Original file line number Diff line number Diff line change @@ -60,5 +60,7 @@ It provides the following resources:
60
60
61
61
## Outputs
62
62
63
- No outputs.
63
+ | Name | Description |
64
+ | ------| -------------|
65
+ | <a name =" output_grafana_dashboard_urls " ></a > [ grafana\_ dashboard\_ urls] ( #output\_ grafana\_ dashboard\_ urls ) | URLs for dashboards created |
64
66
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change
1
+ output "grafana_dashboard_urls" {
2
+ value = [concat (grafana_dashboard. workloads . * . url )]
3
+ description = " URLs for dashboards created"
4
+ }
You can’t perform that action at this time.
0 commit comments