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
I'm developing a resource provider. According to the docs, the validateConfig method is supposed to be called when running terraform validate, terraform plan, and terraform apply. However, when I run these commands, I find that validateConfig is called when running terraform plan, but not when running terraform validate. Could you please help me determine if I've misconfigured something or if the documentation is incorrect?
result of terraform validate
$>terraform validate
Success! The configuration is valid.
result of terraform plan
Planning failed. Terraform encountered an error while generating this plan.
-> and following errror was error in validateConfig