| Name | Version |
|---|---|
| terraform | >= 1 |
| aws | 4.20.1 |
| helm | 2.4.1 |
| kubernetes | 2.7.1 |
| Name | Version |
|---|---|
| aws | 4.20.1 |
| helm | 2.4.1 |
| kubernetes | 2.7.1 |
| Name | Source | Version |
|---|---|---|
| cloudwatch_log_policy | terraform-aws-modules/iam/aws//modules/iam-policy | ~> 4 |
| cluster_log_group | terraform-aws-modules/cloudwatch/aws//modules/log-group | 3.2.0 |
| iam_role | terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc | 4.10.1 |
| Name | Type |
|---|---|
| aws_iam_policy_attachment.fargate_logging | resource |
| helm_release.aws_cloudwatch_logs | resource |
| kubernetes_config_map.fargate_log_config | resource |
| kubernetes_namespace.aws_observability | resource |
| aws_eks_cluster.cluster | data source |
| aws_eks_cluster_auth.cluster | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| aws_region | AWS Region used for storing logs. | string |
n/a | yes |
| cluster_name | AWS EKS Cluster name. | string |
n/a | yes |
| fargate_logging_enabled | Set to true to collect logs from Fargate PODs. | bool |
false |
no |
| fargate_logging_iam_role_name | Name of the IAM role used by Fargate to send the logs. | string |
"" |
no |
| log_retention_days | How many days the logs should be retained. | number |
30 |
no |
| name | Name for created resources. | string |
"aws-eks-cloudwatch-logs" |
no |
| tags | AWS Provider detault tags | map(string) |
{} |
no |
| values | Additional values to pass into the AWS EKS Cloudwatch helm chart. | list(string) |
[] |
no |
| Name | Description |
|---|---|
| cloudwatch_log_group | Cloudwatch log group that receives all logs. |
| iam_role | IAM role used by the helm chart dispatching logs to Cloudwatch. |