Skip to content

Commit

Permalink
fix 1911
Browse files Browse the repository at this point in the history
  • Loading branch information
renato0307 committed Mar 10, 2022
1 parent c9f7f6e commit d80ae75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ locals {
cluster_sg_name = coalesce(var.cluster_security_group_name, "${var.cluster_name}-cluster")
create_cluster_sg = var.create && var.create_cluster_security_group

cluster_security_group_id = local.create_cluster_sg ? aws_security_group.cluster[0].id : var.cluster_security_group_id
cluster_security_group_id = local.create_cluster_sg ? aws_security_group.cluster[0].id : (var.include_cluster_security_group ? var.cluster_security_group_id : null)

cluster_security_group_rules = {
ingress_nodes_443 = {
Expand Down

0 comments on commit d80ae75

Please sign in to comment.