When I use the jq command
terraform show -json | jq '.values[].child_modules[0].resources[0].values.dns_name' and I get the value I want. But my concern is, when my terraform resource spin up, its position in the array is going to change. Is there a way to filter down onto the key or the value I'm looking for?
[link] [comments]