You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform Docs src.......................................................Failed
- hook id: terraform-docs-src
- exit code: 1
Error: Invalid 'for' expression: Extra characters after the end of the 'for' expression.
It isn't only that function, it seems to be provider functions, in general.
Failing:
validation {
condition =alltrue([
fork, vinvar.event_mapping:anytrue([
!v.bisect_batch_on_function_error,
alltrue([
v.bisect_batch_on_function_error,
contains([
"dynamodb",
"kinesis"
], try(provider::aws::arn_parse(v.source_arn).service, ""))
])
])
])
error_message ="`bisect_batch_on_function_error` is only available for DynamoDB and Kinesis event sources."
}
Command:
terraform-docs markdown table .
Error: Missing argument separator: A comma is required to separate each functionargument from the next. (and 11 other messages)
Describe the bug
After upgrading to TF 1.8, and taking advantage of the
provider::terraform::encode_expr
function, terraform docs now errors out about following:If I comment out the lines that include the function,
terraform-docs
completes without issue.How can we reproduce it?
If you write any code that leverages a variable that is a type of list(object{ var = string}) and then try to inject a list into that string.
Nested within my module. Parameter will translate the value into an API call to Terraform Cloud
Snippit from Root Module:
$ terraform-docs markdown . Error: Missing attribute separator: Expected a newline or comma to mark the beginning of the next attribute.
Environment information
The text was updated successfully, but these errors were encountered: