Just a heads up - there’s a syntax error in this b...
# general
m
Just a heads up - there’s a syntax error in this blog post https://www.pulumi.com/blog/scheduling-serverless/
Copy code
const emptyTrashSchedule: aws.cloudwatch.EventRuleEventSubscription = aws.cloudwatch.onSchedule(
  "emptyTrash",
  "cron(0 23 ? * FRI *)",
  emptyTrash

// Export the name of the bucket
export const bucketName = trashBucket.id;
);
The parens are in the wrong place
e