tflint-plugin-sdk icon indicating copy to clipboard operation
tflint-plugin-sdk copied to clipboard

Experimental: TFLint plugin SDK for building custom rules

Results 10 tflint-plugin-sdk issues
Sort by recently updated
recently updated
newest added

The `SecureConfig` is a mechanism for verifying checksums at runtime, provided by go-plugin. https://pkg.go.dev/github.com/hashicorp/[email protected]#SecureConfig To make use of this, we first need to save the checksum of plugins. It's probably...

enhancement

See also https://github.com/terraform-linters/tflint/pull/1477 The current inspection model is supposed to run per module. The advantage of this model is that rules don't have to know about whether they are inspecting...

enhancement

Currently, we provide [`TestRunner`](https://github.com/terraform-linters/tflint-plugin-sdk/blob/v0.4.0/helper/testing.go#L14-L29) for plugin developers to test its plugin. This Runner is not a real RPC client, but a dummy that mimics the behavior. The problem with this...

enhancement

Bumps google.golang.org/protobuf from 1.34.0 to 1.34.1. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/protobuf&package-manager=go_modules&previous-version=1.34.0&new-version=1.34.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies
go

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.20.0 to 0.21.0. Commits cc29c91 go.mod: update golang.org/x dependencies 397fef9 gopls/internal/protocol: add links to LSP spec e2a352c internal/refactor/inline: extensible API c16c816 go/analysis/passes/stdversion: test *.go < go.mod version...

dependencies
go

Bumps [github.com/hashicorp/go-plugin](https://github.com/hashicorp/go-plugin) from 1.6.0 to 1.6.1. Release notes Sourced from github.com/hashicorp/go-plugin's releases. v1.6.1 BUGS: Suppress spurious os.ErrClosed on plugin shutdown [GH-299] ENHANCEMENTS: deps: bump google.golang.org/grpc to v1.58.3 [GH-296] Changelog Sourced...

dependencies
go

See also https://github.com/terraform-linters/tflint-ruleset-terraform/issues/199 The current `WalkExpressions` API cannot meet requirements such as terraform-linters/tflint-ruleset-terraform#199. This is because it is difficult to balance walking low-level expressions with values ​​being expanded at evaluation...

enhancement

See also https://github.com/terraform-linters/tflint-ruleset-terraform/issues/199 Sometimes a ruleset developer wants to walk every expression and evaluate it. This can be easily achieved using the `WalkExpressions` and `EvaluateExpr` APIs. However, some expressions depend...

enhancement

See https://github.com/terraform-linters/tflint-ruleset-aws/pull/639#pullrequestreview-2123946410 A ruleset developer may wish to deprecate a rule and encourage migration to a new rule. The current SDK does not provide a way to effectively warn end...

enhancement

Follow up of https://github.com/terraform-linters/tflint-ruleset-terraform/pull/196 Naked identifier map keys are typically not valid references, but can still be successfully evaluated. Despite this, it fails to evaluate in the TFLint plugin SDK....

bug