Reject unknown parameter if provided by the user (usually caused by typos)
Opened this issue · 3 comments
Users usually have a typo in their policy's provider_args
for example. Like terraform_plan
's referenced_by
usually typo'ed by the user to references_by
. The current behavior when such typos is happening is tirith will continue to run as usual. We need to add a mechanism to reject the unknown parameters so that the user knows that the parameter is not needed and thus can be removed (which also makes tirith policies that are written by the user cleaner and more readable)
Hi @refeed , I would like to take up this issue.
Hi @AkashS0510 , sorry, we need to discuss a little bit about what's the approach that will be taken for this. There were some discussions in the internal team around this, we are trying to expose the discussions out to the public issues soon. Thanks for your interest!
Sure. Thank you for letting me know this.