eks-cloudwatch-metrics

DNXLabs/eks-cloudwatch-metrics/aws

Terraform Module HCL AWS

Terraform module for deploying AWS CloudWatch Agent inside a pre-existing EKS cluster.

Install
module "eks-cloudwatch-metrics" {
source = "DNXLabs/eks-cloudwatch-metrics/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-dnxlabs-eks-cloudwatch-metrics-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-eks-cloudwatch-metrics ![Lint Status](https://github.com/DNXLabs/terraform-aws-eks-cloudwatch-metrics/actions) ![LICENSE](https://github.com/DNXLabs/terraform-aws-eks-cloudwatch-metrics/blob/master/LICENSE) Terraform module for deploying AWS CloudWatch Agent inside a pre-existing EKS cluster. Usage `` module "cloudwatch_metrics" { source = "git::https://github.com/DNXLabs/terraform-aws-eks-cloudwatch-metrics.git" cluster_name = module.eks_cluster.cluster_id cluster_identity_oidc_issuer = module.eks_cluster.cluster_oidc_issuer_url cluster_identity_oidc_issuer_arn = module.eks_cluster.oidc_provider_arn worker_iam_role_name = module.eks_cluster.worker_iam_role_name } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13 | | aws | >= 3.13 | | helm | >= 1.0 |

Inputs (14)
NameTypeDescriptionDefault
cluster_identity_oidc_issuerstringThe OIDC Identity issuer for the cluster. required
worker_iam_role_namestringIAM role name for EKS worker groups. required
cluster_namestringThe name of the cluster. required
cluster_identity_oidc_issuer_arnstringThe OIDC Identity issuer ARN for the cluster that can be used to associate IAM r required
enabledboolVariable indicating whether deployment is enabled.true
helm_chart_repostringCloudWatch Agent Helm repository name."https://aws.github.io/eks-charts"
create_namespaceboolWhether to create Kubernetes namespace with name defined by `namespace`.true
service_account_namestringcloudwatch-metrics service account name."aws-cloudwatch-metrics"
helm_chart_namestringCloudWatch Agent Helm chart name."aws-cloudwatch-metrics"
namespacestringKubernetes namespace to deploy CloudWatch Agent Helm chart."aws-cloudwatch-metrics"
helm_chart_versionstringCloudWatch Agent Helm chart version."0.0.4"
helm_chart_release_namestringCloudWatch Agent Helm release name."aws-cloudwatch-metrics"
mod_dependencystringDependence variable binds all AWS resources allocated by this module, dependent null
settingsmapAdditional settings which will be passed to the Helm chart values.{}
Resources (3)
aws_iam_role_policy_attachmenthelm_releasekubernetes_namespace
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars3
Forks4
Total downloads17.1k
Inputs14
Resources3
LicenseApache-2.0
NamespaceDNXLabs
Updated