cmc/org-templates
Org-mode templates.
clone: git clone https://gitbay.org/cmc/org-templates.git
main: templates/infrastructure/terraform-module-doc.org · raw
1#+TITLE: Terraform Module Documentation - [Module Name]
2#+FILETAGS: :infra:terraform:
3
4* Description
5
6* Input Variables
7| Name | Type | Default | Description |
8|-----------+--------+---------+------------------------|
9| region | string | us-east-1 | AWS region |
10| instance_type | string | t3.micro | EC2 instance type |
11
12* Outputs
13| Name | Description |
14|----------+---------------------|
15| instance_id | ID of the EC2 instance |
16
17* Example Usage
18#+BEGIN_SRC terraform
19module "example" {
20 source = "./modules/example"
21 region = "us-west-1"
22 instance_type = "t3.micro"
23}
24#+END_SRC