1473 shaares
101 private links
101 private links
Note: Even when passing a target, the resource you are looking for might not have index 0
.
To list all the resources names and find the correct index run terraform show -json /tmp/tfplan | jq -r ".resource_changes[].address"