Hi all! anybody has a living example to achieve th...
# general
p
Hi all! anybody has a living example to achieve this? https://github.com/pulumi/pulumi-aws/issues/916 I would want to know when a BucketObject has been modified. thanks!
b
You could set up a subscription on the S3 bucket which would trigger a Lambda function that would invalidate the cloudfront cache
p
why I cannot do it directly from within pulumi deploy script, as suggested in above link? I just wanted to know what are the bucket objects that differ from last deploy, append them into a list, and later run manually the invalidations with aws-sdk