Files
terraform-aws-observability…/modules/eks-monitoring/add-ons/aws-for-fluentbit

AWS for Fluent Bit

Fluent Bit is an open source Log Processor and Forwarder which allows you to collect any data like metrics and logs from different sources, enrich them with filters and send them to multiple destinations. AWS provides a Fluent Bit image with plugins for CloudWatch Logs, Kinesis Data Firehose, Kinesis Data Stream and Amazon OpenSearch Service.

This add-on is configured to stream the worker node logs to CloudWatch Logs by default. It can be configured to stream the logs to additional destinations like Kinesis Data Firehose, Kinesis Data Streams and Amazon OpenSearch Service by passing the custom values.yaml. See this Helm Chart for more details.

Requirements

Name Version
terraform >= 1.0.0
aws >= 3.72

Providers

Name Version
aws >= 3.72

Modules

Name Source Version
helm_addon github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon v4.32.0

Resources

Name Type
aws_iam_policy.aws_for_fluent_bit resource
aws_iam_policy_document.irsa data source

Inputs

Name Description Type Default Required
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
tags = map(string)
irsa_iam_role_path = string
irsa_iam_permissions_boundary = string
})
n/a yes
cw_log_retention_days FluentBit CloudWatch Log group retention period number 90 no
helm_config Helm provider config aws_for_fluent_bit. any {} no
irsa_policies Additional IAM policies for a IAM role for service accounts list(string) [] no
manage_via_gitops Determines if the add-on should be managed via GitOps. bool false no

Outputs

Name Description
irsa_arn IAM role ARN for the service account
irsa_name IAM role name for the service account
release_metadata Map of attributes of the Helm release metadata
service_account Name of Kubernetes service account