little-apple-76419
05/27/2025, 10:34 AMon_demand instance though
Example Query:
query {
products(
filter: {
vendorName: "aws"
service: "AmazonEC2"
productFamily: "Compute Instance"
region: "us-east-1"
attributeFilters: [
{ key: "instanceType", value: "i7i.2xlarge" }
{ key: "operatingSystem", value: "Linux" }
{ key: "licenseModel", value: "No License required" }
{ key: "tenancy", value: "Shared" }
{ key: "capacitystatus", value: "Used" }
{ key: "preInstalledSw", value: "NA" }
]
}
) {
prices(filter: { purchaseOption: "spot" }) {
USD
}
}
}
what is the reason for this?gifted-fireman-79125
06/04/2025, 10:10 AMbrief-yak-28844
06/10/2025, 3:18 PMpolicy_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?clean-jackal-84980
06/19/2025, 10:41 AMqa2 and staging2 are not being detected. Can I configure the autodetect in usgae file eg below:-
version: 0.1
resource_type_default_usage:
azurerm_app_configuration:
monthly_additional_requests: 1666666
autodetect:
env_names:
- dev
- qa*
- staging*
- prod
- drhallowed-soccer-34663
07/08/2025, 10:45 PMNo source files found: no files found in directory: /usr/src/app/****/infra/tg_resources/tg_gcp_redis/feature_COPS-7017/****/us-east1/data/prod/data
I use a config.tmpl for generate infracost.yml with projects name and paths, in local the breakdown command work but in Gitlab Pipeline this is currently failadamant-bird-60269
07/09/2025, 5:06 AMrhythmic-minister-43396
07/09/2025, 3:13 PMinfracost comment gitlab wants to send me information, but it can't. I have external endpoints in Atlantis, maybe using it it can be bypassed. Thanks in advance!early-alligator-12185
07/11/2025, 4:05 PMinfracost-usage.yaml)? Apologies if I missed this somewhere in the documentation.echoing-fireman-45416
07/20/2025, 2:34 PMbland-country-67947
07/31/2025, 10:59 AMrhythmic-crowd-94949
08/01/2025, 11:44 AMthousands-beach-51703
10/25/2025, 6:58 PMrapid-apple-64792
11/06/2025, 2:58 PMwhite-airport-8778
melodic-finland-93969
11/06/2025, 4:21 PMrapid-apple-64792
11/26/2025, 1:47 PMdazzling-dream-57895
11/27/2025, 3:56 PM- run: |
# Convert binary plan file to JSON
cd $(dirname $PLANFILE)/.terragrunt-cache/*/*
terraform show -json $PLANFILE > /tmp/plan.json
infracost breakdown --path=/tmp/plan.json \
--format=json \
--out-file=/tmp/infracost.json
INFRACOST_VCS_PROVIDER=gitlab \
INFRACOST_VCS_REPOSITORY_URL=<https://gitlab.sportlab.me/betting/infrastructure/terragrunt> \
INFRACOST_VCS_TOKEN=$GITLAB_TOKEN \
infracost output --path=/tmp/infracost.json \
--format=gitlab-comment \
--show-skipped
For now we started to put terragrunt cache to single dir, with help of system variable TERRAGRUNT_DOWNLOAD_DIR.
As you may see, before we used cd command to move to .terragrunt-cache directory which was located inside terragrunt module. But now we started to locate cache in dedicated directory inside which there are directories named with only hash. Because of that we receive an error:
2025-11-27T14:44:03Z ERROR Could not autodetect any projects from path "/tmp/plan.json"
2025-11-27T14:44:03Z INFO Output saved to /tmp/infracost.json
Maybe someone can help with suggestion how to solve this?
Thanks in advance!handsome-monkey-90386
12/01/2025, 5:02 PMfuture-napkin-61393
12/10/2025, 10:40 PMdelightful-addition-54721
04/08/2026, 10:27 AMcalm-grass-70658
05/06/2026, 3:45 PMinstall.sh in master appears to be broken against the current latest tarball, so CI pipelines using the canonical curl-pipe-sh install are failing.
The script ends with:
mv /tmp/infracost-$os-$arch /usr/local/bin/infracost
but the tarball at <https://infracost.io/downloads/latest/infracost-linux-amd64.tar.gz> now contains a binary named just infracost, with no platform suffix:
$ curl -sL <https://infracost.io/downloads/latest/infracost-linux-amd64.tar.gz> -o /tmp/i.tgz
$ tar tzf /tmp/i.tgz
infracost
Result in CodeBuild logs:
Moving /tmp/infracost-linux-amd64 to /usr/local/bin/infracost ...
mv: cannot stat '/tmp/infracost-linux-amd64': No such file or directory
Checksum validation passes (so the .sha256 was regenerated to match the new archive), and set -e doesn't trip on the tar xzf, which confirms the archive is structurally fine — just laid out differently than install.sh expects.
Looks like the artifacts at /downloads/latest/ got re-uploaded with a different internal layout without a corresponding install.sh update.
Anyone else seeing this? Ally deploys at my company are now broken. This step has always worked for 4.5 years.
Happy to open a GitHub issue if it's not already on the radar.square-action-43499
05/06/2026, 3:59 PMwonderful-dentist-39802
05/15/2026, 11:29 AMchilly-jewelry-72630
05/27/2026, 2:00 PMmicroscopic-father-37784
06/09/2026, 9:02 PMgorgeous-island-10432
06/11/2026, 2:34 PM──────────────────────────────────
Project: workspaces
Module path: workspaces/workspace
Errors:
Failed to load module:
error retrieving module "app.terraform.io/xxxxxxxxxxxxxxxxx":
cached error for "app.terraform.io/xxxxxxxxxxxxxxxxx":
module versions endpoint returned status code 401
PR comment from Infracost App and Test curl screenshots below.nutritious-printer-37048
06/24/2026, 7:45 PM.metal SKU family is absent from the Cloud Pricing API. Could you add the bare-metal SKUs? Happy to file a GitHub issue if that's the better channel. Thanks!miniature-thailand-84521
07/14/2026, 11:05 AMinfracost-diff (GitHub Action) on PRs to post the cost-diff comment ("Monthly estimate increased by $X..."). We're on the free tier (1,000 runs/month) and have two questions:
1. What exactly happens once we exceed the 1,000 free runs/month? Does the action stop posting the cost-diff comment entirely for the rest of the billing period, or does it degrade gracefully (e.g. only losing the FinOps/tagging-policy and guardrail sections while the basic "Monthly estimate increased/decreased by $X" table still posts)?
2. For our use case, the plain cost-diff comment is what matters most day-to-day — the FinOps policies, tagging checks, guardrails, and Cloud dashboard/leaderboard are nice extras but not essential for us right now. Is there a supported, uncapped way to get just that cost-diff PR comment without it counting against the 1,000 runs/month (or without requiring an Infracost Cloud org/connection at all)?
We noticed the CLI was restructured in v2.x — infracost breakdown, infracost diff, and infracost comment github no longer exist, and `infracost scan`/`infracost ci setup` now seem to require an Infracost Cloud org connection. Is there still a standalone, open-source-only path (no Cloud account, no run cap) to compare two Terraform plans and get a cost delta, or has that capability been fully retired ?adventurous-summer-95246
07/22/2026, 2:56 PMDocker compose section and running into npm build errors.astonishing-morning-76605
08/18/2026, 11:17 AMversion: 0.1
projects:
- path: terraform/apps/conn
name: conn
terraform_var_files:
- env/con-production.tfvars
- path: terraform/apps/kko
name: kko-startup
terraform_var_files:
- env/kko-startup.tfvars
- path: terraform/apps/mgt
name: mgt
terraform_var_files:
- env/mgt-production.tfvars
- path: terraform/apps/szg
name: szg-startup
terraform_var_files:
- env/szg-startup.tfvars
It looks like they are recognized during the scan, but not during the PR comment. In the PR comment I see a table with the projects like this:
Changed project - Module path
DevOpsOrg/DevOpsProject/Azure - terraform/apps/kko
DevOpsOrg/DevOpsProject/Azure - terraform/apps/szg
DevOpsOrg/DevOpsProject/Azure-production - terraform/apps/mgt
DevOpsOrg/DevOpsProject/Azure/terraform/apps/kko - terraform/apps/kko
DevOpsOrg/DevOpsProject/Azure/terraform/apps/mgt-production - terraform/apps/mgt
DevOpsOrg/DevOpsProject/Azure/terraform/apps/szg - terraform/apps/szg
The costs are being moved around, maybe that is because this is the first run, but it looks like the projects are being autodetected, which I also see in the output of the tasks:
2026-08-18T092928Z INFO Autodetected 4 Terraform projects across 4 root modules
- Local scan in VS Code does not work
When I run infracost scan locally all projects either error out with the error below, or the scan runs for hours and never finishes:
2026-08-18 110910.674 [error] time=2026-08-18T110910.671+02:00 level=ERROR msg="analyzeFullScan: project scan failed" name=szg-startup error="parsing: rpc error: code = DeadlineExceeded desc = context deadline exceeded" elapsed=1m0.3333715s
In the meantime, the extension says it's scanning the workspace, which does not end. It just keeps on scanning without any output or error message.
I've ran Infracost doctor:
Infracost Doctor 2.16.2 - running 7 checks
Authentication
✔️ Credentials found
✔️ Token valid
✔️ Organization accessible "hagaziekenhuis"
✔️ API reachable (385 ms)
CLI
✔️ Version 2.16.2 (latest)
Configuration
✔️ Config file valid
✔️ Default org set (hagaziekenhuis)
✔️ 7 passed
An I've also cleaned up the cache:
infracost cache clear
✓ Cache cleared.
After clearing the cache, when running command below I get popups for GitHub, even though this is Azure Repos:
infracost breakdown --path=. --format=json --out-file=./breakdown.json
! infracost breakdown is deprecated, running infracost scan instead.
✔️ Plugins up to date
⡿ Scanning...
⣾ Scanning...
⣾ Scanning...
⣾ Scanning...
⢿ Scanning...
- I also get messages in vscode that the ls has a new version, but when trying an update it says:
2026-08-18 115659.269 [error] time=2026-08-18T115659.268+02:00 level=ERROR msg="method error" method=infracost/update duration=1.0762821s error="replacing binary: rename C:\\Users\\sjoer\\.vscode\\extensions\\infracost.infracost-0.4.17-win32-x64\\bin\\.infracost-ls-update-1706734103 C\\Users\\sjoer\\.vscode\\extensions\\infracost.infracost 0.4.17 win32 x64\\bin\\infracost ls.exe Access is denied."
- And a final additional question, is the cli within vscode included in the free edition? Because I don't see anything about that on the pricing page.