Forcing Replacement with -replace
The configuration is unchanged, but the VM behind aws_instance.web is in a broken state and you want Terraform to destroy and recreate just that instance. Which command does this?
aws_instance.web
Choose one answer
terraform apply -refresh-only
terraform apply -target=aws_instance.web
terraform apply -replace="aws_instance.web"
terraform state rm aws_instance.web then terraform apply
terraform state rm aws_instance.web
terraform apply