Command
terraform state show aws_instance.my_instanceExplanation
Shows the attributes and current state of a resource in Terraform. Useful for debugging or extracting outputs.
Examples
Show details of a database instance
terraform state show module.db.aws_db_instance.main