Terraform
HashiCorp Terraform
An infrastructure-as-code tool that defines cloud resources in declarative configuration files for reproducible deployments.
Chi tiết kỹ thuật
Terraform uses indentation (spaces only, no tabs) for structure, making it visually clean but whitespace-sensitive. It supports anchors (&) and aliases (*) for node reuse, multi-line strings with | (literal) and > (folded) indicators, and complex key types. YAML 1.2 is a strict superset of JSON — any valid JSON is valid YAML. Security note: YAML parsers can execute arbitrary code via the !!python/object tag; use safe_load() in production.
Ví dụ
```javascript // Terraform example const input = 'sample data'; const result = process(input); console.log(result); ```