Will 'terraform validate' raise error when you use both tabs and spaces in Terraform configuration?
Experience Level: Junior
Tags: Terraform
Answer
No. terraform validate only checks whether configuration is syntactically correct and internally consistent. It doesn't prescribe use of spaces or tabs.
Related Terraform job interview questions
Using Terraform CLI, how do you review what changes will be done to your target infrastructure based on the configuration?
Terraform JuniorUsing Terraform CLI, how do you validate configurration and get any errors in structured JSON format?
Terraform JuniorWhat does 'terraform validate' command to in Terraform CLI?
Terraform JuniorTo keep Terraform configuration secure, you shouldn't hardcode credentials. How can you securely provide your backend configuration using Terraform CLI?
Terraform JuniorShould you store the .terraform folder to version control?
Terraform Junior