According to the CHANGELOG for v0.8.7 a new interpolation function slice is added. However this is not the case as it is not present.
v0.8.7
Terraform should have compiled the files correctly.
Terraform failed to compile the files.
* 1:29: unknown function called: slice in:
${slice(libvirt_volume.storage.*.id, count.index * var.volume_storage_count, (count.index + 1) * var.volume_storage_count - 1)}
terraform planUsing libvirt plugin.
Hi @darrenswhite
My most sincere apologies here - you are indeed correct! This was merged to master and never cherry-picked to the correct branch
I have just done that and it will be available in Terraform 0.8.8 soon ™️
Sorry again for this
Paul
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Hi @darrenswhite
My most sincere apologies here - you are indeed correct! This was merged to master and never cherry-picked to the correct branch
I have just done that and it will be available in Terraform 0.8.8 soon ™️
Sorry again for this
Paul