https://infracost.io logo
Join the conversationJoin Slack
Channels
contributors
general
help
Powered by Linen
contributors
  • s

    Sean Callanan

    04/20/2022, 2:41 PM
    Hi, Would it be acceptable to make a graphql call from the Resource code to dynamically identify the price tiers for a resource instead of hardcoding the tiers levels in the code?
    v
    h
    t
    • 4
    • 15
  • s

    Sina Bakhtiari

    04/25/2022, 5:31 PM
    Anyone using VS Code for developing Infracost experience strange CPU usage?
    ❌ 2
    a
    v
    • 3
    • 6
  • n

    Nicolás Martin Tobías

    04/29/2022, 10:22 AM
    Hi, i want to ask a question regarding modules: I am using modules to create ECS services (route53 records, ecs service, alb rules, etc) When triying to get the infracost, it complains it can not download the git repo of the module, throwing this error:
    Error: Failed to download module
        Could not download module "backend_embedded_finance" (<http://main.tf:356|main.tf:356>) source
        code from "git::<https://github.com/getritmo/infra-tf-service.git?ref=1.1>":
        error downloading '<https://github.com/getritmo/infra-tf-service.git?ref=1.1>':
  • n

    Nicolás Martin Tobías

    04/29/2022, 10:23 AM
    any idea?
    a
    • 2
    • 6
  • k

    Kevin Frapin

    05/06/2022, 9:16 AM
    Hi 👋 , I just opened a MR on the
    infracost-gitlab-ci
    project (https://gitlab.com/infracost/infracost-gitlab-ci) I just want to add the
    --gitlab-server-url
    in all the examples using the
    infracost comment gitlab
    , as this flag must be set when using infracost on self-hosted instance I can see that the whole pipeline is in a failure state, and I'm sorry for that But before going any further, please let me know if these modifications make sense for you, and in that case, do not hesitate to guide me to fix that pipelines to make a better MR 🙂 Here is the MR: https://gitlab.com/infracost/infracost-gitlab-ci/-/merge_requests/39 Thanks for your help
    😒hipitparrot: 1
    v
    • 2
    • 14
  • d

    Duncan

    05/11/2022, 8:03 AM
    Saw this and thought of you guys. https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
    v
    a
    +2
    • 5
    • 10
  • c

    Carmelo Riolo

    05/18/2022, 9:58 PM
    Thank you @Vadim (Infracost) for the review and the help with my PR 🙂 I am going to open some more issues to extend the support for Reserved instances also for other AWS services (i.e. Elasticache, Elasticsearch). Glad to help!! 😄
    🚀 1
    🙌 1
    💥 2
    😛artyparrot: 3
    v
    • 2
    • 2
  • h

    Hany Mhajna

    05/24/2022, 2:17 PM
    hello, is there any env variable to choose terraform version? i see in dockerfile you install multiple terraform version, but cannot see any way to choose it
    h
    a
    j
    • 4
    • 86
  • r

    Rick

    05/25/2022, 5:25 AM
    I have raised two PRs for the same issue (one on GitLab, another on GitHub) https://github.com/infracost/infracost-azure-devops/pull/53 https://gitlab.com/infracost/infracost-gitlab-ci/-/issues/6 In both places, my pipeline checks are failing any help with solving this, please?
    🙏 1
    a
    h
    • 3
    • 4
  • a

    Ali (Infracost)

    07/07/2022, 5:49 PM
    @Mark Santolucito this is the chat I was referring too in the community call 🙂
    h
    r
    m
    • 4
    • 3
  • j

    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
    • 2
    • 12
  • 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.
    a
    r
    • 3
    • 7
  • s

    Sawyer Ward

    07/12/2022, 5:40 AM
    Here’s my first PR. It should implement #1616.
    🙌 1
    👍 1
    h
    • 2
    • 1
  • v

    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.
    🚀 1
    v
    • 2
    • 1
  • s

    Sawyer Ward

    07/12/2022, 10:17 PM
    Hi everyone, another PR to add azure vnet peering support.
    🎉 2
  • 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.
    a
    • 2
    • 3
  • 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!
    a
    h
    +2
    • 5
    • 18
  • 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?
    a
    • 2
    • 1
  • 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?
    h
    • 2
    • 2
  • t

    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
    a
    • 3
    • 29
  • 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.
    v
    • 2
    • 2
  • a

    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:
    s
    v
    • 3
    • 7
  • 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)
  • j

    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
    h
    • 2
    • 13
  • 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?
    v
    • 2
    • 3
  • 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?
    a
    • 2
    • 3
  • j

    Johannes Grumböck

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

    Hugo (Infracost)

    11/25/2022, 10:47 AM
    lucky chap
Powered by Linen
Title
h

Hugo (Infracost)

11/25/2022, 10:47 AM
lucky chap
View count: 1