Skip to content

Commit df98908

Browse files
authored
feat(network_zone): set max items for dynamic_locations (#2501)
feat(network_zone): set max items for dynamic_locations_include Limit the number of items in the dynamic_locations_include field to 75. This ensures compliance with API constraints and improves resource validation.
1 parent 7b13c88 commit df98908

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

okta/services/idaas/resource_okta_network_zone.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ func resourceNetworkZone() *schema.Resource {
3232
Optional: true,
3333
Description: "Array of locations ISO-3166-1(2) included. Format code: countryCode OR countryCode-regionCode. Use with type `DYNAMIC` or `DYNAMIC_V2`",
3434
Elem: &schema.Schema{Type: schema.TypeString},
35+
MaxItems: 75,
3536
},
3637
"dynamic_locations_exclude": {
3738
Type: schema.TypeSet,

0 commit comments

Comments
 (0)