Closed kandreasyan closed 1 year ago
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-2977
It seems the REST API we are calling to manage rules requires this field when it really shouldn't. Asking the web team for a fix and once that lands we can fix it here too.
So it seems that the API wants an empty string not a null. So you can just set the value to an empty string as a work around. I have a PR up that makes the field optional so a null will also work on the terraform side.
@Morganamilo Thank you!
Ably AMQP rule does not accept null for channel_filter(it is a mandatory field) but when I set match everything/leave blank in the UI it stores a null in the state file.
I can use a regular expression that matches everything, but I am not sure that will work as expected.