https://pulumi.com logo
#general
Title
# general
m

microscopic-piano-27908

08/17/2022, 9:37 PM
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

echoing-dinner-19531

08/18/2022, 7:42 AM
2 Views