Closed fernando-villalba closed 2 months ago
Hi @uzaxirr,
I tried solving this issue. If you allow, I would like to share my approach.
@Praveen005 sure go ahead and raise a PR
For this,
I commented out, the following:
Reason:
If I keep this part as is, update won't go through, unless you have made changes to the pools
attribute.
which is not the case here.
Also, we will update the config
and remove the return
statement.
https://github.com/civo/terraform-provider-civo/blob/8eeb57061a2f4ba234f6d74aaa4e4c732a3f2cb6/civo/kubernetes/resource_kubernetes_cluster.go#L406-L410
I tested it, and it does upgrade the version.
One caveat: Downgrading of version doesn't go through, and needs to handled on the API side.
@Praveen005 looks good can you raise a PR for this make sure to attach relevant screenshots
Sure. Doing right away.
Description
Issue
Changing
kubernetes_version
after creation for civo_kubernetes_cluster does nothingAcceptance criteria
Screenshots
No response
Additional information
No response