Good morning. I'm looking for the file that has th...
# help
a
Good morning. I'm looking for the file that has the
Azure Container App
resource file. I'm looking in
infracost/internal/resources/azure/
b
That's the container registry, but it doesn't have mappings for "Container App"
a
Hello Vadim! This also includes the
azurerm_container_app
Terraform resource?
b
Unfortunately no
a
infracost
does not yet support this resource?
b
Here's the list of supported Azure resources: https://www.infracost.io/docs/supported_resources/azure/
a
Oh this is useful. Ty for the share
b
Sorry, I was to quick to find "container" not realizing that registry is not the app, my bad 😅
a
all good 🙏
b
If a resource is not listed in the docs, then we don't support it yet. If you want it to be added, you can create a new issue with the request here: https://github.com/infracost/infracost/issues
This way other community members can thumbsup it and you can also subscribe and follow the issue's progress. There is also an opportunity to contribute 🙂
a
Once the core
infracost
API is understood, what's the usual turnaround to write the Go code to support the resource? Might be I can assist when a resource is not yet supported
is this something
infracost
wants from the community?
b
W/r/t turnaround time: this depends how complex is the resource 🙂 Sometimes it's just one cost component, so it's straight forward, other times for resources like storage that has many tiers, it can take a big chunk of time to understand what cost components should be and how to write them.
We have contributing guides and we gladly accept contributions from the community. Together we make all devops lives better 😄
Here you can find links to guides how to determine the cost components and how to write a new resource from scratch: https://github.com/infracost/infracost/blob/master/CONTRIBUTING.md
a
ty Vadim! 🙏
b
You're welcome! 🙂