aboutsummaryrefslogtreecommitdiff
path: root/templates/infrastructure/terraform-module-doc.org
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-06-04 11:23:13 -0500
committerChristian Cleberg <hello@cleberg.net>2025-06-04 11:23:13 -0500
commit99e4a3d8adcb5fad1d8eb77b9c519a979079eb31 (patch)
tree33a2f786a03e71948055133a9514cc5bf01bd5f4 /templates/infrastructure/terraform-module-doc.org
downloadorg-templates-99e4a3d8adcb5fad1d8eb77b9c519a979079eb31.tar.gz
org-templates-99e4a3d8adcb5fad1d8eb77b9c519a979079eb31.tar.bz2
org-templates-99e4a3d8adcb5fad1d8eb77b9c519a979079eb31.zip
feat: initial commit
Diffstat (limited to 'templates/infrastructure/terraform-module-doc.org')
-rw-r--r--templates/infrastructure/terraform-module-doc.org24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/infrastructure/terraform-module-doc.org b/templates/infrastructure/terraform-module-doc.org
new file mode 100644
index 0000000..016819a
--- /dev/null
+++ b/templates/infrastructure/terraform-module-doc.org
@@ -0,0 +1,24 @@
+#+TITLE: Terraform Module Documentation - [Module Name]
+#+FILETAGS: :infra:terraform:
+
+* Description
+
+* Input Variables
+| Name | Type | Default | Description |
+|-----------+--------+---------+------------------------|
+| region | string | us-east-1 | AWS region |
+| instance_type | string | t3.micro | EC2 instance type |
+
+* Outputs
+| Name | Description |
+|----------+---------------------|
+| instance_id | ID of the EC2 instance |
+
+* Example Usage
+#+BEGIN_SRC terraform
+module "example" {
+ source = "./modules/example"
+ region = "us-west-1"
+ instance_type = "t3.micro"
+}
+#+END_SRC \ No newline at end of file