Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

domenicsim1
Copy link
Contributor

fixes #539

I could not get this resource to migrate to framework while maintain backwards compatibility. In addition because of the way our API works a resource like this would not work well in framework. This is because if the granted space permission are invalid instead of throwing an error the API would automatically include the "missing" permission causing terraform plugin framework to always complain the plan does not match the outcome.

This is a fix stop reordering in SDK, in the future we can consider a new resource framework that would not need to carry over the legacy of this resource. Creating the new resource now would have little benefit over this fix.

Despite the schema changes, no migration is needed.

@domenicsim1 domenicsim1 merged commit 8fdbab1 into main Feb 10, 2025
24 checks passed
@domenicsim1 domenicsim1 deleted the fix/user_role_force_ui_order branch February 10, 2025 01:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

octopusdeploy_user_role resource tries to remove and add permissions if they are out of order

2 participants