Terraform state leaks on interrupt #18051
Labels
provider
Pertains to the provider itself, rather than any interaction with AWS.
service/ec2
Issues and PRs that pertain to the ec2 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
I would expect when I interrupt a running
terraform apply
process, no terraform state to be leaked.Actual Behavior
When you interrupt a running
terraform apply
process, the resource is actually being created but not saved in the terraform state.Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: