-
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
BUG: SNS FIFO topic gives an error #670
Comments
Hi @mgshirali ! Could you please attach output yaml (kubectl get topic.sns.aws.upbound.io/ -o yaml)?
|
Hi @svscheg , thanks for taking a look.
I checked this again, and yes incase
So, does that mean there is a bug with creation of fifo SNS topic? Is there a config piece/work around for this? |
Thank @mgshirali for confirm error. The issue is reproduced on the latest master. |
I am blocked by this issue as well.
This is expected, as A reasonable solution may be for the provider to automatically append .fifo to the name if |
@mgshirali Wanted to mention a workaround is to set the annotation |
I don't think this is a bug, it's just an unfortunate consequence of the naming restrictions. To the extent that the previous behavior was broken, it looks like that was fixed by switching to the no-fork architecture in provider-aws version 0.44. I just posted a PR which adds two valid examples of creating a FIFO SNS topic, and then ran a test which creates them, imports them, and deletes them successfully. You can see the test logs here until they expire. You can either use the It does seem like there are some undocumented (or inconsistently-documented) restrictions on the fifo SNS topic name on the aws side. I didn't exhaustively explore possible combinations, but some of my examples worked and others didn't. If you're running into an invalid name error, please try changing the format of the name to match what aws expects (which is possibly different than what AWS says it expects. I got several names rejected that should have been valid according to what the cloudformation documentation says, but I suspect the docs are wrong.) |
I see the same issue occurs in SQS, IMHO it seems to be a bug! |
@haooliveira84 can you clarify what precisely you think is a bug? Do the naming conventions I used in the examples I added to the linked PR not work for you? Something along the lines of "when I X I expect Y but instead observe Z" would be helpful in understanding the issue here. |
What environment did it happen in?
I'm trying to create a FIFO SNS topic using the following yaml file:
This results in the following error:
If I skip the
.fifo
in the name, and keep the other params as is, then the topic is never created. There is no error either, however, the system just continues to show "Creating"Am I missing something or is there an issue with creating fifo topics using upbound provider?
The text was updated successfully, but these errors were encountered: