contributors
  • Johannes Grumböck

    Johannes Grumböck

    07/08/2022, 5:23 AM
    Hi @Hugo (Infracost), I’m not quite sure if it’s a good idea that the infracost VSCode plugin creates a
    .infracost
    folder everywhere it finds terraform code. It’s a little bit tedious to extend all the
    .gitignore
    files - also from other open-source projects, where I not even want to commit/push that change. Would it be better if infracost would store the “temporary” files in some other shadow tree under
    $HOME
    ? Don’t know … How do others think about it? Cheers, Jo
  • h

    Hilton Lem

    07/11/2022, 3:21 PM
    Hi All, has anyone made use of the metadata section in the json output of the CLI? We’re looking at adding some data into it for IBM terraform resources.
  • s

    Sawyer Ward

    07/12/2022, 5:40 AM
    Here’s my first PR. It should implement #1616.
  • Vivian Hunt

    Vivian Hunt

    07/12/2022, 11:06 AM
    Hello, I have a PR https://github.com/infracost/helm-charts/pull/22 This is to allow Helm self hosted deployments to use PostGRES secret when the client provides their own DB. Currently the secret is only used for Infracost PostGRES sub chart deploys.
  • s

    Sawyer Ward

    07/12/2022, 10:17 PM
    Hi everyone, another PR to add azure vnet peering support.
  • s

    Sina Bakhtiari

    07/30/2022, 6:25 AM
    Hi team, I’ve got a problem that I can’t figure out why it’s happening.This pipeline is failing because of aws_instance however the master branch does not have this problem and my PR did not touch anything related to AWS.
  • b

    Balázs Marján

    08/12/2022, 2:06 PM
    Hi everyone, I’m working with @Hilton Lem on adding IBM Cloud support to Infracost. We are looking at generating usage files for terraform configurations and we have 2 use cases that I want to get your opinion about: 1, The user wants to generate their initial usage file:
    sync-usage-file
    option helps them out here by providing a usage file with default values(mostly 0s). Do you see a way this could be improved by somehow providing reasonable defaults, something like the contents of the
    infracost-usage-example.yml
    . Perhaps somehow leveraging that file. Do you see any value here? 2, The user already has their estimate and usage file but they add a new resource that’s type matches an already existing one in the configuration. When using the
    sync-usage-file
    option, could option leverage the already existing usage estimates for the existing resource type for the same type of resource that was just added? Again, do you think there is any value here? Thanks!
  • h

    Hilton Lem

    08/19/2022, 3:05 PM
    Hi All, Was wondering about the cli supporting other forms of authentication? We’d like to have the CLI support IAM authentication. Is this something you’ve thought of?
  • b

    Burak

    08/23/2022, 2:17 PM
    Hello, I am trying to contribute infracost app. I was following contribute doc to add Google Cloud Build Worker Pool support. But I don't get same outputs about price database when following contribute documentation. And also there is mistake in the documentation. I am a beginner developer. Who can assist me?
  • Tim (Infracost)

    Tim (Infracost)

    08/30/2022, 1:20 PM
    @tom mg thanks for taking on the GCP custom instances issue. I’m going to post in github for better visibility, but feel free to ping me here if that works better.
  • t

    Timothy

    09/21/2022, 6:51 AM
    Before I go and make a fool of myself, how silly would it be to use Infracost with 3rd party providers, specifically:
    terraform {
      required_providers {
        confluent = {
          source  = "confluentinc/confluent"
          version = "1.3.0"
        }
      }
    }
    I’m a bit rusty with Golang, but if its not too silly, I’m prepared to create a card and have a go with it.
  • Alistair (Infracost)

    Alistair (Infracost)

    10/10/2022, 10:48 AM
    I’ve merged https://github.com/infracost/infracost/pull/1944 now, so Infracost is now using golang 1.19.
  • f

    Fatih Tokus

    10/13/2022, 1:28 PM
    Hi all,
  • f

    Fatih Tokus

    10/13/2022, 1:31 PM
    I am having issues with running any test on my windows machine. For example the following test is failing on my machine but it is green on Github action which makes me think that the is related somehow character set of windows. I wonder if any of you has the same issue:
  • f

    Fatih Tokus

    10/13/2022, 1:31 PM
    C:\Users\fatih\IdeaProjects\infracost_fork\infracost\cmd\infracost> go test -v -run TestOutputFormatGitHubCommentNoChange === RUN TestOutputFormatGitHubCommentNoChange === RUN TestOutputFormatGitHubCommentNoChange/HCL Update: A new version of Infracost is available: → v0.10.12 Go to https://www.infracost.io/docs/update for instructions testutil.go:192: Output does not match golden file: --- Expected +++ Actual @@ -1,34 +1,34 @@ - -💰 Infracost estimate: monthly cost will not change -<table> - <thead> - <td>Project</td> - <td>Previous</td> - <td>New</td> - <td>Diff</td> - </thead> - <tbody> - <tr> - <td>infracost/infracost/cmd/infraco...aform_v0.14_nochange_plan.json</td> - <td align="right">$40.56</td> - <td align="right">$40.56</td> - <td>$0</td> - </tr> - </tbody> -</table> - -<details> -<summary><strong>Infracost output</strong></summary> - -
    -──────────────────────────────────
            -
            -The following projects have no cost estimate changes: infracost/infracost/cmd/infracost/testdata/terraform_v0.14_nochange_plan.json
            -Run the following command to see their breakdown: infracost breakdown --path=/path/to/code
            -
            -──────────────────────────────────
            -
            -
    -</details> - +💰 Infracost estimate: monthly cost will not change +<table> + <thead> + <td>Project</td> + <td>Previous</td> + <td>New</td> + <td>Diff</td> + </thead> + <tbody> + <tr> + <td>infracost/infracost/cmd/infraco...aform_v0.14_nochange_plan.json</td> + <td align="right">$40.56</td> + <td align="right">$40.56</td> + <td>$0</td> + </tr> + </tbody> +</table> + +<details> +<summary><strong>Infracost output</strong></summary> + +``` +────────────────────────────────── + +The following projects have no cost estimate changes: infracost/infracost/cmd/infracost/testdata/terraform_v0.14_nochange_plan.json +Run the following command to see their breakdown: infracost breakdown --path=/path/to/code + +────────────────────────────────── + +``` +</details> + + --- FAIL: TestOutputFormatGitHubCommentNoChange (0.06s) --- FAIL: TestOutputFormatGitHubCommentNoChange/HCL (0.06s)
  • Johannes Grumböck

    Johannes Grumböck

    10/14/2022, 8:02 AM
    Hi all, How do I fix “multiple prices”-problem in golden tests? I wanted to contribute for Hacktoberfest and did https://github.com/infracost/infracost/pull/2090 So, I thought it would be an easy fix (what it was actually), but now I’m stuck with the following error running the tests locally:
    ❯ INFRACOST_LOG_LEVEL=debug go test -v -cover ./internal/providers/terraform/aws/fsx_windows_file_system_test.go
    === RUN TestFSXWindowsFS
    === PAUSE TestFSXWindowsFS
    === CONT TestFSXWindowsFS
    === RUN TestFSXWindowsFS/HCL
    level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_file_system_ssd SSD storage, using the first product”
    testutil.go:202: Unexpected log write. To capture logs remove t.Parallel and use GoldenFileOptions { CaptureLogs = true }: level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_file_system_ssd SSD storage, using the first product”
    level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_system_ssd SSD storage, using the first product”
    testutil.go:202: Unexpected log write. To capture logs remove t.Parallel and use GoldenFileOptions { CaptureLogs = true }: level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_system_ssd SSD storage, using the first product”
    === RUN TestFSXWindowsFS/Terraform_CLI
    level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_file_system_ssd SSD storage, using the first product”
    testutil.go:202: Unexpected log write. To capture logs remove t.Parallel and use GoldenFileOptions { CaptureLogs = true }: level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_file_system_ssd SSD storage, using the first product”
    level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_system_ssd SSD storage, using the first product”
    testutil.go:202: Unexpected log write. To capture logs remove t.Parallel and use GoldenFileOptions { CaptureLogs = true }: level=warning msg=“Multiple products with prices found for aws_fsx_windows_file_system.my_system_ssd SSD storage, using the first product”
    --- FAIL: TestFSXWindowsFS (6.62s)
    --- FAIL: TestFSXWindowsFS/HCL (0.65s)
    --- FAIL: TestFSXWindowsFS/Terraform_CLI (5.97s)
    FAIL
    coverage: [no statements]
    FAIL command-line-arguments 7.180s
    FAIL
    Where would I need to start debugging that? Thanks, Johannes
  • r

    Rob Houghton

    11/13/2022, 11:07 AM
    Does anyone have an example of price filtering query within the pricing api? Or is it not possible?
  • r

    Rob Houghton

    11/16/2022, 1:42 PM
    @Alistair (Infracost) I've added tiered lambda pricing in PR fix: (AWS) Adds support for lambda tiered pricing. Tests run ok locally but I seem to have an issue with pipeline checks & golden files. Is there anything additional I need to do?
  • Johannes Grumböck

    Johannes Grumböck

    11/25/2022, 10:46 AM
    Is anyone attending AWS re:invent next week? I’ll be there.
  • Hugo (Infracost)

    Hugo (Infracost)

    11/25/2022, 10:47 AM
    lucky chap
  • Hugo (Infracost)

    Hugo (Infracost)

    11/25/2022, 10:48 AM
    Sadly I don’t think any of the Infracost team will be there (but I might be wrong)
  • Hassan (Infracost)

    Hassan (Infracost)

    11/25/2022, 10:54 AM
    I'll be there next year. This yea, I have a flight to the US a week after re:invent, I don't think I can go, come back, and go again that quickly haha
  • Johannes Grumböck

    Johannes Grumböck

    11/25/2022, 7:02 PM
    I do understand. Will be my first time this year, so, whenever any other contributor is there, just ping me. Best way via @jgrumboe on Twitter.👋