Apply saved plan
Apply exactly the plan generated earlier (no re-prompts)
terraform apply prod.tfplan
More terraform commands
-
terraform state show 'aws_instance.web[0]'Display all attributes of a specific resource in state
-
terraform state mv 'aws_instance.web' 'module.app.aws_instance.web'Rename or move a resource without destroying it
-
terraform import 'aws_s3_bucket.mybucket' my-existing-bucketBring an existing resource under Terraform management
-
terraform taint 'aws_instance.web[0]'Mark resource to be destroyed and recreated on next apply
-
terraform state rm 'aws_instance.legacy'Remove a resource from state without destroying it in the cloud