Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure go-plugin's SecureConfig #192

Open
wata727 opened this issue Sep 5, 2022 · 2 comments
Open

Configure go-plugin's SecureConfig #192

wata727 opened this issue Sep 5, 2022 · 2 comments

Comments

@wata727
Copy link
Member

wata727 commented Sep 5, 2022

The SecureConfig is a mechanism for verifying checksums at runtime, provided by go-plugin.
https://pkg.go.dev/github.com/hashicorp/go-plugin@v1.4.5#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 terraform-linters/tflint#1486

@fgm
Copy link

fgm commented Mar 4, 2023

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.

@wata727
Copy link
Member Author

wata727 commented Mar 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants