Skip to content
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

New command: inspect-module #231

Merged
merged 1 commit into from
Jul 24, 2020
Merged

New command: inspect-module #231

merged 1 commit into from
Jul 24, 2020

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Jul 13, 2020

Closes #225

This aims to provide another way of debugging complex hierarchies, which is a problem people tend to run into.

Usage

$ terraform-ls inspect-module .
2 root modules found in total at /var/workspace/tf-test/github
 - /var/workspace/tf-test/github
   - 3 errors:
     - terraform version 0.11.0 is not supported in schema storage (supported: >= 0.12.0)
     - terraform version 0.11.0 is not supported in parser (supported: >= 0.12.0)
     - cannot update schema as schema cache is not available
   - 1 modules
     - nested-root (./nested-root)
 - /var/workspace/tf-test/github/nested-root
   - 0 errors
   - 0 modules

@radeksimko radeksimko added the bug Something isn't working label Jul 13, 2020
@radeksimko radeksimko requested a review from a team July 13, 2020 18:48
@radeksimko radeksimko added this to the v0.6.0 milestone Jul 13, 2020
@radeksimko radeksimko added enhancement New feature or request and removed bug Something isn't working labels Jul 14, 2020
@radeksimko radeksimko merged commit 7da9006 into master Jul 24, 2020
@radeksimko radeksimko deleted the f-debug-cmd branch July 24, 2020 15:12
@ghost
Copy link

ghost commented Aug 23, 2020

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Aug 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cmd/inspect-module: A command to aid with debugging root module discovery
2 participants