CiscoDevNet / terraform-provider-fmc

Terraform Provider for FMC
https://registry.terraform.io/providers/CiscoDevNet/fmc/latest/docs
Mozilla Public License 2.0
16 stars 31 forks source link

Allow more than default 25 max network objects after filtering #6

Closed NordbergDK closed 2 years ago

NordbergDK commented 3 years ago

Fixes this issue: https://github.com/CiscoDevNet/terraform-provider-fmc/issues/5

When there are more than 25 (default api page limit) of network objects defined, the GetFmcNetworkObjectByNameOrValue function only works when the object requested was part of the first 25 network object retrieved on page one. This PR changes this to support up to 1000 network objects. This is done by increasing the limit to 1000 per page, which according the the API documentation is the maximum value for limit.