Max size of html_body
in Cognito Risk config is 20000
, not 2000
#25644
Labels
bug
Addresses a defect in current functionality.
service/cognitoidp
Issues and PRs that pertain to the cognitoidp service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
The maximum length of
html_body
is supposed to be20000
, not2000
.Please refer to the line below;
https://github.com/hashicorp/terraform-provider-aws/blob/v4.21.0/internal/service/cognitoidp/risk_configuration.go#L176
All other
ValidateFunc: validation.StringLenBetween(6, 2000)
inrisk_configuration.go
is supposed to beValidateFunc: validation.StringLenBetween(6, 20000)
as wellActual Behavior
I got the error when the length of
html_body
is over 2,000;Steps to Reproduce
${path.module}/custom_email/login_attempts.min.html
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: