summaryrefslogtreecommitdiff
path: root/OTF Code Style.md
diff options
context:
space:
mode:
Diffstat (limited to 'OTF Code Style.md')
-rw-r--r--OTF Code Style.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/OTF Code Style.md b/OTF Code Style.md
new file mode 100644
index 0000000..d957949
--- /dev/null
+++ b/OTF Code Style.md
@@ -0,0 +1,13 @@
+---
+tags:
+ - opentofu
+---
+`#` for both single and multiline comments
+Resource names: nouns without specifying resource type
+snake_case
+Define resources in the same order as their dependency ordering
+Include type and description for every variable
+Describe every output
+Avoid overuse of variables and local values
+Always include default provider config
+use `count` and `for_each` sparingly