Closed atorrescogollo closed 9 months ago
@baolsen I just updated to PR to pass pre-commit checks
@atorrescogollo thanks for the contribution. I'll get the tests to run, it is an unrelated issue
@atorrescogollo I think it should work now, please push an empty commit.
git commit --allow-empty -m "empty"
@atorrescogollo I'm not yet certain why the test step isn't working.
On another PR I merged a few min ago it ran through fine o_O
I've updated the aws-actions/configure-aws-credentials to v4, seems there were some related fixes a few months ago.
Please merge one more time [Merge branch 'cloudandthings:main' into main]
Hi @baolsen , I already merged from upstream main. Can you approve it to run the tests again?
Thanks @atorrescogollo for your patience.
I'm not sure why it's still giving an issue. Definitely your changes have nothing to do with it.
I'm going to merge this and then I'll create a dummy PR to run the tests.
Once that's done I'll cut a release.
@atorrescogollo
The tests ran through fine. Thanks again for the contribution! Released with v5.1.0
Based on the AWS provider docs:
With the current code, since it creates both the topic and the notification, you can't listen to CloudTrail events through the bucket from another topic/sqs/lambda/... that is not the clickops-notifier.
With the new code, the module allows you to subscribe to a topic that is already created if you set the
cloudtrail_bucket_notifications_sns_arn
variable. That way, it doesn't block others from listening to S3 events.