feat: Add cloudwatch_log_group_arn to outputs (#1071)

This commit is contained in:
Ken Kaizu
2020-10-29 09:17:17 +09:00
committed by GitHub
parent 58f753e9f8
commit 62a8f46ba7
2 changed files with 6 additions and 0 deletions

View File

@@ -230,6 +230,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
| Name | Description |
|------|-------------|
| cloudwatch\_log\_group\_arn | Arn of cloudwatch log group created |
| cloudwatch\_log\_group\_name | Name of cloudwatch log group created |
| cluster\_arn | The Amazon Resource Name (ARN) of the cluster. |
| cluster\_certificate\_authority\_data | Nested attribute containing certificate-authority-data for your cluster. This is the base64 encoded certificate data required to communicate with your cluster. |

View File

@@ -61,6 +61,11 @@ output "cloudwatch_log_group_name" {
value = element(concat(aws_cloudwatch_log_group.this[*].name, list("")), 0)
}
output "cloudwatch_log_group_arn" {
description = "Arn of cloudwatch log group created"
value = element(concat(aws_cloudwatch_log_group.this[*].arn, list("")), 0)
}
output "kubeconfig" {
description = "kubectl config file contents for this EKS cluster."
value = local.kubeconfig