Replies: 1 comment · 5 replies
-
Hi, Without the source code, troubleshooting is challenging, but here are a few suggestions:
https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#dependency https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#dependencies |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, You're right, it's kinda hard to help me without the code :D I've just uploaded it in this repository: https://github.com/ares-b/terragrunt_oracle.
Correct me If I'm wrong but terraform and terragrunt get output data from the terraform state. So what would happen if I run
In fact, there's explicit dependencies, Here's the complete log of
|
Beta Was this translation helpful? Give feedback.
All reactions
-
By default, Terragrunt is using Error mentions that
Checking how
Modules define outputs only in
|
Beta Was this translation helpful? Give feedback.
All reactions
-
That's right I don't have any output in
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello, https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#dependencies |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
My dependency (docker_server) do have outputs, it has
I've set
So my dependency (docker_server) IS producing an output.
So
I'd be happy to provide more information if needed |
Beta Was this translation helpful? Give feedback.
-
I have two terraform modules :
I'm also managing multiple Oracle Cloud Account (Provisioned VMs are within the always free tier).
Here's my directory hierarchy :
On
docker_services/common.hcl
I have the following dependency todocker_servers
:When I run
terragrunt run-all plan
I get this error :And When I add the following to the dependency:
It tries to ping the docker server, so I get this error:
Is there any way to achieve what I'm trying to do ?
Do I need to have something that orchestrate the order in which terragrunt executes my modules ? Like something that tells him run what's in
docker_servers
and then what's indocker_services
.Beta Was this translation helpful? Give feedback.
All reactions