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

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

Merged
tbroden84 merged 1 commit intomainfrom
fix/required-plugins
Sep 8, 2023
Merged

Don't wait on state change for required plugin#37
tbroden84 merged 1 commit intomainfrom
fix/required-plugins

Conversation

@tbroden84
Copy link
Copy Markdown
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 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.

2 participants