Skip to content

Commit

Permalink
Fixup caution blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholakov committed Apr 25, 2024
1 parent 80dfcd1 commit 63fd128
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/deploy/lambda/cdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,20 @@ Use the `deployService` method to tell the deployer about each service endpoint
If the target Restate environment is only accessible in a VPC, you will need to configure the service deployer with the appropriate
details.

:::caution
Calling `deployService` grants `lambda:InvokeFunction` to the environment's invoker role by default.
You can disable this behavior using the `skipInvokeFunctionGrant` option.
:::
<Admonition type={"caution"} title={"Implicit permission grant"}>
Calling `deployService` grants `lambda:InvokeFunction` to the environment's invoker role by default.
You can disable this behavior using the `skipInvokeFunctionGrant` option.
</Admonition>

<Tabs>
<TabItem value="self-hosted" label="Self-hosted Restate construct" default>

:::caution
The `SingleNodeRestateDeployment` deploys Restate environment backed by a single EC2 instance and is suitable for
development and testing purposes.
The EC2 instance will be created in the default VPC unless otherwise specified.
The instance will be assigned a public IP address.
:::
<Admonition type={"caution"} title={"EC2 instance creation"}>
The `SingleNodeRestateDeployment` deploys Restate environment backed by a single EC2 instance and is suitable for
development and testing purposes.
The EC2 instance will be created in the default VPC unless otherwise specified.
The instance will be assigned a public IP address.
</Admonition>

```typescript
import * as restate from "@restatedev/restate-cdk";
Expand Down

0 comments on commit 63fd128

Please sign in to comment.