https://infracost.io logo
#general
Title
# general
f

faint-mouse-18716

06/05/2022, 6:34 PM
Hi there! Looking at the infracost-usage-example.yml, it seems like there’s no way to set something like
monthly_hours
for
azurerm_virtual_machine
resources. I understand that generally a VM defined in TF is going to be running all the time, but we have some VMs that have their startup/shutdown managed manually despite being created by TF. Does this seem like a reasonable request, or something that you don’t want to support? Happy to file a Github issue if this is something that seems reasonable.
👀 1
w

white-airport-8778

06/05/2022, 7:14 PM
Hi @faint-mouse-18716 - we’ve heard this several times, I created an issue with details of how it could be implemented too, it should be fairly simple/quick if you fancy taking a stab at it?
f

faint-mouse-18716

06/06/2022, 12:43 PM
Thanks Ali! I will hopefully have some time this week to take a stab at this
🎉 1
👍 1
Hi Ali! Apologies, I wasn’t able to find time to work on this sooner, but I took a stab at this implementation for AWS/Azure/GCP resources in this PR - looking forward to your feedback!
🎉 1
w

white-airport-8778

07/05/2022, 9:53 AM
Thanks Jesse! I saw Alistair’s comment so the team’ll review it soon
10 Views