Skip to content
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

Don't wait on state change for required plugin #37

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

tbroden84
Copy link
Contributor

WHY are these changes introduced?

When enable/disable plugins in async way, we wait for state to change in order to know the action has been done. While plugins we choose to be mandatory cannot be enabled/disabled by our users. Bug reported: cloudamqp/terraform-provider-cloudamqp#227 about stuck in destroy loop waiting for change.

WHAT is this pull request doing?

Check if plugin is required while waiting on state change. If true, don't wait on state change.

HOW can this pull request be tested?

Destroy a plugin resource with a mandatory plugin (rabbitmq_prometheus) with a none developer user.

@tbroden84 tbroden84 requested a review from dentarg September 7, 2023 16:34
@tbroden84 tbroden84 merged commit 9bd7398 into main Sep 8, 2023
@tbroden84 tbroden84 deleted the fix/required-plugins branch September 8, 2023 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants