terraform-aws-eks-node-group icon indicating copy to clipboard operation
terraform-aws-eks-node-group copied to clipboard

Required terraform version

Open markwitz opened this issue 1 year ago • 0 comments

Describe the Bug

required version fo the module is > 1.3.0 but uses the function strcontains which was introduced in tf 1.5.0 (https://github.com/hashicorp/terraform/blob/v1.5/CHANGELOG.md)

Expected Behavior

the module should require a tf version of at least > 1.5.0

Steps to Reproduce

run with tf < 1.5.0 e.g. 1.4.6 produces

Error: Call to unknown function
│ 
│   on .terraform/modules/eks_node_group_memory/userdata.tf line 60, in locals:
│   60:     !strcontains(local.kubelet_explicit_extra_args, "--register-with-taints=")) ? (
│     ├────────────────
│     │ local.kubelet_explicit_extra_args is a string
│ 
│ There is no function named "strcontains".

Screenshots

No response

Environment

  • tf version 1.4.6
  • module version v3.0.1

Additional Context

No response

markwitz avatar Jun 21 '24 13:06 markwitz