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

The issue with forcing import_on_create on the default worker pool is that if this resource has to be replaced (change of flavor for example), it will fail. #509

Open
vburckhardt opened this issue Sep 6, 2024 · 2 comments

Comments

@vburckhardt
Copy link
Member

          The issue with forcing `import_on_create` on the default worker pool is that if this resource has to be replaced (change of flavor for example), it will fail.

So maybe we could add a new field import_on_create to the var.worker_pools, then

import_on_create = each.value.pool_name == "default" ? each.value.import_on_create == null ? true : each.value.import_on_create : null

That way if the default workerpool needs replacement because of a flavor change, the user can set import_on_create = false and do the flavor change as well

Originally posted by @TwoDCube in #499 (comment)

@vburckhardt
Copy link
Member Author

Opening this ticket to track creating an issue in the provider to get this limitation fixed

@ocofaigh
Copy link
Member

Provider PR: IBM-Cloud/terraform-provider-ibm#5705

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