eks-monitoring

andreswebs/eks-monitoring/aws

Terraform Module HCL AWS

Deploys Prometheus, Grafana, Loki and Promtail on AWS EKS via Helm

Install
module "eks-monitoring" {
source = "andreswebs/eks-monitoring/aws"
version = "0.12.0"
}
plain text: /constructs/tfmod-andreswebs-eks-monitoring-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-eks-monitoring Deploys the "Grafana + Prometheus + Loki" monitoring stack via Helm on AWS EKS. [//]: # (BEGIN_TF_DOCS) Usage Example: ``hcl module "monitoring" { source = "github.com/andreswebs/terraform-aws-eks-monitoring" cluster_oidc_provider = var.eks_cluster_oidc_provider loki_iam_role_name = "loki-${var.eks_cluster_id}" loki_compactor_iam_role_name = "loki-compactor-${var.eks_cluster_id}" grafana_iam_role_name = "grafana-${var.eks_cluster_id}" loki_storage_s3_bucket_name = var.loki_storage_s3_bucket_name chart_version_loki_distributed = var.chart_version_loki_distributed chart_version_promtail = var.chart_version_promtail chart_version_prometheus = var.chart_version_prometheus chart_version_grafana = var.chart_version_grafana grafana_enabled = true } ` Inputs | Name | D

Inputs (50)
NameTypeDescriptionDefault
create_loki_storageboolCreate S3 bucket for Loki storage?false
create_loki_storage_kms_keyboolCreate KMS key?true
helm_recreate_podsboolPerform pods restart during upgrade/rollback ?true
helm_cleanup_on_failboolDeletion new resources created in this upgrade if the upgrade fails ?true
helm_wait_for_completionboolWait until all resources are in a ready state before marking the release as succtrue
k8s_namespacestringName of the Kubernetes namespace to which resources will be deployed"monitoring"
grafana_enabledboolEnable Grafana?true
loki_modestringLoki mode, must be either `single` or `distributed`"distributed"
chart_version_prometheusstringChart versionnull
chart_version_loki_distributedstringChart versionnull
helm_release_name_fluent_bitstringRelease name"fluent-bit"
helm_timeout_secondsnumberTime in seconds to wait for any individual kubernetes operation300
helm_create_namespaceboolCreate the namespace if it does not yet exist ?true
loki_storage_kms_key_deletion_window_in_daysnumberKMS key deletion window in days30
loki_service_account_namestringName of the Kubernetes service account for Loki components"loki"
grafana_service_account_namestringName of the Kubernetes service account for Grafana"grafana"
helm_reuse_valuesboolWhen upgrading, reuse the last release's values and merge any overrides ? If 'refalse
helm_reset_valuesboolWhen upgrading, reset the values to the ones built into the chart ?false
loki_enabledboolEnable Loki?true
loki_compactor_service_account_namestringName of the Kubernetes service account for the Loki compactor"loki-compactor"
… and 10 more inputs
Outputs (1)
namespace — The name (`metadata.name`) of the namespace
Resources (1)
random_id
Details
FrameworkTerraform Module
LanguageHCL
Version0.12.0
Cloud AWS
★ Stars12
Forks16
Total downloads5.5k
Inputs50
Outputs1
Resources1
Submodules3
LicenseUnlicense
Namespaceandreswebs
Updated