terraform-provider-huaweicloud icon indicating copy to clipboard operation
terraform-provider-huaweicloud copied to clipboard

Cant create huaweicloud_swr_repository with name less than 3 symbols

Open ansamy opened this issue 10 months ago • 0 comments

Terraform Version

Terraform v1.5.7
on linux_amd64
+ provider huaweicloud/huaweicloud v1.62.1

Expected Behavior

huaweicloud_swr_repository with name 'ab' will be created

Actual Behavior

Error: invalid value for name (Only lowercase letters, digits, periods (.), underscores (_), and hyphens (-) are allowed.)

Additional Context

validation.StringLenBetween allow name 'ab' but conflict with validation.StringMatch regexp

ansamy avatar Apr 16 '24 11:04 ansamy