Terraform: Terraform v0.8.7 does not include slice interpolation

Created on 21 Feb 2017  ·  2Comments  ·  Source: hashicorp/terraform

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.

Terraform Version

v0.8.7

Expected Behavior

Terraform should have compiled the files correctly.

Actual Behavior

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)}

Steps to Reproduce

  1. terraform plan

Important Factoids

Using libvirt plugin.

References

bug core

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

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings