okta / terraform-provider-okta

A Terraform provider to manage Okta resources, enabling infrastructure-as-code provisioning and management of users, groups, applications, and other Okta objects.
https://registry.terraform.io/providers/okta/okta
Mozilla Public License 2.0
258 stars 209 forks source link

Fix: #2068 | remove min_items from app_group_assignments #2069

Closed exitcode0 closed 3 weeks ago

exitcode0 commented 3 months ago

fixes: #2068

the stated use-case for app_group_assignments is to explicitly manage all groups assigned to an application, however I can't currently explicitly state that I want there to be zero groups assigned to an application

This PR removes the min_items from the resource schema to allow the terraform provider to explicitly manage that zero groups should be assigned to an Okta application

duytiennguyen-okta commented 3 weeks ago

Close in favor of #2117