[BUG] runtime error: index out of range [0] with length 0 #427
Labels
Product: Managed Kubernetes Service
Status: Coming Soon
The feature will hit GA usually in less than 2 months
Type: Bug
Describe the bug
I've already created a node pool, with only annotations in template attributes. After upgrading the provider from
0.27
to0.30
version, I faced that for this node pool tf tried to update each time thetemplate
block, so I decided to add labels also, to avoid these trash messages.But after adding labels, the provider was crushed with panic.
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.OVH Terraform Provider Version
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core.
Terraform Configuration Files
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
https://gist.github.com/NMamont/ab2669bfe26d529d7f7d164e04cd4fa2
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
Terraform should update labels field for nodepool
Actual Behavior
Terraform crashed on update operation
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
References
Additional context
The text was updated successfully, but these errors were encountered: