numerous-plastic-31859
11/02/2022, 3:40 PM│ Error: error creating Cost And Usage Report Definition (InfracostReport1b781fbc-674a-43d6-b7b3-e0d28400be6c): ValidationException: Failed to verify customer bucket permission. accountId= xxxxxxxxxxxx, bucket name: infracost-cur-1b781fbc-674a-43d6-b7b3-e0d28400be6c, bucket region: eu-central-1
│
│ with module.aws.module.aws_euc1.module.infrastructure.module.infracost_cost_and_usage_report.aws_cur_report_definition.costand_usage_report,
│ on .terraform/modules/aws.aws_euc1.infrastructure.infracost_cost_and_usage_report/main.tf line 413, in resource "aws_cur_report_definition" "costand_usage_report":
│ 413: resource "aws_cur_report_definition" "costand_usage_report" {
fresh-refrigerator-73809
11/07/2022, 5:49 AMfresh-refrigerator-73809
11/07/2022, 5:49 AMfresh-refrigerator-73809
11/07/2022, 5:49 AMfresh-refrigerator-73809
11/07/2022, 4:16 PMfresh-refrigerator-73809
11/07/2022, 4:17 PMinfracost breakdown --path=path/to/terragrunt/repo
fresh-refrigerator-73809
11/07/2022, 4:17 PMfierce-stone-65372
11/14/2022, 3:25 AMbulky-pizza-7116
11/15/2022, 11:03 AMfresh-animal-95891
11/15/2022, 2:59 PMgifted-art-36882
11/29/2022, 7:23 PM- name: Post Infracost comment
run: |
export INFRACOST_API_KEY=${{ secrets.INFRACOST_API_KEY }}
infracost comment github --path=/tmp/infracost.json \
--repo=$GITHUB_REPOSITORY \
--github-token=${{github.token}} \
--commit=$GITHUB_SHA \
--behavior=update \
--policy-path=${TF_ROOT}/infracost-policy.rego
blue-carpenter-92800
12/10/2022, 2:06 AMrefined-optician-52834
12/10/2022, 1:45 PMREADME.md
files with a table from infracost? I would like to have it work in the same fashion as like terraform-docs
and just run a command before every commit to have it update the README with a table of cost in the same place on the README every time. Thoughts?jolly-pilot-68525
12/10/2022, 7:09 PMworried-agency-87622
12/12/2022, 1:52 PMstocky-jackal-58258
12/19/2022, 12:17 PMmammoth-microphone-92343
12/20/2022, 2:08 PMinfracost
with our GCP infrastructure along with infracost-usage.yaml
file, but no luck so far. I've gone through the documentation as well provided for the infracost-usage file. Just looking for some guidance on this.acoustic-easter-27534
01/04/2023, 11:00 AMalert-arm-26725
01/05/2023, 3:56 AMinfracost comment github
comment in my github actions pipeline, and I'm facing the error: err: invalid Infracost JSON file version. Supported versions are 0.2 ≤ x ≤ 0.2
I'm using the same JSON file for infracost breakdown
command and its shows relevant output. Can someone please help me on thishandsome-horse-48321
01/11/2023, 2:01 AMmammoth-microphone-92343
01/12/2023, 12:14 PMpolite-animal-10151
01/12/2023, 1:31 PMstocky-salesmen-15167
01/17/2023, 12:40 PMdebug: setting context infracost:active to true
debug: setting context infracost:loggedIn to true
debug: initializing workspace
debug: running Infracost in project: /Users/jgrumboeck/git/redbullmediahouse/cp-cloud-terraform
debug: running Infracost breakdown
debug: found project redbullmediahouse/cp-cloud-terraform
debug: setting context infracost:error to undefinedThe Infracost spinner in the lower right is just spinning and no costs are shown. Is this a known issue? The .infracost folder jsut holds an terraform_modules/manifest.json, which content is
{"Modules":[]}
… so also quite empty.quick-eve-19812
01/18/2023, 8:05 AMcloud-pricing-api@0.3.10 data:download
node dist/cmd/dataDownload.js
Copy code{ "level": 30, "time": 1674028217845, "pid": 62, "hostname": "cloud-pricing-api-init-job--1-j4j55", "msg": "Starting: downloading DB data" }
I think it has not set the right address for Infracost API but I cannot find any parameters in values.yaml I only set 3 parameters in values.yaml.Copy code{ "level": 50, "time": 1674028217846, "pid": 62, "hostname": "cloud-pricing-api-init-job--1-j4j55", "msg": "There was an error downloading data: connect ECONNREFUSED 127.0.0.1:80" }
infracostAPIKey : "ico-xxxxx" (value what i checked in infracost web page)
api.selfHostedInfracostAPIKey : "1234" (value what I decided)
job.infracostPricingAPIEndpoint: "cloud-pricing-api.finops.svc.cluster.loc"I have not found any way to fix it. Any assistance greatly appreciated. thanks.
cuddly-analyst-30573
01/24/2023, 5:08 PMpostgres
database. Normally, I’d expect Infracost to populate the database, but that doesn’t seem to be the case. Here’s one example when clicking “Show stats” in the web app:
postgres | 2023-01-24 17:05:29.016 UTC [53] ERROR: relation "stats" does not exist at character 283
postgres | 2023-01-24 17:05:29.016 UTC [53] STATEMENT:
postgres | SELECT
postgres | stats.created_at,
postgres | stats.prices_last_successfully_updated_at,
postgres | stats.prices_last_update_successful,
postgres | stats.total_runs,
postgres | stats.ci_runs,
postgres | stats.non_ci_runs,
postgres | (SELECT COUNT(installs.install_id) FROM installs) as non_ci_installs
postgres | FROM stats as stats
postgres | LIMIT 1
postgres |
infracost | {"level":50,"time":1674580019891,"pid":19,"hostname":"dafa22249a36","msg":"GraphQL encountered errors:\n[{\"message\":\"relation \\\"products\\\" does not exist\",\"locations\":[{\"line\":3,\"column\":4}],\"path\":[\"products\"]}]"}
postgres | 2023-01-24 17:06:59.847 UTC [69] ERROR: relation "products" does not exist at character 15
postgres | [statement redacted]
There are similar errors when running infracost breakdown --path .
saying error: relation "installs" does not exist
, or that GraphQL encountered errors saying relation "products" does not exist
. curl
requests to my API succeed as normal, but all my breakdowns say everything is $0, though that's probably because of the above issues.
Any advice?cuddly-analyst-30573
01/26/2023, 3:54 PMinfracost configure set api_key/pricing_api_endpoint
and infracost auth login
as the CLI? Noticed it stays logged in if I uninstall it.
(It doesn't seem to require the Infracost CLI to be installed in advance, so maybe it gets installed, anyway!)
Just want to make sure the extension is connected to my self-hosted Infracost Cloud Pricing API instead of Infracost Cloud.acceptable-caravan-50612
01/26/2023, 7:21 PMRun infracost/actions/setup@v2
with:
api-key: ***
version: 0.10.x
currency: USD
github-token: ***
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
INFRACOST_API_KEY: ***
Error: HttpError: Not Found
cuddly-analyst-30573
01/26/2023, 8:43 PM.infracost
directory?astonishing-processor-44867
01/27/2023, 5:55 PMinfracost breakdown --path .
but not able to print message in Github PR comment although I do have this infracost-base.json
file and also followed step number 4 per https://github.com/infracost/actions/. Can someone please help?some-vegetable-81500
01/27/2023, 6:34 PMtime="2023-01-27T17:08:37Z" level=info msg="Starting: Retrieving cloud prices to calculate costs"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_worker[\"worker\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_worker[\"worker2\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_master[\"master\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_worker[\"worker\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_bastion[\"bastion\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_worker[\"worker2\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_bastion[\"bastion\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
time="2023-01-27T17:08:37Z" level=warning msg="No prices found for google_compute_instance.k8s_master[\"master\"] Instance usage (Linux/UNIX, on-demand, c2d-highcpu-2), using 0.00"
Why it can’t find the price of c2d-highcpu-2
?