mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-22 17:39:05 +01:00
fix: Default to cluster version for EKS and self managed node groups when a cluster_version is not specified (#1963)
This commit is contained in:
2
main.tf
2
main.tf
@@ -60,7 +60,7 @@ resource "aws_eks_cluster" "this" {
|
||||
}
|
||||
|
||||
resource "aws_ec2_tag" "cluster_primary_security_group" {
|
||||
for_each = { for k, v in merge(var.tags, var.cluster_tags) : k => v if var.create }
|
||||
for_each = { for k, v in merge(var.tags, var.cluster_tags) : k => v if local.create }
|
||||
|
||||
resource_id = aws_eks_cluster.this[0].vpc_config[0].cluster_security_group_id
|
||||
key = each.key
|
||||
|
||||
Reference in New Issue
Block a user