Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trim* functions are not available in 0.12.16 #23413

Closed
golonzovsky opened this issue Nov 19, 2019 · 6 comments · Fixed by #23414
Closed

trim* functions are not available in 0.12.16 #23413

golonzovsky opened this issue Nov 19, 2019 · 6 comments · Fixed by #23414
Labels
bug v0.12 Issues (primarily bugs) reported against v0.12 releases

Comments

@golonzovsky
Copy link

Terraform Version

v0.12.16

Terraform Configuration Files

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

Expected Behavior

according to release and docs trim* functions should be available in 0.12.16

Actual Behavior

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".
@gechr
Copy link
Contributor

gechr commented Nov 19, 2019

Oops, sorry! Fixed by #23414

@hashibot hashibot added bug v0.12 Issues (primarily bugs) reported against v0.12 releases labels Nov 19, 2019
@jlarocque88
Copy link

Glad to see this has been fixed, any idea when we might see a release with it?

@StefanSchoof
Copy link
Contributor

The release tag page still mentions this for 0.12.16: https://github.com/hashicorp/terraform/releases/tag/v0.12.16

@pselle
Copy link
Contributor

pselle commented Nov 20, 2019

@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).

@3h4x
Copy link

3h4x commented Nov 28, 2019

What a blunder! 😂

@ghost
Copy link

ghost commented Mar 28, 2020

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.

@ghost ghost locked and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug v0.12 Issues (primarily bugs) reported against v0.12 releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants