David
David

Reputation: 36344

Terraform string functions trim, trimsuffix, trimprefix all reporting not found in 0.12.16 from console

https://www.terraform.io/docs/configuration/functions/trim.html

trim trimprefix trimsuffix

on version 0.12.16 from the terraform console all report function not found.

$ terraform console
> trim("dave.", ".")

>  
Error: Call to unknown function

  on <console-input> line 1:
  (source code not available)

There is no function named "trim".

Upvotes: 4

Views: 3896

Answers (1)

David
David

Reputation: 36344

Found reason here. Hashicorp forgot to add it to the release - https://github.com/hashicorp/terraform/issues/23413. will be out in 0.12.17

Upvotes: 6

Related Questions