Skip to content

Commit

Permalink
fix: Do not recreate cluster when no SG given (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpiddockcmp authored Mar 18, 2020
1 parent 3957a7c commit 50f5f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "aws_eks_cluster" "this" {
tags = var.tags

vpc_config {
security_group_ids = [local.cluster_security_group_id]
security_group_ids = compact([local.cluster_security_group_id])
subnet_ids = var.subnets
endpoint_private_access = var.cluster_endpoint_private_access
endpoint_public_access = var.cluster_endpoint_public_access
Expand Down

0 comments on commit 50f5f8b

Please sign in to comment.