This will leave behind a persistent spot request that may or may not still launch another instance depending on dependencies.
terraform -destroy
This will destroy and recreate the instance and create an additional spot request. The previous spot request will launch an additional instance that is also unmanaged.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.5.2
AWS Provider Version
5.55.0
Affected Resource(s)
aws_instance
Expected Behavior
Destroying the resource removes spot request
Actual Behavior
The spot request still exists
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
This will leave behind a persistent spot request that may or may not still launch another instance depending on dependencies.
This will destroy and recreate the instance and create an additional spot request. The previous spot request will launch an additional instance that is also unmanaged.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None