eks-cloudwatch-logs

DNXLabs/eks-cloudwatch-logs/aws

Terraform Module HCL AWS

Terraform module for deploying AWS Fluent Bit as a daemonSet to send logs to CloudWatch Logs aws-for-fluent-bit inside a pre-existing EKS cluster.

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

terraform-aws-eks-cloudwatch-logs ![Lint Status](https://github.com/DNXLabs/terraform-aws-eks-cloudwatch-logs/actions) ![LICENSE](https://github.com/DNXLabs/terraform-aws-eks-cloudwatch-logs/blob/master/LICENSE) Terraform module for deploying AWS Fluent Bit as a daemonSet to send logs to CloudWatch Logs aws-for-fluent-bit inside a pre-existing EKS cluster. Usage `` module "cloudwatch_logs" { source = "git::https://github.com/DNXLabs/terraform-aws-eks-cloudwatch-logs.git" enabled = true 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 region = data.aws_region.current.name } ` Requirements

Inputs (18)
NameTypeDescriptionDefault
cluster_identity_oidc_issuer_arnstringThe OIDC Identity issuer ARN for the cluster that can be used to associate IAM r required
regionstringThe region for Fluent Bit Cloudwatch Logs required
cluster_identity_oidc_issuerstringThe OIDC Identity issuer for the cluster. required
cluster_namestringThe name of the cluster. required
worker_iam_role_namestringIAM role name for EKS worker groups. required
service_account_namestringFluent Bit service account name."aws-for-fluent-bit"
firehose_enabledstringWhether this plugin should be enabled or not.false
kinesis_enabledstringWhether this plugin should be enabled or not.false
enabledboolVariable indicating whether deployment is enabled.true
helm_chart_release_namestringFluent Bit Helm release name."aws-for-fluent-bit"
create_namespaceboolWhether to create Kubernetes namespace with name defined by `namespace`.true
helm_chart_namestringInstall Fluent Bit to send logs from containers to CloudWatch Logs"aws-for-fluent-bit"
elasticsearch_enabledstringWhether this plugin should be enabled or not.false
settingsmapAdditional settings which will be passed to the Helm chart values.{}
helm_chart_repostringFluent Bit Helm repository name."https://aws.github.io/eks-charts"
helm_chart_versionstringFluent Bit Helm chart version."0.1.24"
mod_dependencystringDependence variable binds all AWS resources allocated by this module, dependent null
namespacestringKubernetes namespace to deploy Fluent Bit Helm chart."aws-cloudwatch-logs"
Resources (3)
aws_iam_role_policy_attachmenthelm_releasekubernetes_namespace
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.5
Cloud AWS
★ Stars8
Forks16
Total downloads21.6k
Inputs18
Resources3
LicenseApache-2.0
NamespaceDNXLabs
Updated