Skip to content

Commit

Permalink
Making acceptance test TestAccOktaDefaultPasswordPolicy pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Apr 20, 2022
1 parent a316524 commit 8dae073
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions okta/resource_okta_policy_password_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,11 @@ func resourcePolicyPasswordDefault() *schema.Resource {
Default: 0,
},
"password_history_count": {
Type: schema.TypeInt,
Optional: true,
Description: "Number of distinct passwords that must be created before they can be reused: 0 = none.",
Default: 0,
Type: schema.TypeInt,
Optional: true,
Description: "Number of distinct passwords that must be created before they can be reused: 0 = none.",
Default: 0,
DiffSuppressFunc: createValueDiffSuppression("0"), // default from Okta can be set to other than 0
},
"password_max_lockout_attempts": {
Type: schema.TypeInt,
Expand Down

0 comments on commit 8dae073

Please sign in to comment.