Skip to content

Commit 40426b1

Browse files
authored
Merge pull request #243 from SumoLogic/dgould-SUMO-170668
Dgould sumo 170668
2 parents 3851989 + 5ba675c commit 40426b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sumologic/resource_sumologic_password_policy_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
func TestAccPasswordPolicy_create(t *testing.T) {
1313
passwordPolicy := PasswordPolicy{
1414
MinLength: 9,
15-
MaxLength: 50,
15+
MaxLength: 128,
1616
MustContainLowercase: false,
1717
MustContainUppercase: true,
1818
MustContainDigits: false,
@@ -45,7 +45,7 @@ func TestAccPasswordPolicy_create(t *testing.T) {
4545
func TestAccPasswordPolicy_update(t *testing.T) {
4646
passwordPolicy := PasswordPolicy{
4747
MinLength: 10,
48-
MaxLength: 51,
48+
MaxLength: 128,
4949
MustContainLowercase: true,
5050
MustContainUppercase: true,
5151
MustContainDigits: false,
@@ -61,7 +61,7 @@ func TestAccPasswordPolicy_update(t *testing.T) {
6161

6262
updatedPasswordPolicy := PasswordPolicy{
6363
MinLength: 12,
64-
MaxLength: 52,
64+
MaxLength: 128,
6565
MustContainLowercase: false,
6666
MustContainUppercase: false,
6767
MustContainDigits: false,

website/docs/r/password_policy.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ resource "sumologic_password_policy" "examplePasswordPolicy" {
3434
The following arguments are supported:
3535

3636
- `min_length` - (Optional) The minimum length of the password. Defaults to 8.
37-
- `max_length` - (Optional) The maximum length of the password. Defaults to 128.
37+
- `max_length` - (Optional) The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
3838
- `must_contain_lowercase` - (Optional) If the password must contain lower case characters. Defaults to true.
3939
- `must_contain_uppercase` - (Optional) If the password must contain upper case characters. Defaults to true.
4040
- `must_contain_digits` - (Optional) If the password must contain digits. Defaults to true.

0 commit comments

Comments
 (0)