Reputation: 155
In terraform I am trying to create a forwarding rule and I am getting the following error. It says that my limit is 250 however when I go into the project (under iam/quotas) and I look for the quota limit for "Internal TCP/UDP Load Balancer Forwarding Rules per VPC Network" I see that it is under 250.
Am I looking at the wrong quota in the gcp console?
Is the current usage on the gcp console showing a delayed value?
How does terraform get the current quota value?
Error waiting to create ForwardingRule: Error waiting for Creating ForwardingRule: You cannot create any more internal forwarding rules in the project, as the limit of '250.0' for network peering group is reached for the network 'GLOBAL:global/COMPUTE/PROJECT:SAMPLE_PROJECT/NETWORK:vpc-network'.
Upvotes: 0
Views: 1140
Reputation: 94
According to the error message you are getting, I saw that you're using VPC peering.
You need take in consideration that if you use VPC peering, the limit for INTERNAL_FORWARDING_RULES_PER_NETWORK change, the forwarding rules will be added for each peering in your VPC with the quota for the other VPC(s). You can see more specific details in VPC Network Peering limits.
This document discusses Effective limits for VPC Network Peering
To increase the quota you can follow these steps or open a case directly with GCP Support and ask for your quota increase.
Upvotes: 2