mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-21 00:01:18 +02:00
add cloudwatch log group access (#410)
* add cloudwatch log group access * update readme for outputs * update outputs * fix formatting * add splat for access to name
This commit is contained in:
@@ -12,6 +12,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Option to set a KMS key for the log group and encrypt it (by @till-krauss)
|
- Option to set a KMS key for the log group and encrypt it (by @till-krauss)
|
||||||
|
- Output the name of the cloudwatch log group (by @gbooth27)
|
||||||
- Write your awesome addition here (by @you)
|
- Write your awesome addition here (by @you)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
|
|||||||
| cluster\_id | The name/id of the EKS cluster. |
|
| cluster\_id | The name/id of the EKS cluster. |
|
||||||
| cluster\_security\_group\_id | Security group ID attached to the EKS cluster. |
|
| cluster\_security\_group\_id | Security group ID attached to the EKS cluster. |
|
||||||
| cluster\_version | The Kubernetes server version for the EKS cluster. |
|
| cluster\_version | The Kubernetes server version for the EKS cluster. |
|
||||||
|
| cloudwatch\_log\_group\_name | The name of the cloudwatch log group created for the EKS cluster. |
|
||||||
| config\_map\_aws\_auth | A kubernetes configuration to authenticate to this EKS cluster. |
|
| config\_map\_aws\_auth | A kubernetes configuration to authenticate to this EKS cluster. |
|
||||||
| kubeconfig | kubectl config file contents for this EKS cluster. |
|
| kubeconfig | kubectl config file contents for this EKS cluster. |
|
||||||
| kubeconfig\_filename | The filename of the generated kubectl config. |
|
| kubeconfig\_filename | The filename of the generated kubectl config. |
|
||||||
|
|||||||
@@ -43,6 +43,11 @@ output "cluster_iam_role_arn" {
|
|||||||
value = local.cluster_iam_role_arn
|
value = local.cluster_iam_role_arn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "cloudwatch_log_group_name" {
|
||||||
|
description = "Name of cloudwatch log group created"
|
||||||
|
value = aws_cloudwatch_log_group.this.*.name
|
||||||
|
}
|
||||||
|
|
||||||
output "kubeconfig" {
|
output "kubeconfig" {
|
||||||
description = "kubectl config file contents for this EKS cluster."
|
description = "kubectl config file contents for this EKS cluster."
|
||||||
value = data.template_file.kubeconfig.rendered
|
value = data.template_file.kubeconfig.rendered
|
||||||
|
|||||||
Reference in New Issue
Block a user