Guys. I am having a scenario where I have 2 subnets. One is public and one is private.
I will have 2 security groups.
I will have to ingress traffic into one security group from another, how do I achieve that?
Guys. I am having a scenario where I have 2 subnets. One is public and one is private.
I will have 2 security groups.
I will have to ingress traffic into one security group from another, how do I achieve that?
You can specify a security group within a rule.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group#security_groups
Thanks! It worked. I was lurking in the dark and then found it.!