-
Notifications
You must be signed in to change notification settings - Fork 132
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
Topicpolicy Gets Overwritten When Policy Field Is Empty in Topic #1065
Comments
@transacid, could you please give us more information, reproduction steps, and used MRs? |
ah apologies, I made a typo in the reproducible text. the way of reproducing it is quite simple:
expected result: observed result: I hope that clears it up |
Thank you for your quick response @transacid, I could not reproduce this issue in v0.47.1 with the following steps ➡️
After the resource was created, I checked the policy from the AWS console and observed the default policy.
Does the issue always occur in your side, or is there anything you did other than the steps here? |
did you refresh the AWS console several times? it is flapping in my case. it depends on the reconciliation cycle. here is an example. try refreshing the console after 5 minutes. attached is the output of querying the AWS API periodically for ~10 minutes by running: |
This was fixed in #1213, and released in version 1.3.0 |
What happened?
When using
TopicPolicy.sns.aws.upbound.io
on aTopic.sns.aws.upbound.io
where thetopic
field is left empty, the provider will patch the AWS default into the topic field. then there will be a battle between the TopicPolicy and the default Policy.How can we reproduce it?
create a SNS Topic with empty policy field and a TopicPolicy for said Topic.
What environment did it happen in?
The text was updated successfully, but these errors were encountered: