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
235235| <a name =" output_aws_region " ></a > [ aws\_ region] ( #output\_ aws\_ region ) | AWS Region |
236236| <a name =" output_eks_cluster_id " ></a > [ eks\_ cluster\_ id] ( #output\_ eks\_ cluster\_ id ) | EKS Cluster Id |
237237| <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 |
238239| <a name =" output_managed_prometheus_workspace_endpoint " ></a > [ managed\_ prometheus\_ workspace\_ endpoint] ( #output\_ managed\_ prometheus\_ workspace\_ endpoint ) | Amazon Managed Prometheus workspace endpoint |
239240| <a name =" output_managed_prometheus_workspace_id " ></a > [ managed\_ prometheus\_ workspace\_ id] ( #output\_ managed\_ prometheus\_ workspace\_ id ) | Amazon Managed Prometheus workspace ID |
240241<!-- 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" {
2222 description = " Amazon Managed Prometheus workspace ID"
2323 value = module. eks_observability_accelerator . managed_prometheus_workspace_id
2424}
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
180180| <a name =" output_aws_region " ></a > [ aws\_ region] ( #output\_ aws\_ region ) | AWS Region |
181181| <a name =" output_eks_cluster_id " ></a > [ eks\_ cluster\_ id] ( #output\_ eks\_ cluster\_ id ) | EKS Cluster Id |
182182| <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 |
183184| <a name =" output_managed_prometheus_workspace_endpoint " ></a > [ managed\_ prometheus\_ workspace\_ endpoint] ( #output\_ managed\_ prometheus\_ workspace\_ endpoint ) | Amazon Managed Prometheus workspace endpoint |
184185| <a name =" output_managed_prometheus_workspace_id " ></a > [ managed\_ prometheus\_ workspace\_ id] ( #output\_ managed\_ prometheus\_ workspace\_ id ) | Amazon Managed Prometheus workspace ID |
185186<!-- 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" {
2222 description = " Amazon Managed Prometheus workspace ID"
2323 value = module. eks_observability_accelerator . managed_prometheus_workspace_id
2424}
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
7575
7676## Outputs
7777
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 |
7981<!-- 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:
6060
6161## Outputs
6262
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 |
6466<!-- 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