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

Force replacement on illegal transition #134

Open
rojopolis opened this issue Jun 25, 2020 · 3 comments
Open

Force replacement on illegal transition #134

rojopolis opened this issue Jun 25, 2020 · 3 comments

Comments

@rojopolis
Copy link

We get errors similar to this from time to time:

Error: Altering topic configuration from `delete` to `compact` is not supported. Please create a new topic with `compact` policy specified instead.

Terraform should be able to detect that a resource needs to be recreated rather than updated.

@k2n
Copy link

k2n commented Jun 26, 2020

I believe the error message is specific to Confluent Cloud. See "Important Note" in https://docs.confluent.io/current/cloud/using/broker-config.html

@rojopolis
Copy link
Author

rojopolis commented Jun 26, 2020 via email

@Mongey
Copy link
Owner

Mongey commented Jun 26, 2020

This might be possible to do, by issuing an AlterConfigs request with validate_only set during the plan phase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants