SKILL.md
Terraform NCL Skill
Terraform configuration management through Nickel language integration and security scanning.
Commands
| Command | Description |
|---|---|
[tfsecscan](#tfsecscan) |
Scan Terraform for security issues |
[tftoncl](#tftoncl) |
Convert HCL to Nickel format |
[tfvalidate](#tfvalidate) |
Validate Terraform configurations |
[tfplan](#tfplan) |
Generate Terraform plan |
tfsec_scan
Scan Terraform for security issues.
tftoncl
Convert HCL to Nickel format.
tf_validate
Validate Terraform configurations.
tf_plan
Generate Terraform plan.
Usage Examples
# Scan infrastructure for security issues
@omni("tf-ncl.tfsec_scan", {"path": "infrastructure"})
# Convert Terraform to Nickel
@omni("tf-ncl.tf_to_ncl", {"tf_file": "main.tf", "output": "main.ncl"})
# Validate Terraform
@omni("tf-ncl.tf_validate", {"path": "infrastructure"})
Concepts
| Topic | Description | Reference |
|---|---|---|
| AWS Types | Nickel type contracts for AWS | [aws-types.md](references/aws-types.md) |
| tf-to-ncl | Conversion patterns | [conversion.md](references/conversion.md) |
| Module System | NCL module patterns | [module-system.md](references/module-system.md) |
Best Practices
- Use NCL for multi-environment Terraform generation
- Run tfsec before deployment
- Define shared types for consistency
Related Skills
| Topic | Description | Reference |
|---|---|---|
| NCL Modules | Nickel module patterns | [nickel-modules.md](packages/ncl/nickel-modules.md) |