@@ -2817,6 +2817,40 @@ func TestAccELBV2TargetGroup_Instance_HealthCheck_defaults(t *testing.T) {
28172817 expectedTimeout : "10" ,
28182818 },
28192819 },
2820+ awstypes .ProtocolEnumQuic : {
2821+ awstypes .ProtocolEnumHttp : {
2822+ expectedMatcher : "200-399" ,
2823+ expectedPath : "/" ,
2824+ expectedTimeout : "6" ,
2825+ },
2826+ awstypes .ProtocolEnumHttps : {
2827+ expectedMatcher : "200-399" ,
2828+ expectedPath : "/" ,
2829+ expectedTimeout : "10" ,
2830+ },
2831+ awstypes .ProtocolEnumTcp : {
2832+ expectedMatcher : "" ,
2833+ expectedPath : "" ,
2834+ expectedTimeout : "10" ,
2835+ },
2836+ },
2837+ awstypes .ProtocolEnumTcpQuic : {
2838+ awstypes .ProtocolEnumHttp : {
2839+ expectedMatcher : "200-399" ,
2840+ expectedPath : "/" ,
2841+ expectedTimeout : "6" ,
2842+ },
2843+ awstypes .ProtocolEnumHttps : {
2844+ expectedMatcher : "200-399" ,
2845+ expectedPath : "/" ,
2846+ expectedTimeout : "10" ,
2847+ },
2848+ awstypes .ProtocolEnumTcp : {
2849+ expectedMatcher : "" ,
2850+ expectedPath : "" ,
2851+ expectedTimeout : "10" ,
2852+ },
2853+ },
28202854 }
28212855
28222856 for _ , protocol := range enum .EnumValues [awstypes.ProtocolEnum ]() {
@@ -2961,6 +2995,30 @@ func TestAccELBV2TargetGroup_Instance_HealthCheck_matcher(t *testing.T) {
29612995 matcher : "200" ,
29622996 },
29632997 },
2998+ awstypes .ProtocolEnumQuic : {
2999+ awstypes .ProtocolEnumHttp : {
3000+ matcher : "200" ,
3001+ },
3002+ awstypes .ProtocolEnumHttps : {
3003+ matcher : "200" ,
3004+ },
3005+ awstypes .ProtocolEnumTcp : {
3006+ invalidConfig : true ,
3007+ matcher : "200" ,
3008+ },
3009+ },
3010+ awstypes .ProtocolEnumTcpQuic : {
3011+ awstypes .ProtocolEnumHttp : {
3012+ matcher : "200" ,
3013+ },
3014+ awstypes .ProtocolEnumHttps : {
3015+ matcher : "200" ,
3016+ },
3017+ awstypes .ProtocolEnumTcp : {
3018+ invalidConfig : true ,
3019+ matcher : "200" ,
3020+ },
3021+ },
29643022 }
29653023
29663024 for _ , protocol := range enum .EnumValues [awstypes.ProtocolEnum ]() {
@@ -3100,6 +3158,30 @@ func TestAccELBV2TargetGroup_Instance_HealthCheck_path(t *testing.T) {
31003158 path : "/path" ,
31013159 },
31023160 },
3161+ awstypes .ProtocolEnumQuic : {
3162+ awstypes .ProtocolEnumHttp : {
3163+ path : "/path" ,
3164+ },
3165+ awstypes .ProtocolEnumHttps : {
3166+ path : "/path" ,
3167+ },
3168+ awstypes .ProtocolEnumTcp : {
3169+ invalidConfig : true ,
3170+ path : "/path" ,
3171+ },
3172+ },
3173+ awstypes .ProtocolEnumTcpQuic : {
3174+ awstypes .ProtocolEnumHttp : {
3175+ path : "/path" ,
3176+ },
3177+ awstypes .ProtocolEnumHttps : {
3178+ path : "/path" ,
3179+ },
3180+ awstypes .ProtocolEnumTcp : {
3181+ invalidConfig : true ,
3182+ path : "/path" ,
3183+ },
3184+ },
31033185 }
31043186
31053187 for _ , protocol := range enum .EnumValues [awstypes.ProtocolEnum ]() {
@@ -3250,6 +3332,34 @@ func TestAccELBV2TargetGroup_Instance_HealthCheck_matcherOutOfRange(t *testing.T
32503332 matcher : "600" ,
32513333 },
32523334 },
3335+ awstypes .ProtocolEnumQuic : {
3336+ awstypes .ProtocolEnumHttp : {
3337+ matcher : "600" ,
3338+ validRange : "200-599" ,
3339+ },
3340+ awstypes .ProtocolEnumHttps : {
3341+ matcher : "600" ,
3342+ validRange : "200-599" ,
3343+ },
3344+ awstypes .ProtocolEnumTcp : {
3345+ invalidConfig : true ,
3346+ matcher : "600" ,
3347+ },
3348+ },
3349+ awstypes .ProtocolEnumTcpQuic : {
3350+ awstypes .ProtocolEnumHttp : {
3351+ matcher : "600" ,
3352+ validRange : "200-599" ,
3353+ },
3354+ awstypes .ProtocolEnumHttps : {
3355+ matcher : "600" ,
3356+ validRange : "200-599" ,
3357+ },
3358+ awstypes .ProtocolEnumTcp : {
3359+ invalidConfig : true ,
3360+ matcher : "600" ,
3361+ },
3362+ },
32533363 }
32543364
32553365 for _ , protocol := range enum .EnumValues [awstypes.ProtocolEnum ]() {
@@ -3590,6 +3700,12 @@ func TestAccELBV2TargetGroup_Instance_protocolVersion(t *testing.T) {
35903700 awstypes .ProtocolEnumTcpUdp : {
35913701 validConfig : false ,
35923702 },
3703+ awstypes .ProtocolEnumQuic : {
3704+ validConfig : false ,
3705+ },
3706+ awstypes .ProtocolEnumTcpQuic : {
3707+ validConfig : false ,
3708+ },
35933709 }
35943710
35953711 for _ , protocol := range enum .EnumValues [awstypes.ProtocolEnum ]() { //nolint:paralleltest // false positive
@@ -3662,6 +3778,12 @@ func TestAccELBV2TargetGroup_Instance_protocolVersion_MigrateV0(t *testing.T) {
36623778 awstypes .ProtocolEnumTcpUdp : {
36633779 validConfig : false ,
36643780 },
3781+ awstypes .ProtocolEnumQuic : {
3782+ validConfig : false ,
3783+ },
3784+ awstypes .ProtocolEnumTcpQuic : {
3785+ validConfig : false ,
3786+ },
36653787 }
36663788
36673789 for _ , protocol := range enum .EnumValues [awstypes.ProtocolEnum ]() { //nolint:paralleltest // false positive
0 commit comments