TerraformState

terraform state show

Shows the current state attributes of a single resource.

Syntax

terraform state show <resource>

Examples

Inspect a specific resource's state

terraform state show aws_instance.web

Related commands