polite-engineer-31217
10/14/2022, 4:16 AMError: Failed to parse the Terragrunt code using the Terragrunt library:
...
terragrunt.hcl:16,70-73: Invalid index; This value does not have any indices.
This input is subnet_id : dependency.legacy_datasource.outputs.private_subnet_ids[0]
So I was thinking about using
mock_outputs_allowed_terraform_commands = ["validate"]
mock_outputs = {
vpc_id = "fake-vpc-id"
}
but I don’t know what tf_commands should I use since you’re using the parsing library ?
Thank you for your suggestionswhite-airport-8778
10/14/2022, 5:53 AMmysterious-teacher-68276
10/14/2022, 6:46 AMmock_outputs
using the HCL parsing with terragrunt. Let us know if you have any further questionspolite-engineer-31217
10/14/2022, 12:11 PMwhite-airport-8778
12/28/2022, 5:07 PMpolite-engineer-31217
01/03/2023, 7:59 PM