terraform plan updates your state file.
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
All standard backend types support state locking, and remote operations like plan, apply, and destroy.
Which configuration consistency errors does terraform validate report?