Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sns): Topic policy update #1898

Merged

Conversation

MisterMX
Copy link
Collaborator

@MisterMX MisterMX commented Oct 12, 2023

Description of your changes

Compare topic policies using structural diff add it to update attributes if they are not semantically equal.

Fixes #1896

Also fixed a bug in the generic resource policy parser regarding multi value conditions.

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

Unit tests and the existing topic example.

Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <maximilian.blatt-extern@deutschebahn.com>
@MisterMX MisterMX merged commit 78bac9c into crossplane-contrib:master Oct 12, 2023
11 checks passed
@github-actions
Copy link

Successfully created backport PR #1902 for release-0.44.

@MisterMX MisterMX deleted the fix/sns-topic-policy-update branch October 19, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SNS/Topic policy not applied by aws provider in crossplane
2 participants