Skip to content

Commit

Permalink
fix: Do not recreate cluster when no SG given
Browse files Browse the repository at this point in the history
  • Loading branch information
dpiddock committed Mar 17, 2020
1 parent 2c98a00 commit b88ae32
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 b88ae32

Please sign in to comment.