aws_iam_user_login_profile - The validation function validates a string length for an integer. #3912
Labels
bug
Addresses a defect in current functionality.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
service/iam
Issues and PRs that pertain to the iam service.
Milestone
Hi,
Commit #3702
https://github.com/terraform-providers/terraform-provider-aws/blob/639332e4e82a50ecb5cfcd931a86287848bbe4cb/aws/resource_aws_iam_user_login_profile.go#L39
The password length is an integer, the validate function checks string length (between 4 and 128), so terraform raises an error:
expected type of password_length to be string
.Step to reproduce:
The text was updated successfully, but these errors were encountered: