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

Configure go-plugin's `SecureConfig`

Open wata727 opened this issue 3 years ago • 2 comments

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 a good idea to first introduce a dependency lockfile. See also https://github.com/terraform-linters/tflint/issues/1486

wata727 avatar Sep 05 '22 13:09 wata727

Just to be clear, is this something that has to be done by TFLint plugin maintainers ? or TF providers ? or config authors ?

AIUI, it's the first one, but just want to be sure.

fgm avatar Mar 04 '23 19:03 fgm

This feature will be enabled automatically in future Plugin SDK updates. Plugin developers should use the latest SDK to enable this feature. End users simply update to plugins built with the latest SDK.

wata727 avatar Mar 05 '23 16:03 wata727