Hi everyone! I'm looking for tips on how to automate the Azure pricing calculator to save time on creating Bills of Materials (BOM) and minimize human errors. If anyone has solutions or experiences with this, I'd love to hear your suggestions. Thanks!
2 Answers
If you're using Terraform, check out infracost.io! It might be useful for your automation. I've tried it with a VS Code extension, but I haven’t double-checked if the pricing numbers align with Azure’s exact costs. Have you used it before?
You can definitely automate this process using the Azure Retail Prices API. It lets you fetch up-to-date pricing for various services, which is ideal for automating BOM calculations and cutting down on manual mistakes. If you want to explore more, I can help with a simple script example to get you started!
Thanks a lot! The API sounds promising. I’d really appreciate it if you could share that starter script when you have time. I’m in the analysis phase right now.
I have used Terraform for infrastructure deployments, but I haven’t investigated infracost closely. Thanks for mentioning it!