In Terraform, the widely accepted and recommended naming convention for variables is snake_case, which means:
All letters are lowercase.
Words are separated by underscores.
Names should be descriptive and indicate the variable’s purpose or usage.
Following this convention ensures consistency, readability, and easier collaboration, especially in a team environment.
Here are some guidelines and examples...
View the full article