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
Currently, we provide TestRunner 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 method is that we need to reimplement the Terraform's configuration loading.
To reduce the hassle of reimplementing, launch the actual TFLint plugin server process, and use it. To achieve this, it is necessary to add features on the TFLint side.
The text was updated successfully, but these errors were encountered:
richardTowers
added a commit
to richardTowers/tflint-plugin-sdk
that referenced
this issue
Jan 23, 2021
I'm working on a plugin which checks that resource names include
`${terraform.workspace}` (if it's set) -
https://github.com/richardTowers/tflint-ruleset-workspaces/
Currently it's not possible to test this functionality, because (unlike
tflint) tflint-plugin-sdk doesn't support the `${terraform.workspace}`
expression.
Fixing terraform-linters#64
would be nicer, but as this is quite self contained I think it's okay to
add this feature to the TestRunner.
I'm working on a plugin which checks that resource names include
`${terraform.workspace}` (if it's set) -
https://github.com/richardTowers/tflint-ruleset-workspaces/
Currently it's not possible to test this functionality, because (unlike
tflint) tflint-plugin-sdk doesn't support the `${terraform.workspace}`
expression.
Fixing #64
would be nicer, but as this is quite self contained I think it's okay to
add this feature to the TestRunner.
Currently, we provide
TestRunner
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 method is that we need to reimplement the Terraform's configuration loading.To reduce the hassle of reimplementing, launch the actual TFLint plugin server process, and use it. To achieve this, it is necessary to add features on the TFLint side.
The text was updated successfully, but these errors were encountered: