Hello, all. I am looking to set up an exceptions ...
# help
b
Hello, all. I am looking to set up an exceptions file in one of our repos for a FinOps policy. To do this, I believe I need the
policy_id
. I already tried exporting the FinOps policies to CSV, but that does not seem to include the
policy_id
value. Is there any way for me to get the
policy_id
from the InfraCost portal, or will I need to download the repo and run the infracost CLI to get it?
b
Hello, could you please elaborate what this exceptions file is? Is it the Infracost's FinOps policy ID you need? If yes, you can find it by name on FinOps policies page, click
...
menu and click edit - it will navigate to page with URL where the last UUID
.../finops-policies/uuid
is your policy's ID.
b
Thanks, Vadim. Apologies - poor use of terminology on my part. I was referring to the infracost.yml configuration file. It was my understanding I could add the file to the root of the repository with a finops_policy.skip_policies block listing the policy_id and the reason the policy is being skipped? Clicking the ellipsis I only see the View option in the policy (a limitation of my role/permission I assume) - however that does give me the UUID. 👍
Hmm... after reviewing the config file doc I cannot see a skip_policies block. I may have been labouring under a misapprehension after all. I shall speak with my colleague tomorrow to see if I have misunderstood.
w
@brief-yak-28844 I’ll DM you to help