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

forward terraform graph command #3404

Open
m-ronchi opened this issue Sep 13, 2024 · 3 comments
Open

forward terraform graph command #3404

m-ronchi opened this issue Sep 13, 2024 · 3 comments
Labels
bug Something isn't working preserved Preserved issues never go stale

Comments

@m-ronchi
Copy link

Describe the bug

terraform graph is a command for showing dependencies between resources

terragrunt graph is a different command

there is no way (or docs are incomplete) to make terragrunt forward the graph command to terraform

Steps To Reproduce

terragrunt ??? graph

Expected behavior

terragrunt runs the terraform graph command

@m-ronchi m-ronchi added the bug Something isn't working label Sep 13, 2024
@denis256
Copy link
Member

I think this one will be fixed with CLI interface redesign

@yhakbar
Copy link
Collaborator

yhakbar commented Sep 13, 2024

For context, @m-ronchi , we have an interface redesign that is currently in internal review. Once we finish with that review, I'll be publishing it as a public RFC for community feedback. It will directly address this issue.

If you're looking for a workaround in the short-term, navigate to the relevant .terragrunt-cache/x/y directory that's created when you run terragrunt init, and use tofu/terraform graph there.

@yhakbar yhakbar added the preserved Preserved issues never go stale label Sep 13, 2024
@yhakbar
Copy link
Collaborator

yhakbar commented Sep 27, 2024

@m-ronchi , please take a look at #3445 , and see if that provides the type of user experience with Terragrunt that would have mitigated this issue, in your opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working preserved Preserved issues never go stale
Projects
None yet
Development

No branches or pull requests

3 participants