The OPA ruleset is developed as a plugin for TFLint, so some features have developer experience issues. For example:
- Creating the policy directory must be done manually with
mkdir ./.tflint.d/policies, and typos in the name will be silently ignored.
- There is no easy way to check whether the policy you created is actually activated.
- Tests are enabled by environment variables (
TFLINT_OPA_TEST=1) and do not provide detailed reporting on failure.
We need to fix these issues and provide an experience comparable to opa(1) and conftest.
One idea would be to provide a new CLI like tflint-opa and guide users to setup using that.
The OPA ruleset is developed as a plugin for TFLint, so some features have developer experience issues. For example:
mkdir ./.tflint.d/policies, and typos in the name will be silently ignored.TFLINT_OPA_TEST=1) and do not provide detailed reporting on failure.We need to fix these issues and provide an experience comparable to opa(1) and conftest.
One idea would be to provide a new CLI like
tflint-opaand guide users to setup using that.