tirith icon indicating copy to clipboard operation
tirith copied to clipboard

Reject unknown parameter if provided by the user (usually caused by typos)

Open refeed opened this issue 2 years ago • 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)

refeed avatar Dec 08 '23 10:12 refeed

Hi @refeed , I would like to take up this issue.

AkashS0510 avatar Jul 24 '24 03:07 AkashS0510

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!

refeed avatar Aug 01 '24 07:08 refeed

Sure. Thank you for letting me know this.

AkashS0510 avatar Aug 01 '24 07:08 AkashS0510