JetBrains extension version of Infracost, a service that reads Terraform code and estimates cloud costs, is now available



A new tool called Infracost has been released on the JetBrains Marketplace that calculates the estimated monthly costs of cloud services if you are using

Terraform , a code-based infrastructure management tool.

Infracost Plugin for JetBrains IDEs | JetBrains Marketplace
https://plugins.jetbrains.com/plugin/24761-infracost



You can see how it works in the movie below.

Infracost JetBrains plugin - YouTube


First, let's say your Terraform code looks like this:



Open 'Plugins' in the settings, search for 'infra', select 'Infracost' that appears, and click 'Install'. Infracost has now been installed.



When you press the play button on the plugin, it will read the Terraform code and calculate your estimated monthly cloud costs.



You can check in detail how much each instance is likely to cost.



It seems that the cost is also displayed in the Terraform code.



If you change the code, the cost will be automatically recalculated.



In addition, by creating configuration files for multiple environments, such as development and production environments, it is possible to calculate the cost for each environment.



In addition, they also introduced how to integrate it into CI/CD to calculate the cost of each pull request. 'We just released the plugin, so if you have any feedback or bugs, please report them in the GitHub repository .'

in Software,   Video, Posted by log1d_ts