concept

Infrastructure cost modeling

Estimate infrastructure costs from quantities, unit rates and workload assumptions; identify uncertainty and distinguish plans, forecasts and invoices.

Formal Syntax & Structure

terraform syntaxterraform
Infrastructure cost modeling

Working Example

Example Snippetterraform
Fictional monthly worksheet — USD, 30 days, synthetic rates dated 2026-11-28Item                  Quantity                 USD/unit       USDCompute               2 x 720 instance-hours   0.05           72.00Block storage         100 GB-month             0.10           10.00Internet egress       200 GB                   0.09           18.00Gateway               720 hours                0.04           28.80Gateway processing    100 GB                   0.04            4.00Logs                  20 GB                    0.50           10.00Backup storage        50 GB-month              0.08            4.00API requests          2 million                0.40            0.80Known subtotal                                                147.60Support, taxes, platform fees, cross-zone transfer: not priced
Terraform Reference