resource "aws_security_group" "worker_group_one" { name_prefix = "worker_group_one" vpc_id = module.eks-vpc.vpc_id ingress { from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = [ var.jenkins_ip ] } } resource "aws_security_group" "worker_group_two" { name_prefix = "worker_group_two" vpc_id = module.eks-vpc.vpc_id ingress { from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = [ var.jenkins_ip ] } } resource "aws_security_group" "all_worker_management" { name_prefix = "all_worker_management" vpc_id = module.eks-vpc.vpc_id ingress { from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = [ var.jenkins_ip ] } }