-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[feature request] Allow secondary-workers to be non_preemptible in google_dataproc_cluster #7882
Comments
Note that there may be assumptions about the schema of We also likely don't wan't to rename |
There is an undocumented workaround by creating a cluster with |
This might not have to be (as big of) a breaking change, if the "is_preemptible" attribute in preemptible_worker_config were optional and defaulted to "true". All existing code would continue to work - the only conflict would occur if the undocumented software config property mentioned above were also set to a different value. |
I went ahead and tried to implement this with the existing naming scheme. It works fine as long as you aren't too offended by the idea of non-preemptible preemptible workers. I'll post the PR to magic-modules shortly |
Was this closed in GoogleCloudPlatform/magic-modules#5686 ? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Based on resource_dataproc_cluster.go#L817-L823, it looks like the Dataproc
secondary workers
always have to bepreemptible
and there is no way to specify them asnon-preemptible
, sincemachine_type
cannot be set for thepreemptible_worker_config
. It would be nice to allow anon_preemptible_worker_config
New or Affected Resource(s)
Potential Terraform Configuration
Secondary workers seem to automatically be:
preemptible_worker_config
, with that convention, maybe there could be an optional, mutually-exclusive,non_preemptible_worker_config
that uses the same or a similar schema asworker_config
.Otherwise, a property like:
and another construct for secondary-workers that isn't
preemptible_worker_config
.References
The text was updated successfully, but these errors were encountered: