-
-
Notifications
You must be signed in to change notification settings - Fork 966
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Terragrunt Catalog lists tofu test modules/helpers #3378
Comments
@yhakbar This is worth generally prioritizing. Let's also discuss this in more detail when we focus on the upcoming Catalog project in the roadmap. |
@josh-padnick Sounds good. I think we can design something that works nicely to offer the ability to ignore modules from repos or something. I think a @RBurot , This might be another way to work around this issue pending of a first class way to ignore content in module repos. |
@yhakbar I think the For the moment, I think the best way to do the job is to externalize out of root |
Just to throw another idea out there, we could also introduce a new configuration block (e.g. |
Describe the bug
When I launch terragrunt catalog command, all modules are presents including fixture module for testing
Steps To Reproduce
I write ready-to-use catalog for my team
I design a module and I implement test with opentofu test method https://opentofu.org/docs/cli/commands/test/
To do the endtoend test, I create a fixture module to have helpers (in the setup folder):
├── README.md
├── locals.tf
├── main.tf
├── outputs.tf
├── tests
│ ├── main.tftest.hcl
│ └── setup
│ └── main.tf
├── variables.tf
└── versions.tf
when I launch the terragrunt catalog command, the helper module for the test is listed
Expected behavior
I don't want to have fixtures or helpers modules listed or have a way to ignore helpers modules
Nice to haves
Versions
Additional context
the only workaround way I found is to externalize fixture or helpers test modules from root modules folder
The text was updated successfully, but these errors were encountered: