Remove auth0 Actions with terraform provider config

I encounter an issue about removing Auth0 Actions.

Currently I have an action called ActionX and it’s also in the Trigger binding flow. I’m using terraform to manage Auth0 config. Now I want to remove the Actions from auth0_action resources and from the Trigger binding action. When I apply that to auth0 through terraform, it gives an error “Unable to delete an action bound to a trigger”.

I appreciate any helps. Thanks in advance

We plan to use the same Terraform provider to migrate rules to actions and this looks like a blocker. Any hints on this?

With provider version 0.45.0 you have to manully remove the action from the flow(s) where it’s used and after that Terraform will be able to delete it. This is despite the fact the Terraform config files has already this action removed from triggers.