Apply a saved plan terraform
Apply exactly the previously generated plan — no interactive prompts
terraform apply plan.tfplan
more terraform
all 43 commands →
Import existing resource
terraform import module.path.resource_type.name <remote-id>
Show state for a resource
terraform state show module.path.resource_type.name
Move resource in state
terraform state mv old.address new.address
Workspace list
terraform workspace list
Create and switch workspace
terraform workspace new staging && terraform workspace select staging