provider-aws icon indicating copy to clipboard operation
provider-aws copied to clipboard

Add monitor for event-based reconciliation

Open max-melentyev opened this issue 10 months ago • 3 comments

This is a preview-PR, it's not supposed to be merged now.

It's to show a feature that requires https://github.com/crossplane/crossplane/pull/5557 and https://github.com/crossplane-contrib/provider-aws/pull/2030

Related to #2029

Description of your changes

This PR introduces a monitor of EventBridge events that are published to SQS queue. This allows to keep provider-aws responsive to external changes even when it manages large number of resources that takes long time to reconcile using polling approach. With event based reconciliation polling interval can be increased but resources will still be reconciled when they have updates.

This PR only enables support for ec2.Instance and route53.ResourceRecordSet events. Event based reconciliation is optional and works along with polling.

I have:

  • [ ] Read and followed Crossplane's contribution process.
  • [ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

  • new tests
  • staging
  • production

max-melentyev avatar Apr 23 '24 14:04 max-melentyev