v0.12.16
resource "helm_release" "es_kibana" {
chart = "elastic/kibana"
name = "es"
namespace = kubernetes_namespace.elasticsearch.metadata[0].name
version = local.es_version
values = [templatefile("${local.helm_values_prefix}/es-kibana.yml", {
dns_host : trimsuffix(var.dns_zone.dns_name, ".")
})]
depends_on = [helm_release.es_data]
}
according to release and docs trim* functions should be available in 0.12.16
Error: Call to unknown function
on modules/elasticsearch/main.tf line 37, in resource "helm_release" "es_kibana":
37: dns_host : trimsuffix(var.dns_zone.dns_name, ".")
There is no function named "trimsuffix".
Oops, sorry! Fixed by https://github.com/hashicorp/terraform/pull/23414
Glad to see this has been fixed, any idea when we might see a release with it?
The release tag page still mentions this for 0.12.16: https://github.com/hashicorp/terraform/releases/tag/v0.12.16
@StefanSchoof Thanks for that, I've updated that release info (although the CHANGELOG for the tagged release will remain unchanged because of git tagging).
@jlarocque88 It will go out with the next release (0.12.17).
What a blunder! 😂
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
Oops, sorry! Fixed by https://github.com/hashicorp/terraform/pull/23414