+## Requirements
+
+| Name | Version |
+|------|---------|
+| [grafana](#requirement\_grafana) | ~> 1.25.0 |
+
+## Providers
+
+| Name | Version |
+|------|---------|
+| [aws](#provider\_aws) | n/a |
+| [grafana](#provider\_grafana) | ~> 1.25.0 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [helm\_addon](#module\_helm\_addon) | github.com/aws-ia/terraform-aws-eks-blueprints/modules/kubernetes-addons/helm-addon | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [aws_prometheus_rule_group_namespace.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/prometheus_rule_group_namespace) | resource |
+| [grafana_dashboard.this](https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/dashboard) | resource |
+| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [addon\_context](#input\_addon\_context) | Input configuration for the addon | 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)
}) | n/a | yes |
+| [amp\_endpoint](#input\_amp\_endpoint) | Amazon Managed Prometheus endpoint | `string` | n/a | yes |
+| [amp\_id](#input\_amp\_id) | Managed Prometheus workspace id | `string` | n/a | yes |
+| [amp\_region](#input\_amp\_region) | Amazon Managed Prometheus Workspace's Region | `string` | `null` | no |
+| [dashboards\_folder\_id](#input\_dashboards\_folder\_id) | n/a | `string` | n/a | yes |
+| [enable\_recording\_rules](#input\_enable\_recording\_rules) | Enable AMP recording rules | `bool` | `true` | no |
+| [helm\_config](#input\_helm\_config) | Helm Config for Prometheus | `any` | `{}` | no |
+
+## Outputs
+
+No outputs.
+
diff --git a/variables.tf b/variables.tf
index f8d071f..7716f49 100644
--- a/variables.tf
+++ b/variables.tf
@@ -21,8 +21,9 @@ variable "irsa_iam_permissions_boundary" {
}
variable "enable_amazon_eks_adot" {
- type = bool
- default = true
+ description = "Enables the ADOT Operator on the EKS Cluster"
+ type = bool
+ default = true
}
variable "enable_cert_manager" {
@@ -32,45 +33,49 @@ variable "enable_cert_manager" {
}
variable "enable_managed_prometheus" {
- type = bool
- default = true
+ description = "Creates a new AMP workspace"
+ type = bool
+ default = true
}
variable "managed_prometheus_workspace_id" {
- description = "AWS Managed Prometheus Workspace ID"
+ description = "AMP Workspace ID"
type = string
default = ""
}
variable "managed_prometheus_workspace_region" {
- description = "AWS Managed Prometheus Workspace Region"
+ description = "Region where AMP is deployed"
type = string
default = null
}
variable "enable_alertmanager" {
- description = "Create AMP AlertManager for all workloads"
+ description = "Creates AMP AlertManager for all workloads"
type = bool
default = false
}
variable "enable_managed_grafana" {
- type = bool
- default = true
+ description = "Creates a new Amazon Managed Grafana (AMG) Workspace"
+ type = bool
+ default = true
}
variable "managed_grafana_region" {
- description = "AWS Managed Grafana Workspace Region"
+ description = "Region where AMG is deployed"
type = string
default = null
}
variable "managed_grafana_workspace_id" {
- type = string
- default = ""
+ description = "AMG Workspace ID"
+ type = string
+ default = ""
}
variable "grafana_api_key" {
- type = string
- default = null
+ description = "Grafana API key for the AMG workspace"
+ type = string
+ default = null
}
variable "tags" {