When using Cost Estimation in HCP Terraform, which of the following is true?
Trap 1: It calculates costs based on real-time AWS billing API calls.
Cost Estimation uses published list prices from its pricing data, not live AWS billing API calls, so it excludes discounts, credits and negotiated rates. Real-time billing data belongs in AWS Cost Explorer or the Cost and Usage Report.
Trap 2: It applies to all resources, including custom providers.
Cost estimation relies on provider pricing data, so custom or unlisted providers are excluded and resources show no cost. It applies to supported AWS, Azure and Google resources; custom providers would be correct only if their pricing metadata were integrated.
Trap 3: It only works for paid HCP Terraform tiers.
Cost Estimation runs on all HCP Terraform tiers, including the free tier, so restricting it to paid plans misstates the licensing model. It is tempting because several governance features, such as Sentinel policy enforcement and audit logging, genuinely require paid tiers, which leads teams to assume cost estimation is bundled with them.
- A
It calculates costs based on real-time AWS billing API calls.
Why it fails: Cost Estimation uses published list prices from its pricing data, not live AWS billing API calls, so it excludes discounts, credits and negotiated rates. Real-time billing data belongs in AWS Cost Explorer or the Cost and Usage Report.
- B
It applies to all resources, including custom providers.
Why it fails: Cost estimation relies on provider pricing data, so custom or unlisted providers are excluded and resources show no cost. It applies to supported AWS, Azure and Google resources; custom providers would be correct only if their pricing metadata were integrated.
- C
It requires the Terraform provider to support the cost estimation feature.
Cost estimation parses the planned resource changes, which requires the provider to expose pricing-relevant metadata. Providers lacking that support yield no estimate, so the constraint is provider capability rather than Terraform version or cloud account.
- D
It only works for paid HCP Terraform tiers.
Why it fails: Cost Estimation runs on all HCP Terraform tiers, including the free tier, so restricting it to paid plans misstates the licensing model. It is tempting because several governance features, such as Sentinel policy enforcement and audit logging, genuinely require paid tiers, which leads teams to assume cost estimation is bundled with them.