aboutsummaryrefslogtreecommitdiff
path: root/templates/infrastructure/terraform-module-doc.org
diff options
context:
space:
mode:
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