-
Notifications
You must be signed in to change notification settings - Fork 1
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
Size limitation on number of ips in myjfrog_ip_allowlist
?
#17
Comments
@nbaju1 Thanks for the report. I'll add validation to this attribute. |
@nbaju1 Per the limitations from the MyJFrog REST API documentation: https://jfrog.com/help/r/jfrog-rest-apis/get-platform-cloud-nat-ips, the combined CIDR list allows maximum of 2500 entries. So you will likely encounter this issue before getting close to 2500 as you probably have other CIDRs already in your AWS environment. |
@nbaju1 Does the attribute contains all ~3800 ips? Or do you have ~3800 resource configurations, each with one ip? I'm trying to ascertain the actual failure, whether you are hitting the ips/cidr limits, or other failure (e.g. timeout/retry) from the REST API. |
@alexhung One resource with all the ips. |
@nbaju1 In this case, even with a size validation on the You can confirm this is an issue with the MyJFrog API by using the Add IP to Allowlist API directly. If error occurs, you should contact your JFrog customer support contact to open a support ticket. |
I converted the list of ips into the smallest set of CIDR blocks possible which resulted in ~2800 CIDRs, which I was able to deploy. So the 2500 limit doesn't seem to be a hard limit. |
@nbaju1 Interesting. Looks like this is a MyJFrog API behavior. |
Describe the bug
Attempting to add ~3800 ips to existing allow list, with ~1000 ips, fails on apply with the following error:
I'm using the CDK to generate the resources, so no code to show. Plan output works without issues.
Terraform version 1.8.4
Provider version 1.0.0
Expected behavior
Append the new ips to the allow list.
The text was updated successfully, but these errors were encountered: