https://github.com/zfael/tfm
terraform
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zfael/tfm
- Owner: zfael
- License: mit
- Created: 2025-12-30T12:16:35.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-02-04T20:20:03.000Z (5 months ago)
- Last Synced: 2026-02-05T01:49:26.589Z (5 months ago)
- Topics: terraform
- Language: HCL
- Homepage:
- Size: 76.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TFM - Terraform Modules
Reusable Terraform modules for various cloud providers.
## Structure
```
tfm/
├── modules/ # Primitives (building blocks)
│ └── aws/ # AWS modules
│ ├── organization/
│ ├── accounts/
│ └── identity-center/
└── recipes/ # Compositions (batteries-included)
└── aws/ # AWS recipes
└── organization/
```
## Usage
Browse the provider-specific folders for available modules and recipes. Each module/recipe has its own README with usage instructions.
### Modules
Individual building blocks for specific resources:
```hcl
module "organization" {
source = "github.com/zfael/tfm//modules/aws/organization"
# ...
}
```
### Recipes
Pre-wired compositions that combine multiple modules:
```hcl
module "my_org" {
source = "github.com/zfael/tfm//recipes/aws/organization"
# ...
}
```
## Available Modules
| Provider | Module | Description |
|----------|--------|-------------|
| AWS | [organization](./modules/aws/organization/) | OUs and SCPs |
| AWS | [accounts](./modules/aws/accounts/) | Member accounts |
| AWS | [identity-center](./modules/aws/identity-center/) | SSO users, permission sets |
## Available Recipes
| Provider | Recipe | Description |
|----------|--------|-------------|
| AWS | [organization](./recipes/aws/organization/) | Complete org setup |
## Testing
Modules include unit tests using Terraform's built-in test framework (requires TF 1.6+).
```bash
# Run tests for a specific module
cd modules/aws/organization
terraform init -backend=false
terraform test
```
## License
MIT