From 1c968ebca098eb6a100112a725772fb86ad6323d Mon Sep 17 00:00:00 2001 From: "Michael K." Date: Thu, 17 Oct 2024 10:03:54 +0200 Subject: [PATCH] [Fix] Use admin security group for public admin port (#41) --- lib/restate-constructs/single-node-restate-deployment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/restate-constructs/single-node-restate-deployment.ts b/lib/restate-constructs/single-node-restate-deployment.ts index d43ecb3..3639af2 100644 --- a/lib/restate-constructs/single-node-restate-deployment.ts +++ b/lib/restate-constructs/single-node-restate-deployment.ts @@ -276,7 +276,7 @@ export class SingleNodeRestateDeployment extends Construct implements IRestateEn ec2.Port.tcp(PUBLIC_INGRESS_PORT), "Allow traffic from anywhere to Restate ingress port", ); - ingressSecurityGroup.addIngressRule( + adminSecurityGroup.addIngressRule( ec2.Peer.anyIpv4(), ec2.Port.tcp(PUBLIC_ADMIN_PORT), "Allow traffic from anywhere to Restate admin port",