File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
modules/eks-managed-node-group Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ resource "aws_launch_template" "this" {
315
315
primary_ipv6 = network_interfaces. value . primary_ipv6
316
316
private_ip_address = network_interfaces. value . private_ip_address
317
317
# Ref: https://github.com/hashicorp/terraform-provider-aws/issues/4570
318
- security_groups = compact (concat (network_interfaces. value . security_groups , var . vpc_security_group_ids ))
318
+ security_groups = compact (concat (network_interfaces. value . security_groups , local . security_group_ids ))
319
319
# Set on EKS managed node group, will fail if set here
320
320
# https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html#launch-template-basics
321
321
# subnet_id = try(network_interfaces.value.subnet_id, null)
You can’t perform that action at this time.
0 commit comments