{"id":46337162,"url":"https://github.com/squareops/terraform-kubernetes-grafana-stack","last_synced_at":"2026-03-04T19:05:15.519Z","repository":{"id":263585814,"uuid":"612183904","full_name":"squareops/terraform-kubernetes-grafana-stack","owner":"squareops","description":"Terraform module to create a Prometheus, Grafana, and Loki stack. This module automates the deployment and configuration of Prometheus for metrics collection, Grafana for data visualization, and Loki for log aggregation, resulting in a cohesive observability stack","archived":false,"fork":false,"pushed_at":"2025-04-17T04:55:43.000Z","size":751,"stargazers_count":8,"open_issues_count":3,"forks_count":9,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-13T09:53:59.915Z","etag":null,"topics":["aws","aws-eks","grafana","grafana-dashboard","loki","mimir","prometheus","promtail","tempo","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://squareops.com","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squareops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-10T11:32:51.000Z","updated_at":"2026-02-04T17:01:59.000Z","dependencies_parsed_at":"2025-01-17T07:25:50.154Z","dependency_job_id":"9b88e592-d9a4-4e27-9158-5c60fae90dfd","html_url":"https://github.com/squareops/terraform-kubernetes-grafana-stack","commit_stats":null,"previous_names":["squareops/terraform-kubernetes-grafana-stack"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/squareops/terraform-kubernetes-grafana-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-kubernetes-grafana-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-kubernetes-grafana-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-kubernetes-grafana-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-kubernetes-grafana-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squareops","download_url":"https://codeload.github.com/squareops/terraform-kubernetes-grafana-stack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-kubernetes-grafana-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-eks","grafana","grafana-dashboard","loki","mimir","prometheus","promtail","tempo","terraform","terraform-module"],"created_at":"2026-03-04T19:05:14.872Z","updated_at":"2026-03-04T19:05:15.507Z","avatar_url":"https://github.com/squareops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Prometheus Grafana Loki\n\n![squareops_avatar]\n\n[squareops_avatar]: https://squareops.com/wp-content/uploads/2022/12/squareops-logo.png\n\n### [SquareOps Technologies](https://squareops.com/) Your DevOps Partner for Accelerating cloud journey.\n\u003cbr\u003e\n\nThis PGL module is for monitoring and analyzing logs and metrics from various sources. It includes these features Grafana, Prometheus, Loki, Mimir and Loki-scalable.\n\nGrafana is an open-source platform for monitoring and observability, offering customizable dashboards, alerts, and data visualization for a wide range of data sources.\n\nPrometheus is an open-source systems monitoring and alerting toolkit designed for reliability and scalability, providing powerful queries, storage, and visualization of time series data.\n\nLoki is a log aggregation system that allows you to store, search, and analyze large volumes of logs from different sources. With Loki, you can quickly find the relevant logs and troubleshoot issues in your system. It uses a unique indexing method that stores metadata separately from the log data, making it very efficient and scalable.\n\nMimir is a metric aggregation system that allows you to collect, store, and analyze metrics from various sources. It supports various data sources such as Prometheus, Graphite, and InfluxDB. With Mimir, you can visualize metrics using a variety of charts, graphs, and dashboards.\n\nThis PGL module includes multiple dashboards that provide a comprehensive view of your system's health and performance. These dashboards include system performance, error tracking, network performance, and more.\n\nLoki-scalable is a horizontally scalable, highly available distributed logging system designed for storing and querying logs from all your applications and infrastructure.\n\nThis module also includes alerting features that allow you to set up custom alerts for specific events or conditions. You can configure alerts to notify you via email, Slack, or other channels, and set up automated responses to resolve issues quickly.\n\n## Supported Versions Table:\n\n| Resources                       |  Helm Chart Version                |     K8s supported version        |  \n| :-----:                         | :---                               |         :---                     |\n| Kube-Prometheus-Stack           | **61.1.0**                         |    **1.23,1.24,1.25,1.26,1.27,1.28,1.29,1.30**  |\n| Prometheus-Blackbox-Exporter    | **8.17.0**                         |    **1.23,1.24,1.25,1.26,1.27,1.28,1.29,1.30**  |\n| Mimir                           | **5.4.0**                          |    **1.23,1.24,1.25,1.26,1.27,1.28,1.29,1.30**  |\n| Loki-Stack                      | **2.10.2**                          |    **1.23,1.24,1.25,1.26,1.27,1.28,1.29,1.30**  |\n| Loki-Scalable                   | **6.7.1**                          |    **1.23,1.24,1.25,1.26,1.27,1.28,1.29**  |\n| Tempo                           | **1.6.2**                          |    **1.23,1.24,1.25,1.26,1.27**  |\n| OTEL                            | **0.37.0**                         |    **1.23,1.24,1.25,1.26,1.27**  |\n\n\n## Usage Example\n\n```hcl\nmodule \"pgl\" {\n  source                        = \"squareops/grafana-stack/kubernetes\"\n  version                       = \"3.1.0\"\n  cluster_name                  = \"\"\n  kube_prometheus_stack_enabled = true\n  loki_enabled                  = false\n  loki_scalable_enabled         = true\n  grafana_mimir_enabled         = true\n  cloudwatch_enabled            = true\n  tempo_enabled                 = false\n  deployment_config = {\n    hostname                            = \"grafana.squareops.com\"\n    storage_class_name                  = \"infra-service-sc\"\n    prometheus_values_yaml              = file(\"./helm/prometheus.yaml\")\n    loki_values_yaml                    = file(\"./helm/loki.yaml\")\n    blackbox_values_yaml                = file(\"./helm/blackbox.yaml\")\n    grafana_mimir_values_yaml           = file(\"./helm/mimir.yaml\")\n    tempo_values_yaml                   = file(\"./helm/tempo.yaml\")\n    dashboard_refresh_interval          = \"\"\n    grafana_enabled                     = true\n    prometheus_hostname                 = \"prometheus.com\"\n    prometheus_internal_ingress_enabled = false\n    grafana_ingress_load_balancer       = \"nlb\" ##Choose your load balancer type (e.g., NLB or ALB). If using ALB, ensure you provide the ACM certificate ARN for SSL.\n    alb_acm_certificate_arn             = \"\"    #\"arn:aws:acm:${local.region}:444455556666:certificate/certificate_ID\"\n    loki_internal_ingress_enabled       = false\n    loki_hostname                       = \"loki.com\"\n    mimir_s3_bucket_config = {\n      s3_bucket_name       = \"${local.environment}-${local.name}-mimir-bucket\"\n      versioning_enabled   = \"false\"\n      s3_bucket_region     = \"${local.region}\"\n      s3_object_expiration = 90\n    }\n    loki_scalable_config = {\n      loki_scalable_version = \"6.7.1\"\n      loki_scalable_values  = file(\"./helm/loki-scalable.yaml\")\n      s3_bucket_name        = \"${local.environment}-${local.name}-loki-scalable-bucket\"\n      versioning_enabled    = \"false\"\n      s3_bucket_region      = \"${local.region}\"\n    }\n    promtail_config = {\n      promtail_version = \"6.16.3\"\n      promtail_values  = file(\"./helm/promtail.yaml\")\n    }\n    tempo_config = {\n      s3_bucket_name       = \"${local.environment}-${local.name}-tempo-skaf\"\n      versioning_enabled   = false\n      s3_bucket_region     = \"${local.region}\"\n      s3_object_expiration = \"90\"\n    }\n    otel_config = {\n      otel_operator_enabled  = false\n      otel_collector_enabled = false\n    }\n  }\n  exporter_config = {\n    json             = false\n    nats             = false\n    nifi             = false\n    snmp             = false\n    druid            = false\n    istio            = false\n    kafka            = false\n    mysql            = false\n    redis            = false\n    argocd           = false\n    consul           = false\n    statsd           = false\n    couchdb          = false\n    jenkins          = false\n    mongodb          = false\n    pingdom          = false\n    rabbitmq         = false\n    blackbox         = false\n    postgres         = false\n    conntrack        = false\n    stackdriver      = false\n    push_gateway     = false\n    elasticsearch    = false\n    prometheustosd   = false\n    ethtool_exporter = false\n  }\n}\n```\nRefer [examples](https://github.com/sq-ia/terraform-kubernetes-grafana/tree/main/examples/complete) for more details.\n\n## IAM Permissions\nThe required IAM permissions to create resources from this module can be found [here](https://github.com/sq-ia/terraform-kubernetes-grafana/blob/main/IAM.md)\n\n## Important Notes\n  1. In order to enable the exporter, it is required to deploy Prometheus/Grafana first.\n  2. The exporter is a tool that extracts metrics data from an application or system and makes it available to be scraped by Prometheus.\n  3. Prometheus is a monitoring system that collects metrics data from various sources, including exporters, and stores it in a time-series database.\n  4. Grafana is a data visualization and dashboard tool that works with Prometheus and other data sources to display the collected metrics in a user-friendly way.\n  5. To deploy Prometheus/Grafana, please follow the installation instructions for each tool in their respective documentation.\n  6. Once Prometheus and Grafana are deployed, the exporter can be configured to scrape metrics data from your application or system and send it to Prometheus.\n  7. Finally, you can use Grafana to create custom dashboards and visualize the metrics data collected by Prometheus.\n  8. If we enable internal ingress for prometheus and loki then we will be able to access it on private endpoint via vpn.\n  9. This module is compatible with EKS version 1.23,1.24,1.25,1.26,1.27,1.28,1.29 which is great news for users deploying the module on an EKS cluster running that version. Review the module's documentation, meet specific configuration requirements, and test thoroughly after deployment to ensure everything works as expected.\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | n/a |\n| \u003ca name=\"provider_helm\"\u003e\u003c/a\u003e [helm](#provider\\_helm) | n/a |\n| \u003ca name=\"provider_kubernetes\"\u003e\u003c/a\u003e [kubernetes](#provider\\_kubernetes) | n/a |\n| \u003ca name=\"provider_null\"\u003e\u003c/a\u003e [null](#provider\\_null) | n/a |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | n/a |\n| \u003ca name=\"provider_time\"\u003e\u003c/a\u003e [time](#provider\\_time) | n/a |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_loki_scalable_s3_bucket\"\u003e\u003c/a\u003e [loki\\_scalable\\_s3\\_bucket](#module\\_loki\\_scalable\\_s3\\_bucket) | terraform-aws-modules/s3-bucket/aws | 4.1.2 |\n| \u003ca name=\"module_s3_bucket_mimir\"\u003e\u003c/a\u003e [s3\\_bucket\\_mimir](#module\\_s3\\_bucket\\_mimir) | terraform-aws-modules/s3-bucket/aws | 4.1.2 |\n| \u003ca name=\"module_s3_bucket_temp\"\u003e\u003c/a\u003e [s3\\_bucket\\_temp](#module\\_s3\\_bucket\\_temp) | terraform-aws-modules/s3-bucket/aws | 4.1.2 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_iam_role.cloudwatch_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role.loki_scalable_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role.mimir_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role.s3_tempo_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [helm_release.blackbox_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.conntrak_stats_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.consul_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.couchdb_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.druid_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.ethtool_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.grafana_mimir](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.json_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.loki](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.loki_scalable](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.nats_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.open-telemetry](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.otel-collector](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.pingdom_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.prometheus-to-sd](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.prometheus_grafana](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.promtail](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.pushgateway](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.snmp_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.stackdriver_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.statsd_exporter](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [helm_release.tempo](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource |\n| [kubernetes_config_map.argocd_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_acm](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_alb](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_cloudfront](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_cw_logs](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_dynamodb](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_ebs](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_efs](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_inspector](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_lambda](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_nat](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_nlb](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_rabbitmq](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_rds](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_s3](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_sns](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.aws_sqs](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.blackbox_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.elasticache_redis](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.elasticsearch_cluster_stats_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.elasticsearch_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.elasticsearch_exporter_quickstart_and_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.grafana_home_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.ingress_nginx_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.istio_control_plane_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.istio_performance_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.jenkins_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.kafka_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.loki_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-compactor_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-object-store_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-overview_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-queries_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-reads-resources_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-reads_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-writes-resources_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mimir-writes_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mongodb_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.mysql_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.nifi_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.nodegroup_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.postgres_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.rabbitmq_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_config_map.redis_dashboard](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) | resource |\n| [kubernetes_namespace.monitoring](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace) | resource |\n| [kubernetes_priority_class.priority_class](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/priority_class) | resource |\n| [null_resource.grafana_homepage](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n| [random_password.grafana_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource |\n| [time_sleep.wait_180_sec](https://registry.terraform.io/providers/hashicorp/time/latest/docs/resources/sleep) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_eks_cluster.kubernetes_cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster) | data source |\n| [kubernetes_secret.prometheus-operator-grafana](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/secret) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_blackbox_exporter_version\"\u003e\u003c/a\u003e [blackbox\\_exporter\\_version](#input\\_blackbox\\_exporter\\_version) | Version of the Blackbox exporter to deploy. | `string` | `\"8.17.0\"` | no |\n| \u003ca name=\"input_cloudwatch_enabled\"\u003e\u003c/a\u003e [cloudwatch\\_enabled](#input\\_cloudwatch\\_enabled) | Whether or not to add CloudWatch as datasource and add some default dashboards for AWS in Grafana. | `bool` | `false` | no |\n| \u003ca name=\"input_cluster_name\"\u003e\u003c/a\u003e [cluster\\_name](#input\\_cluster\\_name) | Specifies the name of the EKS cluster. | `string` | n/a | yes |\n| \u003ca name=\"input_deployment_config\"\u003e\u003c/a\u003e [deployment\\_config](#input\\_deployment\\_config) | Configuration options for the Prometheus, Alertmanager, Loki, and Grafana deployments, including the hostname, storage class name, dashboard refresh interval, and S3 bucket configuration for Mimir. | `any` | \u003cpre\u003e{\u003cbr/\u003e  \"alb_acm_certificate_arn\": \"\",\u003cbr/\u003e  \"blackbox_values_yaml\": \"\",\u003cbr/\u003e  \"dashboard_refresh_interval\": \"\",\u003cbr/\u003e  \"grafana_enabled\": true,\u003cbr/\u003e  \"grafana_ingress_load_balancer\": \"nlb\",\u003cbr/\u003e  \"grafana_mimir_values_yaml\": \"\",\u003cbr/\u003e  \"hostname\": \"\",\u003cbr/\u003e  \"ingress_class_name\": \"\",\u003cbr/\u003e  \"loki_hostname\": \"\",\u003cbr/\u003e  \"loki_internal_ingress_enabled\": false,\u003cbr/\u003e  \"loki_scalable_config\": {\u003cbr/\u003e    \"loki_scalable_values\": \"\",\u003cbr/\u003e    \"loki_scalable_version\": \"6.6.5\",\u003cbr/\u003e    \"s3_bucket_name\": \"\",\u003cbr/\u003e    \"s3_bucket_region\": \"\",\u003cbr/\u003e    \"versioning_enabled\": \"\"\u003cbr/\u003e  },\u003cbr/\u003e  \"loki_values_yaml\": \"\",\u003cbr/\u003e  \"mimir_s3_bucket_config\": {\u003cbr/\u003e    \"s3_bucket_name\": \"\",\u003cbr/\u003e    \"s3_bucket_region\": \"\",\u003cbr/\u003e    \"s3_object_expiration\": \"\",\u003cbr/\u003e    \"versioning_enabled\": \"\"\u003cbr/\u003e  },\u003cbr/\u003e  \"otel_config\": {\u003cbr/\u003e    \"otel_collector_enabled\": false,\u003cbr/\u003e    \"otel_operator_enabled\": false\u003cbr/\u003e  },\u003cbr/\u003e  \"private_alb_enabled\": \"\",\u003cbr/\u003e  \"prometheus_hostname\": \"\",\u003cbr/\u003e  \"prometheus_internal_ingress_enabled\": false,\u003cbr/\u003e  \"prometheus_values_yaml\": \"\",\u003cbr/\u003e  \"promtail_config\": {\u003cbr/\u003e    \"promtail_values\": \"\",\u003cbr/\u003e    \"promtail_version\": \"6.16.3\"\u003cbr/\u003e  },\u003cbr/\u003e  \"storage_class_name\": \"gp2\",\u003cbr/\u003e  \"tempo_config\": {\u003cbr/\u003e    \"s3_bucket_name\": \"\",\u003cbr/\u003e    \"s3_bucket_region\": \"\",\u003cbr/\u003e    \"s3_object_expiration\": \"\",\u003cbr/\u003e    \"versioning_enabled\": false\u003cbr/\u003e  },\u003cbr/\u003e  \"tempo_values_yaml\": \"\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_exporter_config\"\u003e\u003c/a\u003e [exporter\\_config](#input\\_exporter\\_config) | allows enabling/disabling various exporters for scraping metrics, including Consul, MongoDB, Redis, and StatsD. | `map(any)` | \u003cpre\u003e{\u003cbr/\u003e  \"argocd\": false,\u003cbr/\u003e  \"blackbox\": true,\u003cbr/\u003e  \"conntrack\": false,\u003cbr/\u003e  \"consul\": false,\u003cbr/\u003e  \"couchdb\": false,\u003cbr/\u003e  \"druid\": false,\u003cbr/\u003e  \"elasticsearch\": true,\u003cbr/\u003e  \"ethtool_exporter\": true,\u003cbr/\u003e  \"istio\": false,\u003cbr/\u003e  \"jenkins\": false,\u003cbr/\u003e  \"json\": false,\u003cbr/\u003e  \"kafka\": false,\u003cbr/\u003e  \"mongodb\": true,\u003cbr/\u003e  \"mysql\": true,\u003cbr/\u003e  \"nats\": false,\u003cbr/\u003e  \"nifi\": false,\u003cbr/\u003e  \"pingdom\": false,\u003cbr/\u003e  \"postgres\": false,\u003cbr/\u003e  \"prometheustosd\": false,\u003cbr/\u003e  \"push_gateway\": false,\u003cbr/\u003e  \"rabbitmq\": false,\u003cbr/\u003e  \"redis\": true,\u003cbr/\u003e  \"snmp\": false,\u003cbr/\u003e  \"stackdriver\": false,\u003cbr/\u003e  \"statsd\": true\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_grafana_mimir_enabled\"\u003e\u003c/a\u003e [grafana\\_mimir\\_enabled](#input\\_grafana\\_mimir\\_enabled) | Specify whether or not to deploy the Grafana Mimir plugin. | `bool` | `false` | no |\n| \u003ca name=\"input_grafana_mimir_version\"\u003e\u003c/a\u003e [grafana\\_mimir\\_version](#input\\_grafana\\_mimir\\_version) | Version of the Grafana Mimir plugin to deploy. | `string` | `\"5.4.0\"` | no |\n| \u003ca name=\"input_kube_prometheus_stack_enabled\"\u003e\u003c/a\u003e [kube\\_prometheus\\_stack\\_enabled](#input\\_kube\\_prometheus\\_stack\\_enabled) | Specify whether or not to deploy Grafana as part of the Prometheus and Alertmanager stack. | `bool` | `false` | no |\n| \u003ca name=\"input_loki_enabled\"\u003e\u003c/a\u003e [loki\\_enabled](#input\\_loki\\_enabled) | Whether or not to deploy Loki for log aggregation and querying. | `bool` | `false` | no |\n| \u003ca name=\"input_loki_scalable_enabled\"\u003e\u003c/a\u003e [loki\\_scalable\\_enabled](#input\\_loki\\_scalable\\_enabled) | Specify whether or not to deploy the loki scalable | `bool` | `false` | no |\n| \u003ca name=\"input_loki_stack_version\"\u003e\u003c/a\u003e [loki\\_stack\\_version](#input\\_loki\\_stack\\_version) | Version of the Loki stack to deploy. | `string` | `\"2.10.2\"` | no |\n| \u003ca name=\"input_pgl_namespace\"\u003e\u003c/a\u003e [pgl\\_namespace](#input\\_pgl\\_namespace) | Name of the Kubernetes namespace where the Grafana deployment will be deployed. | `string` | `\"monitoring\"` | no |\n| \u003ca name=\"input_prometheus_chart_version\"\u003e\u003c/a\u003e [prometheus\\_chart\\_version](#input\\_prometheus\\_chart\\_version) | Version of the Prometheus chart to deploy. | `string` | `\"61.1.0\"` | no |\n| \u003ca name=\"input_tempo_enabled\"\u003e\u003c/a\u003e [tempo\\_enabled](#input\\_tempo\\_enabled) | Enable Grafana Tempo | `bool` | `false` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_grafana\"\u003e\u003c/a\u003e [grafana](#output\\_grafana) | Grafana\\_Info |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Contribution \u0026 Issue Reporting\n\nTo report an issue with a project:\n\n  1. Check the repository's [issue tracker](https://github.com/sq-ia/terraform-kubernetes-grafana/issues) on GitHub\n  2. Search to see if the issue has already been reported\n  3. If you can't find an answer to your question in the documentation or issue tracker, you can ask a question by creating a new issue. Be sure to provide enough context and details so others can understand your problem.\n\n## License\n\nApache License, Version 2.0, January 2004 (http://www.apache.org/licenses/).\n\n## Support Us\n\nTo support a GitHub project by liking it, you can follow these steps:\n\n  1. Visit the repository: Navigate to the [GitHub repository](https://github.com/sq-ia/terraform-kubernetes-grafana).\n\n  2. Click the \"Star\" button: On the repository page, you'll see a \"Star\" button in the upper right corner. Clicking on it will star the repository, indicating your support for the project.\n\n  3. Optionally, you can also leave a comment on the repository or open an issue to give feedback or suggest changes.\n\nStarring a repository on GitHub is a simple way to show your support and appreciation for the project. It also helps to increase the visibility of the project and make it more discoverable to others.\n\n## Who we are\n\nWe believe that the key to success in the digital age is the ability to deliver value quickly and reliably. That’s why we offer a comprehensive range of DevOps \u0026 Cloud services designed to help your organization optimize its systems \u0026 Processes for speed and agility.\n\n  1. We are an AWS Advanced consulting partner which reflects our deep expertise in AWS Cloud and helping 100+ clients over the last 5 years.\n  2. Expertise in Kubernetes and overall container solution helps companies expedite their journey by 10X.\n  3. Infrastructure Automation is a key component to the success of our Clients and our Expertise helps deliver the same in the shortest time.\n  4. DevSecOps as a service to implement security within the overall DevOps process and helping companies deploy securely and at speed.\n  5. Platform engineering which supports scalable,Cost efficient infrastructure that supports rapid development, testing, and deployment.\n  6. 24*7 SRE service to help you Monitor the state of your infrastructure and eradicate any issue within the SLA.\n\nWe provide [support](https://squareops.com/contact-us/) on all of our projects, no matter how small or large they may be.\n\nTo find more information about our company, visit [squareops.com](https://squareops.com/), follow us on [Linkedin](https://www.linkedin.com/company/squareops-technologies-pvt-ltd/), or fill out a [job application](https://squareops.com/careers/). If you have any questions or would like assistance with your cloud strategy and implementation, please don't hesitate to [contact us](https://squareops.com/contact-us/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareops%2Fterraform-kubernetes-grafana-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquareops%2Fterraform-kubernetes-grafana-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareops%2Fterraform-kubernetes-grafana-stack/lists"}