-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
The count fails in resource "aws_route" "requestor" #19
Comments
Facing the same issue. Is this fixed? Am using the following versions.
|
have the same problem |
I am seeing the same but I am not sure there's anyway around it with the way the module is written, it's a limitation of terraform. One possible way to address this would be to have a version where you could pass all the route tables from the subnet modules in vs having it discover, terraform would be able to know then what route tables were going to exist at plan time. |
I fixed this issue by, as noted in the error message, using the -target argument. terraform plan -target="module.vpc" |
+1, the module.vpc_peering expects both requestor and acceptor vpcs to be provisioned before calling itself. |
The Terraform AWS VPC Peering module fails if the requestor VPC does not exist yet.
We are trying to create the requestor's VPC and the peering at the same time, which ends up in this error:
The text was updated successfully, but these errors were encountered: