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

Remove inactivity_period default value from app_signon_policy_rule #2070

Open reinoudk opened 3 months ago

reinoudk commented 3 months ago

This addresses #1573 which, even though closed as stale, I think should be fixed.

For example, when creating a rule through the UI or when not explicitly setting this value through the API, the JSON that is returned when subsequently pulling the rule from the API will also not have a value for inactivityPeriod. The provider docs do not specify a default value either.

Note: I realize this could considered be a breaking change w.r.t. how the provider handled this value up until now 😬.

duytiennguyen-okta commented 3 months ago

@reinoudk yes, it is a breaking change and will have to wait for v5 to be released