-
Dear all, Say, I have two modules, named:
Below are the sample config files.... global.yaml:
moda/terragrunt.hcl:
modb/terragrunt.hcl:
with this, if I run terragrunt with
How do I fix this? What am I missing here? really appreciate any help. -S |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Any idea(s)/suggestion(s) from any one? Got stuck in the middle with this. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Additionally may be helpful to share execution output with |
Beta Was this translation helpful? Give feedback.
-
So, seriously!! No one here got a clue what's going on or what am I doing wrong? If no one experienced that then I'msupposedly doing something wrong and I'm eager to know what and where. |
Beta Was this translation helpful? Give feedback.
-
thanks @denis256 for taking time to create a sample repo for the testing. For this test, I have created three (1x TG; 2x TF) repos now (based on your example), which is the closest representation of my real-life environments. When run it from the scratch, it actually gives totally different error. Looks like TG cannot figure out what to do when TF modules are in individual repos. The TF repos are here: but we should be able to do a successful Stepes to produce:
it ends up with:
looking in
and ending up with saying: Did not find any Terraform files (*.tf) What am I doing wrong here? |
Beta Was this translation helpful? Give feedback.
-
okay, finally figured out what was overlooked: The value for
The above repo works just fine, if |
Beta Was this translation helpful? Give feedback.
okay, finally figured out what was overlooked: The value for
tf_repo_pfx
MUST be prefixed withgit::
, for Terraform to process arbitrary Git repositoriesThe above repo works just fine, if
tf_repo_pfx
(in global.yaml) is updated withgit::
prefix.