-
Notifications
You must be signed in to change notification settings - Fork 135
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
Use moduleCalls.Declared
as source for module.calls
#987
Conversation
83d3214
to
b492bb3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions/questions in-line.
3a730f0
to
958cbe8
Compare
This removes any nesting in the tree view for now. Hierarchy can be added later by parsing `moduleCalls.Installed` (might be stale) or a new way of parsing local module sources.
Co-authored-by: Radek Simko <[email protected]>
958cbe8
to
e15ed9c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
This PR updates the
module.calls
command to rely on the decoded module calls metadata, introduced in #882.This allows us to instantly update the module calls view when a file inside the module is changed. In addition, because we're not relying on data from the
.terraform
folder anymore, the view never contains stale data.Since we're only getting information about the current module and loose some information about nested modules, we're removing any nested views from the tree view.
Before
After
Resolves #725