# general


10/26/2023, 7:13 AM
Hi All, I'm new to infracost and planning to implement this in my organization. Can anyone of you help me understanding below points: 1. If we are using infracost cli then what all information is shared to Infracost CI/CD. Is this include terraform plan output as well? 2. If we integrate our gitlab to Infracost CI/CD or infracost cloud, then what all information is shraed? Is this include terraform plan output as well?


10/26/2023, 7:43 AM
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 #help in the future as we use #general for announcements.


10/26/2023, 8:06 AM
Thanks @white-airport-8778 for your response.