You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 in deleted state.
and this was the output of terraform apply command:
aws_vpn_connection_route.cognifide-office-route: Destroying...
aws_vpn_connection_route.cognifide-vpn-route: Destroying...
aws_vpn_connection_route.cognifide-office-int-route: Creating...
destination_cidr_block: "" => "192.168.0.0/16"
vpn_connection_id: "" => "vpn-48bdca03"
aws_vpn_connection_route.cognifide-vpn-int-route: Creating...
destination_cidr_block: "" => "10.214.0.0/16"
vpn_connection_id: "" => "vpn-48bdca03"
aws_vpn_connection_route.cognifide-office-route: Destruction complete
aws_vpn_connection_route.cognifide-vpn-route: Destruction complete
aws_vpn_connection_route.cognifide-vpn-int-route: Creation complete
aws_vpn_connection_route.cognifide-office-int-route: Creation complete
Apply complete! Resources: 2 added, 0 changed, 2 destroyed.
The state of your infrastructure has been saved to the path
below. This state is required to modify and destroy your
infrastructure, so keep it safe. To inspect the complete state
use the `terraform show` command.
State path: .terraform/terraform.tfstate
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:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
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: