1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

feat: Ability to tag just EKS cluster (#1569)

This commit is contained in:
Anton Babenko
2021-09-03 16:54:59 +02:00
committed by GitHub
parent a9c29719e8
commit c2490c5148
3 changed files with 11 additions and 1 deletions
+4 -1
View File
@@ -12,7 +12,10 @@ resource "aws_eks_cluster" "this" {
enabled_cluster_log_types = var.cluster_enabled_log_types
role_arn = local.cluster_iam_role_arn
version = var.cluster_version
tags = var.tags
tags = merge(
var.tags,
var.cluster_tags,
)
vpc_config {
security_group_ids = compact([local.cluster_security_group_id])