Closed tim-hiqs closed 2 weeks ago
Same for me with existing terraform code without one of the parameters. But I could add for example max_surge = 1
into the node_pools block to resolve this issue.
Note that the parameter in the API is different than for the terraform resource.
Nevertheless it feels like an unintentional error.
Hi, thanks for reporting the issue. There were some new validations introduced recently by SKE that we are addressing. We'll update here once a bugfix is released.
Adding max_surge = 1
is the temporary fix, the cluster was created, thanks!
We just updated the provider to latest version v0.32.0 and the issue is gone.
Hi,
as mentioned in the above comment, this issue has been fixed.
The condition is still valid, maxSurge and maxUnavailable cannot both be 0 at the same time. SKE has improved the validation. In documentation, the descriptions have been extended with this information.
Hi everyone,
I am trying to create a SKE cluster, which results in the following error during
terraform apply
I would expect
maxSurge
andmaxUnavailable
not to interfere with the cluster creation, as it is an Optional parameterResource config used:
Terraform version used: "0.31.1"
Notes: Adding the parameters
maxSurge
andmaxUnavailable
directly does not change anythingAny help is appreciated, thanks!