# ADOT variable variable "helm_config" { description = "Helm Config for Prometheus" type = any default = {} } variable "amp_endpoint" { description = "Amazon Managed Prometheus Workspace Endpoint" type = string default = null } variable "amp_id" { description = "Amazon Managed Prometheus Workspace ID" type = string default = null } variable "amp_region" { description = "Amazon Managed Prometheus Workspace's Region" type = string default = null } variable "addon_context" { description = "Input configuration for the addon" type = object({ aws_caller_identity_account_id = string aws_caller_identity_arn = string aws_eks_cluster_endpoint = string aws_partition_id = string aws_region_name = string eks_cluster_id = string eks_oidc_issuer_url = string eks_oidc_provider_arn = string irsa_iam_permissions_boundary = string irsa_iam_role_path = string tags = map(string) }) } variable "config" { type = object({ helm_config = map(any) enable_kube_state_metrics = bool kms_create_namespace = bool ksm_k8s_namespace = string ksm_helm_chart_name = string ksm_helm_chart_version = string ksm_helm_release_name = string ksm_helm_repo_url = string ksm_helm_settings = map(string) ksm_helm_values = map(any) enable_node_exporter = bool ne_create_namespace = bool ne_k8s_namespace = string ne_helm_chart_name = string ne_helm_chart_version = string ne_helm_release_name = string ne_helm_repo_url = string ne_helm_settings = map(string) ne_helm_values = map(any) }) default = { enable_kube_state_metrics = true enable_node_exporter = true helm_config = {} kms_create_namespace = true ksm_helm_chart_name = "kube-state-metrics" ksm_helm_chart_version = "4.9.2" ksm_helm_release_name = "kube-state-metrics" ksm_helm_repo_url = "https://prometheus-community.github.io/helm-charts" ksm_helm_settings = {} ksm_helm_values = {} ksm_k8s_namespace = "kube-system" ne_create_namespace = true ne_k8s_namespace = "prometheus-node-exporter" ne_helm_chart_name = "prometheus-node-exporter" ne_helm_chart_version = "2.0.3" ne_helm_release_name = "prometheus-node-exporter" ne_helm_repo_url = "https://prometheus-community.github.io/helm-charts" ne_helm_settings = {} ne_helm_values = {} } nullable = false } # # Kube-state-metrics Variables # variable "enable_kube_state_metrics" { # description = "Variable indicating whether deployment is enabled" # type = bool # default = true # } # # Helm # variable "helm_create_namespace_ksm" { # type = bool # default = true # description = "Create the namespace if it does not yet exist" # } # variable "helm_chart_name_ksm" { # type = string # default = "kube-state-metrics" # description = "Helm chart name to be installed" # } # variable "helm_chart_version_ksm" { # type = string # default = "4.9.2" # description = "Version of the Helm chart" # } # variable "helm_release_name_ksm" { # type = string # default = "kube-state-metrics" # description = "Helm release name" # } # variable "helm_repo_url_ksm" { # type = string # default = "https://prometheus-community.github.io/helm-charts" # description = "Helm repository" # } # # K8s # variable "k8s_namespace_ksm" { # type = string # default = "kube-system" # description = "The K8s namespace in which the prometheus-node-exporter service account has been created" # } # variable "settings" { # type = map(any) # default = {} # description = "Additional settings which will be passed to the Helm chart values, see https://hub.helm.sh/charts/stable/prometheus-node-exporter" # } # variable "values" { # type = string # default = "" # description = "Additional yaml encoded values which will be passed to the Helm chart." # } # # Node exporter Variables # variable "enabled_node_exporter" { # description = "Variable indicating whether deployment is enabled" # type = bool # default = true # } # # Helm # variable "helm_create_namespace_ne" { # type = bool # default = true # description = "Create the namespace if it does not yet exist" # } # variable "helm_chart_name_ne" { # type = string # default = "prometheus-node-exporter" # description = "Helm chart name to be installed" # } # variable "helm_chart_version_ne" { # type = string # default = "2.0.3" # description = "Version of the Helm chart" # } # variable "helm_release_name_ne" { # type = string # default = "prometheus-node-exporter" # description = "Helm release name" # } # variable "helm_repo_url_ne" { # type = string # default = "https://prometheus-community.github.io/helm-charts" # description = "Helm repository" # } # # K8s # variable "helm_repo_url_ne" { # type = string # default = "kube-system" # description = "The K8s namespace in which the prometheus-node-exporter service account has been created" # }