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

Recreate when changing exchange settings #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Angivare
Copy link

The type, durable, auto_delete, and arguments fields (e.g. all fields under settings) are not updatable (I double-checked by trying requests on the RMQ management API version 3.11.20), so changing those fields should trigger a re-creation of the exchange.
This PR makes field changes re-create the exchange, instead of planning an update then throwing a doesn't support update error when applying.

Tested with Terraform 1.3.2 and 1.7.5, on RMQ version 3.11.20

Pretty much this commit 3df07d3 but for exchanges.

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.

1 participant