You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnerrors.Errorf("ValidationError: vpcID %v failed to satisfy constraint: VPC Id must begin with 'vpc-' followed by 8 or 17 lowercase letters (a-f) or numbers.", tgb.Spec.VpcID)
wantErr: errors.New("unable to get target group VpcID: vpcid not found"),
1126
1126
},
1127
+
{
1128
+
name: "[err] vpcID is not valid",
1129
+
args: args{
1130
+
obj: &elbv2api.TargetGroupBinding{
1131
+
Spec: elbv2api.TargetGroupBindingSpec{
1132
+
TargetGroupARN: "tg-2",
1133
+
VpcID: "vpcid-123",
1134
+
},
1135
+
},
1136
+
},
1137
+
wantErr: errors.New("ValidationError: vpcID vpcid-123 failed to satisfy constraint: VPC Id must begin with 'vpc-' followed by 8 or 17 lowercase letters (a-f) or numbers."),
0 commit comments