Skip to content

Commit cec48ae

Browse files
committed
chore(docs): stage labels
1 parent e4dfc83 commit cec48ae

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Diff for: .github/workflows/on_doc_merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
pages: write
1616
uses: ./.github/workflows/reusable-publish-docs.yml
1717
with:
18-
version: stage
18+
version: main
1919
alias: stage

Diff for: docs/index.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -199,26 +199,26 @@ You can include Lambda Powertools Lambda Layer using [AWS Lambda Console](https:
199199
=== "Pulumi"
200200

201201
```typescript hl_lines="11"
202-
import * as pulumi from "@pulumi/pulumi";
203-
import * as aws from "@pulumi/aws";
202+
import * as pulumi from '@pulumi/pulumi';
203+
import * as aws from '@pulumi/aws';
204204

205-
const role = new aws.iam.Role("role", {
205+
const role = new aws.iam.Role('role', {
206206
assumeRolePolicy: aws.iam.assumeRolePolicyForPrincipal(aws.iam.Principals.LambdaPrincipal),
207207
managedPolicyArns: [aws.iam.ManagedPolicies.AWSLambdaBasicExecutionRole]
208208
});
209209

210-
const lambdaFunction = new aws.lambda.Function("function", {
210+
const lambdaFunction = new aws.lambda.Function('function', {
211211
layers: [
212212
pulumi.interpolate`arn:aws:lambda:${aws.getRegionOutput().name}:094274105915:layer:AWSLambdaPowertoolsTypeScript:11`
213213
],
214-
code: new pulumi.asset.FileArchive("lambda_function_payload.zip"),
214+
code: new pulumi.asset.FileArchive('lambda_function_payload.zip'),
215215
tracingConfig: {
216-
mode: "Active"
216+
mode: 'Active'
217217
},
218218
runtime: aws.lambda.Runtime.NodeJS16dX,
219-
handler: "index.handler",
219+
handler: 'index.handler',
220220
role: role.arn,
221-
architectures: ["x86_64"]
221+
architectures: ['x86_64']
222222
});
223223
```
224224

0 commit comments

Comments
 (0)