Validating strings with StringLenBetween
incorrectly fails for UTF-8 encoded values
#1425
Labels
bug
Something isn't working
SDK version
Relevant provider source code
...
Terraform Configuration Files
...
Debug Output
n/a
Expected Behavior
With a provider that wants to validate a String with
StringLenBetween(1, 5)
and a value of"你好世界"
is provided, the validation should be successful.Actual Behavior
Fails with
expected length of test_property to be in the range (1 - 5), got 你好世界
.Steps to Reproduce
Unit test in 2f48bd8
References
n/a
The text was updated successfully, but these errors were encountered: