Skip to content

bailey84j/terraform-kubernetes-fluentd-cloudwatch

Repository files navigation

terraform-kubernetes-fluentd-cloudwatch

Terraform module which deploys Fluentd Cloud Watch Agent

tflint LICENSE Terraform


Examples

Example Description Status
Standard Deploying Fluentd Cloudwatch Agent using the default settings Deployment
Custom Customising the deployment to use a different name and namespace Custom-Deployment

Contributing

Report issues/questions/feature requests via issues Full contributing guidelines are covered here

Requirements

Name Version
terraform >= 0.14.8
aws >= 3.63
kubernetes >= 2.0
template >= 2.2.0

Providers

Name Version
aws 3.73.0
kubernetes 2.7.1

Modules

No modules.

Resources

Name Type
aws_iam_role.this resource
kubernetes_cluster_role.this resource
kubernetes_cluster_role_binding.this resource
kubernetes_config_map.example resource
kubernetes_daemon_set_v1.this resource
kubernetes_namespace.this resource
kubernetes_service_account.this resource
aws_caller_identity.current data source
aws_eks_cluster.target data source
aws_iam_policy_document.assume_role_policy data source
aws_partition.current data source
aws_region.current data source

Inputs

Name Description Type Default Required
create_iam_role Determines whether a an IAM role is created or to use an existing IAM role for the cloudwatch agent bool true no
create_namespace Determines whether a an IAM role is created or to use an existing IAM role for the cloudwatch agent bool false no
eks_cluster_name The name of the target Kubernetes Cluster string n/a yes
iam_role_arn Existing IAM role ARN for the cloudwatch agent. Required if create_iam_role is set to false string null no
iam_role_description Description of the role string "Permissions required by the Kubernetes Fluentd to do it's job." no
iam_role_name Name to use on IAM role created string null no
iam_role_path Cluster IAM role path string "/eks/" no
iam_role_permissions_boundary ARN of the policy that is used to set the permissions boundary for the IAM role string null no
iam_role_tags A map of additional tags to add to the IAM role created map(string) {} no
iam_role_use_name_prefix Determines whether the IAM role name (iam_role_name) is used as a prefix string true no
image_name The name of the fluentd-cloudwatch container image string "fluentd-kubernetes-daemonset" no
image_version The name of the fluentd-cloudwatch container image version string "v1.14.3-debian-cloudwatch-1.0" no
name The name of the fluentd deployment string "fluentd" no
namespace The namespace to put the fluentd deployment in string "kube-system" no
prefix_separator The separator to use between the prefix and the generated timestamp for resource names string "-" no
tags A map of tags to add to all resources map(string) {} no

Outputs

No outputs.