Terragrunt getting outputs from dependency witha collection and index #816
-
`dependency "vpc" { mock_outputs = { inputs = { the above plan works fine with mock outputs with dependency with terragrunt,terraform and google cloud resources. All fine. I am looking for a similar solution which works with collections of values with index However say my depedency has output which is a collection like below, which is the google cloud resource output to create folders.
Now i want to refer this
This doesnt work and complains that "Invalid index; The given key does not identify an element in this collection value." The error happens as the folder "General" is not created yet and is a dependency. Any help on this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
found the answer with mock_outputs_merge_strategy_with_state |
Beta Was this translation helpful? Give feedback.
found the answer with mock_outputs_merge_strategy_with_state