diff --git a/lib/restate-constructs/restate-lambda-services.ts b/lib/restate-constructs/restate-lambda-services.ts index 5d228c2..f93a22c 100644 --- a/lib/restate-constructs/restate-lambda-services.ts +++ b/lib/restate-constructs/restate-lambda-services.ts @@ -43,6 +43,7 @@ export class RestateLambdaServiceCollection extends Construct { handler: lambda.Function }) { service.handler.grantInvoke(restate.instanceRole); + service.handler.currentVersion.grantInvoke(restate.instanceRole); // Allow explicit version invocation const serviceHttpResource = restate.serviceApi.root.addResource(service.path); serviceHttpResource.addProxy({