-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension has issues when running in a multi-project VSCode workspace #1
Comments
Hello @gordonmurray, thanks for raising the first issue on
Many thanks |
Hi Hugo, Thanks for responding. Tried those steps just now:
|
hmm, @gordonmurray could you try posting the following block into a random file in both workspaces (the large and the 2 project one) saving and seeing if you have any prices displayed?
|
Are you trying to sneak an ec2 instance in to my account? :) I added the snippet to the small 2-project workspace, It gave me a cost of $825.98 in the first project but didn't show for the second project. I added the snippet to one or two projects in the busy workspace also, no output. I didn't see the Infracost status process at any time in case that should animate or anything. |
Haha, bitcoin mining you know... although that might not fetch much these days. Hmm weird, could you: |
When I open the tf file, even before making a change I get the following output I tried looking at the file mentioned ( I could try removing extensions and try it with just Terraform and Infracost. |
hmm @gordonmurray I'd just ignore that and see if there's any Infracost output if you scroll. I have a ton of random error logs as well |
hmm no @gordonmurray I'd love to get to the bottom of this. Would you be open to scheduling a call with me so we can debug together? It would be easier and hopefully, save your time going back and forth. |
Sure, Im in a GMT timezone. Suggest a day and time and Ill try to make it. |
cool @gordonmurray I'm GMT too, could you ping me an email to [email protected] and I'll reply back with some time. Thanks |
Updates from today's debugging session with @gordonmurray, there are a few bugs here, some of which need further investigation to find out what is going on:
|
Any update on this? I just discovered Infracost and am seeing the same issue still.
|
Hey @jghal, so just to confirm your issues here's a few follow up questions:
Thanks |
I did try running When I added a second Terraform module project to the workspace (so multiple projects, but all of them Terraform module sources), the Infracost overview view showed the added project's price data and not the one that was already present. This could have been just me not waiting long enough though, the extension status icon was showing the animated arrows circle. |
I installed the extension this evening, on VS Code 1.68.1.
At first I didn't think it was working. I have a Workspace in VS Code with over a dozen Terraform projects.
I closed the workspace and opened just 1 Terraform project and it worked perfectly.
I added a second folder to the Workspace and it didn't work for the second project, but the first one was still ok, prices changed when appropriate.
My profile has a number of open Terraform projects if that helps debugging.
The text was updated successfully, but these errors were encountered: