From 94837332580f29d0c34547d3bae0380fc5c9f30b Mon Sep 17 00:00:00 2001 From: Christian Parker Date: Wed, 10 Jul 2024 15:15:17 -0700 Subject: [PATCH] hard coding the port --- cdk/stacks/lambda_api_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk/stacks/lambda_api_stack.py b/cdk/stacks/lambda_api_stack.py index b7a4c47..494d3a9 100644 --- a/cdk/stacks/lambda_api_stack.py +++ b/cdk/stacks/lambda_api_stack.py @@ -123,7 +123,7 @@ def __init__( redis_security_group.add_ingress_rule( peer=lambda_sec_group, description="Allow Redis connection", - connection=aws_ec2.Port.tcp(redis_port), + connection=aws_ec2.Port.tcp(6379), remote_rule=True, )