Skip to content

🎥 Make videos programmatically with React

Improve console output to show if CloudWatch is enabled and the retention period

Viren Mohindra0f22d2ff23e4
diff --git a/packages/lambda/src/cli/commands/functions/deploy.ts b/packages/lambda/src/cli/commands/functions/deploy.ts
index 59a7e803ba..b1fd3ace15 100644
--- a/packages/lambda/src/cli/commands/functions/deploy.ts
+++ b/packages/lambda/src/cli/commands/functions/deploy.ts
@@ -25,7 +25,14 @@ export const functionsDeploySubcommand = async () => {
if (!CliInternals.quietFlagProvided()) {
Log.info(
CliInternals.chalk.gray(
- `Region = ${region}, Memory = ${memorySizeInMb}MB, Timeout = ${timeoutInSeconds}sec, Version = ${CURRENT_VERSION}`
+ `
+ Region = ${region},
+ Memory = ${memorySizeInMb}MB,
+ Timeout = ${timeoutInSeconds}sec,
+ Version = ${CURRENT_VERSION},
+ CloudWatch Enabled = ${createCloudWatchLogGroup},
+ CloudWatch Retention Period = ${cloudWatchLogRetentionPeriodInDays} days
+ `
)
);
}