Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples

All examples post a single comment on merge requests, which gets updated as more changes are pushed.

Terraform project examples

These examples work by using the default Infracost CLI option that parses HCL, thus a Terraform Plan JSON is not needed.

Plan JSON examples

These examples are for advanced use cases where the estimate is generated from Terraform plan JSON files.

Cost policy examples

  • OPA: check Infracost cost estimates against policies using Open Policy Agent
  • Sentinel: check Infracost cost estimates against policies using Hashicorp's Sentinel

See the contributing guide if you'd like to add an example.