Name update of aws_vpn_connection_route resource caused unwanted effects #56
Labels
bug
Addresses a defect in current functionality.
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.
This issue was originally opened by @jwadolowski as hashicorp/terraform#4341. It was migrated here as part of the provider split. The original body of the issue is below.
Hey,
I've just renamed 2
aws_vpn_connection_route
resources (all arguments stayed the same) and applied the changes, but it turned out my static routes ended indeleted
state.This is how plan looked like:
and this was the output of
terraform apply
command:Immediately after this change I lost connectivity to my EC2 machines. Once I logged in to AWS control panel I saw both routes were in
deleted
state. After manual change connectivity was restored.This is the place I've seen these
deleted
states (unfortunately didn't take screenshot of that):The text was updated successfully, but these errors were encountered: