diff --git a/driver-redpanda/deploy/provision-redpanda-aws.tf b/driver-redpanda/deploy/provision-redpanda-aws.tf index 55e6bd65..7ed6e615 100644 --- a/driver-redpanda/deploy/provision-redpanda-aws.tf +++ b/driver-redpanda/deploy/provision-redpanda-aws.tf @@ -178,13 +178,13 @@ resource "aws_security_group" "benchmark_security_group" { from_port = 9090 to_port = 9090 protocol = "tcp" - cidr_blocks = ["0.0.0.0/0"] + cidr_blocks = ["${chomp(data.http.myip.body)}/32"] } ingress { from_port = 3000 to_port = 3000 protocol = "tcp" - cidr_blocks = ["0.0.0.0/0"] + cidr_blocks = ["${chomp(data.http.myip.body)}/32"] } # outbound internet access