Terraform NCL Skill
Terraform configuration management through Nickel language integration and security scanning.
Commands
| Command | Description |
|---|---|
tfsec_scan |
Scan Terraform for security issues |
tf_to_ncl |
Convert HCL to Nickel format |
tf_validate |
Validate Terraform configurations |
tf_plan |
Generate Terraform plan |
tfsec_scan
Scan Terraform for security issues.
tf_to_ncl
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 |
| tf-to-ncl | Conversion patterns | conversion.md |
| Module System | NCL module patterns | 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 |