Skip to content

Commit 684c385

Browse files
committed
fix: length validation on principal
1 parent c1622ce commit 684c385

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/service/ram/principal_association.go

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ func resourcePrincipalAssociation() *schema.Resource {
4545
Required: true,
4646
ForceNew: true,
4747
ValidateFunc: validation.Any(
48+
validation.StringIsNotEmpty,
4849
verify.ValidAccountID,
4950
verify.ValidARN,
5051
),

0 commit comments

Comments
 (0)