Skip to content

Commit

Permalink
[Fix] Use admin security group for public admin port (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored Oct 17, 2024
1 parent 0ea394a commit 1c968eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/restate-constructs/single-node-restate-deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1c968eb

Please sign in to comment.