await setCloudwatchRetention()

in packages/app/src/handlers/set-retention.ts [28:36]


			await setCloudwatchRetention(
				cloudwatchLogs,
				logGroup.logGroupName,
				retentionInDays,
			);
			// avoid hitting the SDK throttling limit
			await sleep(200);
			console.log(
				`Set ${logGroup.logGroupName} retention to ${retentionInDays} days`,