This message was deleted.
# general
b
This message was deleted.
👍 2
🦜 4
💥 9
🚀 8
🙌 4
b
this is really cool
🎉 2
p
I'm not VSCode user, but now I'd like to try it. Awesome extension!
infraheart 2
d
any plan to support for IntelliJ in future?
w
@delightful-market-27721 you’re the 3rd person to mention this today! So I created the issue… please subscribe/👍 for updates
d
Thanks @white-airport-8778 👍
🦜 1
f
Hi, this extension sounds amazing but for some reason I can't get it to work. I followed the installation guide and the CLI is working on the same project but I don't see any hints on VSCode. Any idea why?
m
hey @freezing-doctor-29902, it’s a bit hard to debug without looking at concrete examples of the codebase. However I’ve got a few questions which might help us get to the bottom of this: 1. what OS are you running on? 2. Are there any log outputs showing any suspect errors? https://github.com/infracost/vscode-infracost#locating-infracost-error-logs 3. When you open a workspace do you see the Infracost logo at the bottom right of the editor?

https://raw.githubusercontent.com/infracost/vscode-infracost/master/.github/assets/loading.png

4. If yes to 3, can you paste the following block in any top-level Terraform file:
Copy code
resource "aws_instance" "web_app" {
  ami           = "ami-674cbc1e"
  instance_type = "m5.4xlarge" 

  root_block_device {
    volume_size = 50
  }

  ebs_block_device {
    device_name = "my_data"
    volume_type = "io1" 
    volume_size = 1000
    iops        = 800
  }
}
save the file and see if that has any prices displayed
f
Hi, thank you for your response! 1. I'm running on Windows 11, tested it too from Windows 10 but it still doesn't work. 2. there are some parsing error from the terraform extension. It doesn't familiar with modules parameters I use. 3. Yes I can see it, and it's syncronizing at first and then it stops as normal. 4. I created a new folder with a single file named "main.tf" with your block. This file shows no errors at all on the "output" terminal window, but it still doesn't work.
m
hmm yeah we’ve had some problems running the extension on windows machines in the past as the path detected by
infracost
is different from the one provided by VSCode. Could you run this command:
Copy code
infracost breakdown --path . --out-file debug.json --format json
In the folder you created with the single resource, then send me the file in a private message.