Skip to content

Commit

Permalink
Fixup SingleNode construct one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholakov committed Apr 25, 2024
1 parent 001966f commit fe90305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/deploy/lambda/cdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ The instance will be assigned a public IP address.
```typescript
import * as restate from "@restatedev/restate-cdk";

const restateEnvironment = new restate.SingleNodeRestateDeployment(scope, "Restate");
const restateEnvironment = new restate.SingleNodeRestateDeployment(scope, "Restate", {});

const deployer = new restate.ServiceDeployer(stack, "ServiceDeployer");
deployer.deployService("RestateService", serviceHandler.currentVersion, restateEnvironment);
Expand Down

0 comments on commit fe90305

Please sign in to comment.