Skip to content

Conversation

@a1k0u
Copy link

@a1k0u a1k0u commented Apr 22, 2025

While exploring terraform provider, I found that there is no auto_healing_policy field in yandex_compute_instance_group. The provider uses an CreateInstanceGroupRequest and an UpdateInstanceGroupRequest from github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup. As I understand it, that code was generated from Protobuf structures in this repository. So, I added these missing fields to update terraform provider after these changes are merged.

The yandex_kubernetes_node_group has the same problem, I think. auto_healing_policy is missing, while other policies are present. But these are different objects, although after creating a node group, a instance group will also be created with a managed label (managed-kubernetes-node-group-id). I can suggest that the /managed-kubernetes/v1/nodeGroups API passes some values to /compute/v1/instanceGroups. If you know where I can create a ticket to the Yandex Cloud team with a request to support auto_healing_policy in the node group API, I would be glad to know.

@nikolaymatrosov
Copy link

This repo is synced from the other source. You proposal that changes the API won’t be merged.

@a1k0u
Copy link
Author

a1k0u commented Apr 23, 2025

@nikolaymatrosov, ok, I understand. Is it possible to ask someone from Yandex.Cloud to make the same changes to the upstream repository?

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.

2 participants