AWS: Apply security group to worker nodes

This commit is contained in:
Nils Hanke 2022-11-08 10:08:11 +01:00 committed by Nils Hanke
parent 41668d50c2
commit ee55584b90

View File

@ -244,6 +244,6 @@ module "instance_group_worker_nodes" {
state_disk_size = var.state_disk_size state_disk_size = var.state_disk_size
subnetwork = module.public_private_subnet.private_subnet_id subnetwork = module.public_private_subnet.private_subnet_id
target_group_arns = [] target_group_arns = []
security_groups = [] security_groups = [aws_security_group.security_group.id]
iam_instance_profile = var.iam_instance_profile_worker_nodes iam_instance_profile = var.iam_instance_profile_worker_nodes
} }