Open jmreicha opened 1 month ago
terragrunt show
seems to have this same problem even when a plan succeeds 🤔
Is there some way to tell it to skip refresh and/or not check outputs, since we know there won't be any from the mock configuration?
Probably a similar problem to #3270
Describe the bug
When attempting to run the
terragrunt validate-inputs
command against a config file with a dependency block, it appears that the command does not attempt to use the same logic as the plan command for pulling mocked values, even whenmock_outputs_allowed_terraform_commands = ["init", "plan", "validate"]
is provided. I have tested this against other configs that don't pull in mocked data and it works well.Hopefully I am missing something but didn't see any note about this in the docs.
Steps To Reproduce
Steps to reproduce the behavior, code snippets and examples which can be used to reproduce the issue.
This was simplified and cleaned. If you need a full reproduction I can update the reference here.
Expected behavior
I was expecting the validate-inputs command to pull the provided mocked output, but it appears to be skipping this.
Nice to haves
Error message when attempting to run the
validate-inputs
command against a config with dependency block (even with mocks).Running the same command against config with no dependency block produces expected output.
Versions
terragrunt version v0.55.10
Terraform v1.4.6
OSX
Additional context