Comments (2)
Another example of missing support, working without flaw
locals {
customer_names = ["foo", "bar", "baz"]
customers = {
for customer_name in local.customer_names : customer => yamldecode(file("${path.module}/../config/${customer_name}.yaml")) if fileexists("${path.module}/../config/${customer}.yaml")
}
}
Failing
locals {
customer_names = ["foo", "bar", "baz"]
customers = {
for customer_name in local.customer_names : customer => provider::terraform::decode_tfvars(file("${path.module}/../config/${customer_name}.tfvars")) if fileexists("${path.module}/../config/${customer}.tfvars")
}
}
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.
from terraform-docs.
It isn't only that function, it seems to be provider functions, in general.
Failing:
validation {
condition = alltrue([
for k, v in var.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 function argument from the next. (and 11 other messages)
from terraform-docs.
Related Issues (20)
- [FEATURE] Add possibility to create infrastructure summary docs in README
- Various Vulnerabilities High and Medium scores. HOT 8
- Optional CRLF line endings HOT 2
- False reports that an output file was updated successfully when the file write failed
- Inconsistent behaviour for Provider version numbers when root module only calls modules. HOT 1
- zero content from terraform-docs if i run it with docker HOT 1
- releases folder with binaries missing
- docs: instructions for configuring `terraform-docs` using `ohmyzsh` shell HOT 1
- Support outputting closed ATX headers in Markdown output
- `panic: runtime error` if terraform output contains null.
- Allow setting path to `lockfile`
- `terraform_data` resource is misdetected as part of the deprecated external `hashicorp/terraform` provider
- Intellisense in VSCode when editing .terraform-docs.yml files
- md2conf compatibility
- Module redirect link in markdown
- Some providers are shown, but others are not. And local execution does not match CI execution. HOT 1
- Optional strings should default to `null` not `""`
- Please release v0.18.0 HOT 2
- List default not working with custom plugins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-docs.