I am trying to allow all tcp traffic between instances, otherwise deny all ingress and egress traffic.
Problem with "cidr_blocks", in aws console i can select security group but in terraform how can achieve something like that.
resource "aws_security_group" "default" {
name = "terraform_example"
ingress {
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ????
}
}