Skip to content

Commit c4afd41

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/dev' into next
2 parents e88b2bb + 54553dc commit c4afd41

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

packages/cli-plugin-extensions/src/generateExtension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ export const generateExtension = async ({ input, ora, context }: GenerateExtensi
154154
if (nextSteps.length > 0) {
155155
console.log();
156156
console.log(chalk.bold("Next Steps"));
157-
nextSteps.forEach(message => {
158-
console.log(`‣ ${message}`);
157+
nextSteps.forEach(({ text, variables = [] }) => {
158+
console.log(`‣ ${text}`, ...variables.map(v => context.success.hl(v)));
159159
});
160160
}
161161

packages/pulumi-aws/src/apps/api/ApiGateway.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ export const ApiGateway = createAppModule({
2525
name: "default",
2626
config: {
2727
apiId: api.output.id,
28-
autoDeploy: true
28+
autoDeploy: true,
29+
defaultRouteSettings: {
30+
// Only enable when debugging. Note that by default, API Gateway does not
31+
// have the required permissions to write logs to CloudWatch logs. More:
32+
// https://coady.tech/aws-cloudwatch-logs-arn/
33+
// loggingLevel: "INFO",
34+
throttlingBurstLimit: 5000,
35+
throttlingRateLimit: 10000
36+
}
2937
}
3038
});
3139

packages/pulumi-aws/src/apps/api/ApiWebsocket.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ export const ApiWebsocket = createAppModule({
135135
// have the required permissions to write logs to CloudWatch logs. More:
136136
// https://coady.tech/aws-cloudwatch-logs-arn/
137137
// loggingLevel: "INFO",
138-
throttlingBurstLimit: 1000,
139-
throttlingRateLimit: 500
138+
throttlingBurstLimit: 5000,
139+
throttlingRateLimit: 10000
140140
}
141141
}
142142
});

packages/pulumi-aws/src/apps/api/createApiPulumiApp.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ export const createApiPulumiApp = (projectAppParams: CreateApiPulumiAppParams =
311311
fileManager,
312312
graphql,
313313
apiGateway,
314+
websocket,
314315
cloudfront,
315316
apwScheduler,
316317
migration,

0 commit comments

Comments
 (0)