Open
Description
Describe the bug
When trying to delete protocol group, that attached to policies, there is an error :
"Protocol Group is in use."
The reason : TF tries to delete the protocol group before updating the policies and removing the protocol group from the policies.
To Reproduce
Steps to reproduce the behavior:
- Remove protocol group code
- Remove all attachments of the protocol group in the policies
- Run "Terraform Apply"
- See error
Expected behavior
The policy should be updated before the protocol group deletion, and then it will work