Improved Terraform Validation
long-term
X
Xylophone gold Bass
We'd like to have Terraform validate resources on terraform plan before being created. There's various syntax restrictions when creating resources like no dashes allowed in resource identifiers. We'd like for the validation to be done when we run Terraform Plan instead of just when Applying.
The implication of this is that I go through my entire workflow to plan changes, create an MR, merge those changes, then attempt to apply, which will fail when making the actual API call. This leaves my TF code inconsistent with my TF state and if I don't fix it immediately, the error will just continue to cascade with the next engineer trying to use Terraform to complete their tasks.
Log In
Prateek Mittal
long-term
Prateek Mittal
under review