This example demonstrates how to use the AWS Observability Accelerator Terraform modules with Infrastructure monitoring enabled. The current example deploys the AWS Distro for OpenTelemetry Operator for Amazon EKS with its requirements and make use of an existing Amazon Managed Grafana workspace. It creates a new Amazon Managed Service for Prometheus workspace unless provided with an existing one to reuse.
It uses the EKS monitoring
module
to provide an existing EKS cluster with an OpenTelemetry collector,
curated Grafana dashboards, Prometheus alerting and recording rules with multiple
configuration options on the cluster infrastructure.
View the full documentation for this example here
Name | Version |
---|---|
terraform | >= 1.1.0 |
aws | >= 4.0.0 |
helm | >= 2.4.1 |
kubectl | >= 2.0.3 |
kubernetes | >= 2.10 |
Name | Version |
---|---|
aws | >= 4.0.0 |
Name | Source | Version |
---|---|---|
aws_observability_accelerator | ../../ | n/a |
eks_monitoring | ../../modules/eks-monitoring | n/a |
Name | Type |
---|---|
aws_eks_cluster.this | data source |
aws_eks_cluster_auth.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_region | AWS Region | string |
n/a | yes |
eks_cluster_id | Name of the EKS cluster | string |
"eks-cluster-with-vpc" |
no |
enable_dashboards | Enables or disables curated dashboards. Dashboards are managed by the Grafana Operator | bool |
true |
no |
grafana_api_key | API key for authorizing the Grafana provider to make changes to Amazon Managed Grafana | string |
n/a | yes |
managed_grafana_workspace_id | Amazon Managed Grafana Workspace ID | string |
n/a | yes |
managed_prometheus_workspace_id | Amazon Managed Service for Prometheus Workspace ID | string |
"" |
no |
Name | Description |
---|---|
aws_region | AWS Region |
eks_cluster_id | EKS Cluster Id |
eks_cluster_version | EKS Cluster version |