-
Notifications
You must be signed in to change notification settings - Fork 131
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
Allow opt out of "No root module found" warning #212
Comments
Thanks for creating the issue @makusu2
As far as I can tell Terragrunt can/does run As mentioned in the linked comment I'm not against adding the config option, but I'd like to better understand what kind of scenarios is it meant to support and tailor the docs and UX towards these. Relatedly I'd not want to see such option being used to overcome problems/bugs related to any common scenarios. |
@radeksimko I can run |
As far as I understand The only thing I don't know given my limited experience with Terragrunt is where would that be and how would the location of either module or plugin cache correspond to the location of files being edited. I wouldn't be too opposed to exploring support of such setup so that the server can still provide all features, but supporting it may not be trivial and so I would be happy to add a config option to ignore this warning. Also we plan to explore ways of obtaining the schema remotely as per #193 |
it's inside a folder |
I would love to be able to opt-out. Sometimes I need to just browse around local copies of repos that should not have any of the |
@radeksimko is there any news on this yet? This popup can seriously spoil the vscode-terraform experience, it makes it almost unusable. For evidence please see #221, #383, hashicorp/vscode-terraform#447, hashicorp/vscode-terraform#524, hashicorp/vscode-terraform#544. I appreciate from your other replies that you wish to "solve" this and try to model all scenarios that might cause this to show, but clearly that's not trivial and will take some time - in the mean time please do not overlook the small mercy of allowing users to disable this clearly contentious popup. |
I agree with @ssttgg above, the message is in reality the only underlying problem other than all the logging the ls server spits out that might waste cycles. I am attempting to implement what I see as a very common solution to this problem by just For example consider the following directory structure:
WIth the inputs: I have tried various "secret formulas" based on docs for I know this(hcl-lang) is going on concurrently to produce schemas, I don't know much about the work that needs to be done but basically I just want to use the vs-code plugin (terraform-ls) to provide input validation for humans via VS Code and the machine way I see that might reproduce that functionality at least on a very barebones way would be to only pop that message if the file is |
Hi folks, Thank you for your understanding and patience. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Server Version
I'm unsure, as I don't have terraform-ls installed directly, I have the VS Code extension, v2.02
Terraform Version
Client Version
I'd like to turn #205 (comment) into an issue; I should be able to opt in (or out) of getting the "No root module found" warning.
My reason for this is that I use Terragrunt, and I don't want to have to manually init every root I work on. All I want is the syntax checking and formatting.
The text was updated successfully, but these errors were encountered: