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

    Pietro Dell'Amore

    07/29/2022, 3:05 PM
    Hey everyone, there is a way to export a file in the format of the dashboard that you provide at the shareable link? We would like to have something like an internal dashboard, so another teams can have a view of our costs breakdown, similar to the dashboard on the shareable link, but we want to serve this at an s3 bucket. Does anyone have something similar to this case?
    h
    • 2
    • 10
  • s

    Samarth Saxena

    07/31/2022, 5:50 AM
    Hi , Do you have any sample OPA policy for azure resources . The eg rego is aws specific .
    a
    • 2
    • 3
  • s

    Samarth Saxena

    08/01/2022, 4:55 PM
    Is there a time interval the cloud api refreshes itself . I mean how consistent is the pricing retrieved matching from cloud provider output and also 2 . Is there a limit on the no of times we can call the api under free tier .
    a
    a
    • 3
    • 6
  • s

    Stephen Klaus

    07/28/2022, 4:53 PM
    With Infracost (Self Hosted) deployed via the Helm Chart. Had a couple questions… 1. When deploying cloud-pricing-api via the Helm Chart. Is their a reason in subsequent runs that it shows a failure for the unit job? Should the deployment just know that has already completed? This happens when running helm upgrade —install…. 2. After deploying the generated self hosted key doesn't work. When providing the resulting API Key from infracost auth… Then following the README.md in particular here. When I put this key in the deployment via browser throws an error as well as via CI leveraging this template. I assume this is unexpected behavior. From the documentation is their something potentially missing? Any insight into this would be much appreciated 🙏🏻
    a
    a
    • 3
    • 20
  • m

    Moruf Ajibike

    07/20/2022, 10:36 AM
    Hi everyone, is it possible to automated the infracost registration? The cli doesn't have any flags for infracost register command.
    a
    • 2
    • 14
  • m

    Moruf Ajibike

    08/02/2022, 9:33 AM
    I get invalid API key error when i curl http://localhost/status. .env file is in the root directory of cloud-pricing-api and is set to contain both the API key I got from infracost auth login and the self generated 32 chars self hosted api key. When I use the API key for thr grahpql endpoint, I get a valid response which indicates the API key is valid. Is there anything I'm missing?
    a
    • 2
    • 56
  • a

    Alistair (Infracost)

    08/02/2022, 5:05 PM
    Hey everyone, Infracost v0.10.9 has just been released 😒hipitparrot: • 🐛 This version mainly consists of fixes that have been reported by the community. • 🙌 I want to give a big shout out to anyone who has helped us debug these issues by providing logs, reproducible examples and even hopping on Zoom calls with us to pair-debug • ☁️ There’s also some additional enhancements in this release that enable us to expand Infracost Cloud to play nicely with more of our integrations such as Terraform Run Tasks, Atlantis, Azure Repos, Bitbucket and CircleCI. You can try out Infracost Cloud here.
  • k

    Karen Khondkaryan

    08/02/2022, 10:12 PM
    Hi all, I just installed Self-hosted infracost via Docker compose, it’s installed v0.3.5 but the latest version is v0.3.6 how can I install/upgrade to v0.3.6?
    v
    • 2
    • 3
  • m

    Malcolm (Terrateam)

    08/03/2022, 8:31 AM
    Hello, a question on this usage:
    infracost diff --path infracost-today.json --compare-to infracost-last-week.json
    If I have a project that is in last-week but not today or vice versa, the diff handles that just fine, right?
    a
    • 2
    • 5
  • n

    Nico

    08/03/2022, 11:31 AM
    Hello there
  • n

    Nico

    08/03/2022, 11:36 AM
    Before raising a bug I prefer to ask on slack 🙂 I have matrix job in my GH actions, for 3 environments (
    dev
    ,
    preprod
    and
    prod
    ). Each line of the matrix generates a cost diff (with
    infracost diff
    ) that has a
    --project-name
    parameter (
    XXX-dev
    ,
    XXX-preprod
    and
    XXX-prod
    ). I archive them all in the matrix and once outside I grab them and uses
    infracost comment github <omitted params> --path /to/XXX-*
    but I only the total cost and not one line per environment + the total as the doc shows
  • n

    Nico

    08/03/2022, 11:36 AM
    Did I miss something ?
    a
    • 2
    • 12
  • g

    Gerd König

    08/03/2022, 2:14 PM
    Hej everyone, I wanted to start using Infracost within Gitlab CICD pipeline, followed the (great) tutorial and adapted/extended the existing pipeline .gitlab-ci.yaml. After triggerering the execution via a merge request, the infracost stage fails with the following error:
    Executing "step_script" stage of the job script
    Using docker image sha256:03d0788cabfbc3d757fd451ddfc03d4c76754aa605125ec5742941b503334a99 for infracost/infracost:ci-0.10 with digest infracost/infracost@sha256:ed77440c57b05e71d810428bd313f3939feea48f484343e6f719a9d616a02731 ...
    $ git clone $CI_REPOSITORY_URL --branch=$CI_MERGE_REQUEST_TARGET_BRANCH_NAME --single-branch /tmp/base
    Cloning into '/tmp/base'...
    $ infracost breakdown --path=/tmp/base/${TF_ROOT} \ # collapsed multi-line command
    time="2022-08-03T13:49:11Z" level=info msg="Evaluating Terraform directory at /tmp/base/./"
    time="2022-08-03T13:49:11Z" level=info msg="Starting: Downloading Terraform modules"
    Error: Error loading Terraform modules: error looking up registry module yaml: Module versions endpoint returned status code 401
    Cleaning up project directory and file based variables
    00:01
    ERROR: Job failed: exit code 1
    any hints what this "error looking up registry module yaml" causes ?? Many thanks in advance!
    v
    • 2
    • 4
  • h

    hashim vayalar

    08/04/2022, 10:19 AM
    Hi, Anyone used pull request with codebuild. I am using Jenkins and codebuild to do terraform jobs. I have setup everything in codebuild(workflow using make file and will run using codebuild)to get cost. This works fine. Now “infracost comment GitHub” tried using codebuild. Instead of pull request I have used commit. So I am thinking how automatically we can fetch the commit id using codebuild
    a
    • 2
    • 1
  • s

    Samuel Clay

    08/04/2022, 11:25 AM
    Hey, I was wondering if there we're some good examples of using Infracost with docker-compose?
    a
    • 2
    • 3
  • m

    Moruf Ajibike

    08/04/2022, 2:14 PM
    Hi everyone, i’m presently getting
    $0.0
    for all the resources in my Azure terraform project. There is a warning in the logs with the message:
    level=warning msg="No products found for <resource_id>, using 0.00
    . Is there something no fairly obvious i’m missing?
    a
    • 2
    • 11
  • a

    Armand Seukunian

    08/04/2022, 2:17 PM
    Hello, I am testing the azure azurerm_mssql_virtual_machine to create a Microsoft SQL Virtual Machine but Infracost is not detecting the cost of the SQL license. I am not sure if i am missing something 🙂 Many thanks in advance
    a
    • 2
    • 5
  • d

    Dan

    08/04/2022, 4:02 PM
    Hey folks. New here and looking to learn a bit more about the product. I’ve been trying to find answer here and online but have yet to find anything discussion how infracost works with AWS and Savings Plans. Is there documentation I’m missing around how Savings Plans are taken into account? Or are Savings Plans just not accounted for? I know the paid Infracost Cloud allows for entering an EDP % for AWS but didnt see any mention of SPs
    a
    n
    • 3
    • 12
  • d

    Derence Voo

    08/05/2022, 6:51 AM
    hi, does Infracost work for Pulumi?
    a
    • 2
    • 2
  • m

    Malcolm (Terrateam)

    08/05/2022, 7:52 AM
    Hello, I have a situation where I'm doing a breakdown on my default branch, then a breakdown on my feature branch, then I'm doing a diff, and I'm getting the error
    Invalid --compare-to Infracost JSON, found duplicate project name ...
    . What exactly does this mean?
    a
    • 2
    • 45
  • o

    Oscar Vaquero

    08/05/2022, 1:16 PM
    👋 Hi everyone!
  • o

    Oscar Vaquero

    08/05/2022, 1:49 PM
    Is there a way in the Github action to provide a detailed report with all the services and each cost? Currently with the example from https://github.com/infracost/actions/tree/master/examples/terraform-project it produces this
    a
    • 2
    • 1
  • e

    Ed Davies

    08/08/2022, 10:28 AM
    Hey everyone, trying to add Infracost breakdown/diff to my CI/CD pipeline in bitbucket. My issue at the moment is installing Infracost into my current docker image rather than using the Infracost docker image. I see I can't just do a yum install so do I need to clone the Infracost repo and set it up this way?
    a
    • 2
    • 3
  • a

    Ali (Infracost)

    08/08/2022, 5:59 PM
    📣 Hey everyone - we have our August community call tomorrow! Please join us to talk about: • Support for private Terraform registry modules • Demo of VSCode extension project cost tree • Demo of Infracost Cloud's new pull request view and support for custom price books, as well as a sneak preview of the new dashboard • Any other topic that you’d like to discuss 👉 Zoom invite details are here
  • a

    Armand Seukunian

    08/09/2022, 3:08 PM
    Hello everyone, when I run infracost in my pipline in ADO, I am not getting the url that shares the cost estimate, although the same command works on my laptop
    t
    • 2
    • 10
  • a

    Adam

    08/09/2022, 3:08 PM
    Has anyone come across a specification for an HTTP header that encodes usage (or costs) associated with an HTTP request? I’m thinking something a bit like the
    Server-Timing
    header If I end up defining my own, it might look a bit like this:
    Server-Usage: aws.us-east-2.lambda.invoke;unit=GB-s;qty=0.001, aws.us-east-2.ingress;unit=B;qty=203, aws.us-east-2.egress;unit=B;qty=20401
    Though I’m thinking about using the product names from the infracost pricing database
    t
    • 2
    • 4
  • a

    Ali (Infracost)

    08/09/2022, 5:02 PM
    https://infracost-community.slack.com/archives/C01G63Q4HS7/p1659981567017559 starting now…
    b
    b
    • 3
    • 3
  • a

    Ali (Infracost)

    08/09/2022, 7:24 PM
    If anyone is using Infracost with GitHub Actions and has a lot of modules, we’d love to get feedback on this new example that uses the GH Actions cache in a pretty sophisticated way to shave ~50% off the module download time… We discussed that in the above community call too.
  • t

    Tim (Infracost)

    08/10/2022, 1:57 PM
    I created a new GitHub issue with a proposal on simplifying the CLI flags/configuration. I’d love to hear everyone’s thoughts.
  • a

    Ali (Infracost)

    08/10/2022, 7:51 PM
    📣 Hey everyone, our August update blog is live: • We’re excited to announce Infracost Cloud - our SaaS product that builds on top of Infracost open source and helps team leads, managers and FinOps practitioners see all code changes and their cost impact from a central place 🎉 • The VSCode extension has a new tree view so you can see which projects, files and blocks have the most impact to your costs🌲 • The Infracost CLI automatically downloads private registry modules hosted on Terraform Cloud or GitLab 💻 • Plus support for Terraform JSON var files, shorter Bitbucket comments, new resources in Azure and AWS, and a lot of great community content including AWS featuring Infracost in their inaugural Build On AWS Twitch livestream💥
Powered by Linen
Title
a

Ali (Infracost)

08/10/2022, 7:51 PM
📣 Hey everyone, our August update blog is live: • We’re excited to announce Infracost Cloud - our SaaS product that builds on top of Infracost open source and helps team leads, managers and FinOps practitioners see all code changes and their cost impact from a central place 🎉 • The VSCode extension has a new tree view so you can see which projects, files and blocks have the most impact to your costs🌲 • The Infracost CLI automatically downloads private registry modules hosted on Terraform Cloud or GitLab 💻 • Plus support for Terraform JSON var files, shorter Bitbucket comments, new resources in Azure and AWS, and a lot of great community content including AWS featuring Infracost in their inaugural Build On AWS Twitch livestream💥
View count: 1