Hi All, Thanks to everyone who has developed this ...
# general
e
Hi All, Thanks to everyone who has developed this nice feature. Am new to this and really impressive. Have noticed infracost breakdown is showing based on terraform plan, I am looking forward option to generate cost breakdown on daily basis of running services provided using terraform. Example, I might have created resources ( example AWS EC2 for 30 minutes) through terraform, so I need "Infracost" to check those service uptime and provide me cost breakdown? Is that possible. If yes please let me know,. TIA!
1
w
@enough-kangaroo-50452 check this docs section > Customizing usage values for individual resources shows how you can set the monthly_hrs for all ec2 resources or just one ec2 instance. You can use the CLI with TF HCL files (not plan JSON) for that too as shown here: https://www.infracost.io/docs/#3-show-cost-estimate-breakdown
👍 1