Replies: 1 comment 2 replies
-
hi @mclacore in the CLI we support terraform vars and terraform var files these can be supplied by
However, I can see you've posted screenshots to the VSCode extension. So I'll also add VSCode-specific information here. The extension only applies variable files with known names. These are
I'll write up an issue to track adding configurable variable support in the https://github.com/infracost/vscode-infracost repo and ping here so you can follow. hope this helps |
Beta Was this translation helpful? Give feedback.
-
We build Azure resources in Terraform for customers using variables. On deployment, those variables are actually inputted by the customer in real time. But, for testing, we have a variables JSON file that we use to imitate the customer by inputting various configurations for these resources.
My question, is it possible for Infracost to be able to detect and read these params within the JSON file to apply the cost estimate? Example below:
Beta Was this translation helpful? Give feedback.
All reactions