From ee55584b908842142efd7dbace6be9afcdb6f33e Mon Sep 17 00:00:00 2001 From: Nils Hanke Date: Tue, 8 Nov 2022 10:08:11 +0100 Subject: [PATCH] AWS: Apply security group to worker nodes --- cli/internal/terraform/terraform/aws/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/internal/terraform/terraform/aws/main.tf b/cli/internal/terraform/terraform/aws/main.tf index 0e3cc5ede..23a6f9fd8 100644 --- a/cli/internal/terraform/terraform/aws/main.tf +++ b/cli/internal/terraform/terraform/aws/main.tf @@ -244,6 +244,6 @@ module "instance_group_worker_nodes" { state_disk_size = var.state_disk_size subnetwork = module.public_private_subnet.private_subnet_id target_group_arns = [] - security_groups = [] + security_groups = [aws_security_group.security_group.id] iam_instance_profile = var.iam_instance_profile_worker_nodes }