option to discard certain .tf file to a terragrunt unit instantantiation #4336
frank-helloworld
started this conversation in
General
Replies: 1 comment 3 replies
-
Hey @frank-helloworld ! Yes, you can use a before_hook to achieve this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
use case is a terraform module needs to handle both existing and new infrastructure.
There is an import.tf to handle existing infrastructure, but including this import.tf will fail for new infrastructure.
Is there some techniques that can be applied at terragrunt side to not include certain .tf file for a referenced module ?
can hooks be used to do this ?
Beta Was this translation helpful? Give feedback.
All reactions