Skip to content

Commit

Permalink
hashicorp#25644 fix typo; maximum size is 20000, not 2000
Browse files Browse the repository at this point in the history
  • Loading branch information
TakumiHaruta committed Jul 1, 2022
1 parent 7d8a4b3 commit 6bfda94
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/service/cognitoidp/risk_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func ResourceRiskConfiguration() *schema.Resource {
"html_body": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(6, 2000),
ValidateFunc: validation.StringLenBetween(6, 20000),
},
"subject": {
Type: schema.TypeString,
Expand All @@ -131,7 +131,7 @@ func ResourceRiskConfiguration() *schema.Resource {
"text_body": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(6, 2000),
ValidateFunc: validation.StringLenBetween(6, 20000),
},
},
},
Expand All @@ -149,7 +149,7 @@ func ResourceRiskConfiguration() *schema.Resource {
"html_body": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(6, 2000),
ValidateFunc: validation.StringLenBetween(6, 20000),
},
"subject": {
Type: schema.TypeString,
Expand All @@ -159,7 +159,7 @@ func ResourceRiskConfiguration() *schema.Resource {
"text_body": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(6, 2000),
ValidateFunc: validation.StringLenBetween(6, 20000),
},
},
},
Expand All @@ -173,7 +173,7 @@ func ResourceRiskConfiguration() *schema.Resource {
"html_body": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(6, 2000),
ValidateFunc: validation.StringLenBetween(6, 20000),
},
"subject": {
Type: schema.TypeString,
Expand All @@ -183,7 +183,7 @@ func ResourceRiskConfiguration() *schema.Resource {
"text_body": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(6, 2000),
ValidateFunc: validation.StringLenBetween(6, 20000),
},
},
},
Expand Down

0 comments on commit 6bfda94

Please sign in to comment.