Hi Nitesh, that’s great, here are the answers:
1. Infracost does not use the TF plan by default. Instead, the CLI parses the Terraform HCL code directly and extracts cost-related parameters such as the instance type from the code - therefore no cloud creds or secrets are even available to the CLI.
This FAQ has more info.
2. When you install the
GitLab App integration, if you only use the CI/CD option (meaning you don’t pay for Infracost Cloud), then the GitLab App runs the CLI against your code, and posts the merge request comment. So the above FAQ also applies. If you pay for Infracost Cloud, then the cost estimate and things like policy failures are also stored in Infracost Cloud to give you visibility across all repos.
This FAQ has more information about what is stored for Infracost Cloud.
Also plz use
#C046GMHQ6NM in the future as we use
#C01G63Q4HS7 for announcements.