VPC deletion fails due to receiving late information about the route table dependency #18753
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
The route table should have been created and attached to the VPC.
Actual Behavior
Route table was attached to the VPC, but the request timed out before VPC was aware of the route table. In the subsequent
terraform destroy
, there was an error that the VPC cannot be deleted because there are dependencies which were not deleted:The issue seems to be a result of eventual consistency where the information about the resource that was created was relayed to the VPC module too late.
Steps to Reproduce
terraform apply
terraform destroy
Important Factoids
AWS region used:
us-east-1
The text was updated successfully, but these errors were encountered: