mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Clarify dependency management in style guide (#35259)
Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
This commit is contained in:
parent
c613e86e77
commit
b70294ffd2
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ Writing Terraform code in a consistent style makes it easier to read and maintai
|
|||
- Use `#` for single and multi-line comments.
|
||||
- Use nouns for resource names and do not include the resource type in the name.
|
||||
- Use underscores to separate multiple words in names. Wrap the resource type and name in double quotes in your resource definition.
|
||||
- Let your code build on itself: define dependent resources after the resources that reference them.
|
||||
- Let your code build on itself: define dependent resources after the resources they reference.
|
||||
- Include a type and description for every variable.
|
||||
- Include a description for every output.
|
||||
- Avoid overuse of variables and local values.
|
||||
|
|
|
|||
Loading…
Reference in a new issue