Describe the bug
After updating to version 0.17.0, tm_hcl_expression() is undefined when used within a lets() block.
lets eval: let.providers: eval expression: There is no function named "tm_hcl_expression"
To Reproduce
Steps to reproduce the behavior:
1.
generate_hcl "_tm_gen_providers.tf" {
lets {
providers = {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
config = {
default_tags = tm_hcl_expression("local.common_tags")
}
}
}
}
- Run
terramate generate
- See error
Expected behavior
tm_hcl_expression was able to be used before the version change. Is this a regression or expected behavior moving forward?
Environment (please complete the following information):
- OS: MacOS
- OS Version: 26.5
- Git Version: 2.50.1
- Terramate Version: 0.17.0
Additional context
Add any other context about the problem here.
Describe the bug
After updating to version
0.17.0,tm_hcl_expression()is undefined when used within alets()block.lets eval: let.providers: eval expression: There is no function named "tm_hcl_expression"To Reproduce
Steps to reproduce the behavior:
1.
terramate generateExpected behavior
tm_hcl_expressionwas able to be used before the version change. Is this a regression or expected behavior moving forward?Environment (please complete the following information):
Additional context
Add any other context about the problem here.