Skip to content

Commit

Permalink
fixed cluster data access
Browse files Browse the repository at this point in the history
  • Loading branch information
nustiueudinastea committed Apr 16, 2021
1 parent 3148848 commit 414b925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch-template.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ locals {
launch_template_vpc_security_group_ids = (
concat(
local.ng.additional_security_group_ids,
data.aws_eks_cluster.this[0].vpc_config[*].cluster_security_group_id,
local.get_cluster_data ? data.aws_eks_cluster.this[0].vpc_config[*].cluster_security_group_id : [],
local.need_remote_access_sg ? aws_security_group.remote_access.*.id : []
)
)
Expand Down

0 comments on commit 414b925

Please sign in to comment.