-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform: Error finding route after creating it: Unable to find matching route for Route Table #9756
Comments
Something is in really bad shape somewhere. I've tried to create the exact same infrastructure again, after destroying the previous test, and now I get this:
But that VPC exists, I can see it in the console. |
All errors appear to be intermittent. As a workaround, I'll try to sprinkle |
I have a similar issue: Second run: I had to removing the route manually and run the build again several times. |
FYI I had this (route not found after adding it, as in OP first post) on Terraform 0.7.7 - upgrading to 0.7.13 fixed it for me. See also #7038. |
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. |
Terraform Version
Terraform v0.7.7
Terraform Configuration Files
https://dl.dropboxusercontent.com/u/29966/tf.zip
Expected Behavior
Create the infrastructure.
Actual Behavior
https://gist.github.com/FlorinAndrei/17c0a12e70c0a15671322030b419ec92
However, the routes, route tables, and NAT gateways were all created just fine. Subnet associations were set also.
Running
terraform plan
again produces this output:But that route exists already. If I try to apply the plan, I get this:
terraform refresh
produces this output:Please note how
gw.2
is not mentioned in the refresh.terraform plan -destroy
also does not mentiongw.2
Applying that
-destroy
plan works well and destroys all infrastructure.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: