Skip to content

Commit

Permalink
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 14, 2020
1 parent ca3d1e1 commit b14e80d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project adheres to [Semantic Versioning](http://semver.org/).

## [[v10.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v10.0.0...HEAD)] - 2020-xx-xx

- Write your awesome change here (GH-xxxx)
- Do not recreate cluster when no cluster security group is given (by @dpiddockcmp)

## History

Expand Down
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 b14e80d

Please sign in to comment.