地形字符串函数修剪、修剪后缀、修剪前缀 从控制台的 0.12.16 中找不到所有报告



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

修剪 修剪前缀 修剪后缀

在 Terraform 控制台的 0.12.16 版本中,找不到所有报告功能。

$ terraform console
> trim("dave.", ".")
>  
Error: Call to unknown function
  on <console-input> line 1:
  (source code not available)
There is no function named "trim".

在这里找到原因。Hashicorp 忘了将其添加到版本中 - https://github.com/hashicorp/terraform/issues/23413。将在 0.12.17 中出局

最新更新