@@ -233,6 +233,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
233
233
},
234
234
"targetType":"ip",
235
235
"ipAddressType":"ipv4",
236
+ "vpcId": "vpc-xxx",
236
237
"serviceRef":{
237
238
"name":"nlb-ip-svc-tls",
238
239
"port":80
@@ -380,6 +381,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
380
381
},
381
382
"targetType":"ip",
382
383
"ipAddressType":"ipv4",
384
+ "vpcId": "vpc-xxx",
383
385
"serviceRef":{
384
386
"name":"nlb-ip-svc-tls",
385
387
"port":80
@@ -598,6 +600,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
598
600
},
599
601
"targetType":"ip",
600
602
"ipAddressType":"ipv4",
603
+ "vpcId": "vpc-xxx",
601
604
"serviceRef":{
602
605
"name":"nlb-ip-svc",
603
606
"port":80
@@ -664,6 +667,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
664
667
},
665
668
"targetType":"ip",
666
669
"ipAddressType":"ipv4",
670
+ "vpcId": "vpc-xxx",
667
671
"serviceRef":{
668
672
"name":"nlb-ip-svc",
669
673
"port":83
@@ -942,6 +946,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
942
946
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:80/status/targetGroupARN"
943
947
},
944
948
"targetType":"ip",
949
+ "vpcId": "vpc-xxx",
945
950
"ipAddressType":"ipv4",
946
951
"serviceRef":{
947
952
"name":"nlb-ip-svc-tls",
@@ -994,6 +999,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
994
999
},
995
1000
"targetType":"ip",
996
1001
"ipAddressType":"ipv4",
1002
+ "vpcId": "vpc-xxx",
997
1003
"serviceRef":{
998
1004
"name":"nlb-ip-svc-tls",
999
1005
"port":83
@@ -1276,6 +1282,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
1276
1282
},
1277
1283
"targetType":"instance",
1278
1284
"ipAddressType":"ipv4",
1285
+ "vpcId": "vpc-xxx",
1279
1286
"serviceRef":{
1280
1287
"name":"instance-mode",
1281
1288
"port":80
@@ -1317,6 +1324,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
1317
1324
},
1318
1325
"targetType":"instance",
1319
1326
"ipAddressType":"ipv4",
1327
+ "vpcId": "vpc-xxx",
1320
1328
"serviceRef":{
1321
1329
"name":"instance-mode",
1322
1330
"port":83
@@ -1554,6 +1562,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
1554
1562
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/app/traffic-local:80/status/targetGroupARN"
1555
1563
},
1556
1564
"targetType":"instance",
1565
+ "vpcId": "vpc-xxx",
1557
1566
"ipAddressType":"ipv4",
1558
1567
"serviceRef":{
1559
1568
"name":"traffic-local",
@@ -1626,6 +1635,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
1626
1635
},
1627
1636
"targetType":"instance",
1628
1637
"ipAddressType":"ipv4",
1638
+ "vpcId": "vpc-xxx",
1629
1639
"serviceRef":{
1630
1640
"name":"traffic-local",
1631
1641
"port":83
@@ -1815,6 +1825,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
1815
1825
},
1816
1826
"targetType":"ip",
1817
1827
"ipAddressType":"ipv4",
1828
+ "vpcId": "vpc-xxx",
1818
1829
"serviceRef":{
1819
1830
"name":"nlb-ip-svc-tls",
1820
1831
"port":80
@@ -1935,6 +1946,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
1935
1946
"spec": {
1936
1947
"targetType": "ip",
1937
1948
"ipAddressType":"ipv4",
1949
+ "vpcId": "vpc-xxx",
1938
1950
"targetGroupARN": {
1939
1951
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/ip-target:80/status/targetGroupARN"
1940
1952
},
@@ -2108,6 +2120,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
2108
2120
"spec": {
2109
2121
"targetType": "ip",
2110
2122
"ipAddressType":"ipv4",
2123
+ "vpcId": "vpc-xxx",
2111
2124
"targetGroupARN": {
2112
2125
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/default-ip-target:80/status/targetGroupARN"
2113
2126
},
@@ -2473,6 +2486,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
2473
2486
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/traffic-local:80/status/targetGroupARN"
2474
2487
},
2475
2488
"targetType": "instance",
2489
+ "vpcId": "vpc-xxx",
2476
2490
"serviceRef": {
2477
2491
"name": "traffic-local",
2478
2492
"port": 80
@@ -2622,6 +2636,8 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
2622
2636
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/traffic-local:80/status/targetGroupARN"
2623
2637
},
2624
2638
"targetType": "instance",
2639
+ "vpcId": "vpc-xxx",
2640
+ "vpcId": "vpc-xxx",
2625
2641
"serviceRef": {
2626
2642
"name": "traffic-local",
2627
2643
"port": 80
@@ -2824,6 +2840,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
2824
2840
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/awesome/lb-with-class:80/status/targetGroupARN"
2825
2841
},
2826
2842
"targetType": "instance",
2843
+ "vpcId": "vpc-xxx",
2827
2844
"serviceRef": {
2828
2845
"name": "lb-with-class",
2829
2846
"port": 80
@@ -2992,6 +3009,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
2992
3009
},
2993
3010
"targetType":"ip",
2994
3011
"ipAddressType":"ipv4",
3012
+ "vpcId": "vpc-xxx",
2995
3013
"serviceRef":{
2996
3014
"name":"manual-sg-rule",
2997
3015
"port":80
@@ -3145,6 +3163,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3145
3163
},
3146
3164
"targetType":"ip",
3147
3165
"ipAddressType":"ipv4",
3166
+ "vpcId": "vpc-xxx",
3148
3167
"serviceRef":{
3149
3168
"name":"nlb-ip-svc-tls",
3150
3169
"port":80
@@ -3326,6 +3345,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3326
3345
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:80/status/targetGroupARN"
3327
3346
},
3328
3347
"targetType":"ip",
3348
+ "vpcId": "vpc-xxx",
3329
3349
"ipAddressType":"ipv4",
3330
3350
"serviceRef":{
3331
3351
"name":"nlb-ip-svc-tls",
@@ -3580,6 +3600,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3580
3600
},
3581
3601
"targetType":"ip",
3582
3602
"ipAddressType":"ipv4",
3603
+ "vpcId": "vpc-xxx",
3583
3604
"serviceRef":{
3584
3605
"name":"nlb-ip-svc",
3585
3606
"port":80
@@ -3624,6 +3645,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3624
3645
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc:83/status/targetGroupARN"
3625
3646
},
3626
3647
"targetType":"ip",
3648
+ "vpcId": "vpc-xxx",
3627
3649
"ipAddressType":"ipv4",
3628
3650
"serviceRef":{
3629
3651
"name":"nlb-ip-svc",
@@ -3917,6 +3939,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3917
3939
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:80/status/targetGroupARN"
3918
3940
},
3919
3941
"targetType":"ip",
3942
+ "vpcId": "vpc-xxx",
3920
3943
"ipAddressType":"ipv4",
3921
3944
"serviceRef":{
3922
3945
"name":"nlb-ip-svc-tls",
@@ -3958,6 +3981,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3958
3981
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:83/status/targetGroupARN"
3959
3982
},
3960
3983
"targetType":"ip",
3984
+ "vpcId": "vpc-xxx",
3961
3985
"ipAddressType":"ipv4",
3962
3986
"serviceRef":{
3963
3987
"name":"nlb-ip-svc-tls",
@@ -4220,6 +4244,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4220
4244
},
4221
4245
"targetType":"instance",
4222
4246
"ipAddressType":"ipv4",
4247
+ "vpcId": "vpc-xxx",
4223
4248
"serviceRef":{
4224
4249
"name":"instance-mode",
4225
4250
"port":80
@@ -4262,6 +4287,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4262
4287
},
4263
4288
"targetType":"instance",
4264
4289
"ipAddressType":"ipv4",
4290
+ "vpcId": "vpc-xxx",
4265
4291
"serviceRef":{
4266
4292
"name":"instance-mode",
4267
4293
"port":83
@@ -4557,6 +4583,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4557
4583
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/app/traffic-local:80/status/targetGroupARN"
4558
4584
},
4559
4585
"targetType":"instance",
4586
+ "vpcId": "vpc-xxx",
4560
4587
"ipAddressType":"ipv4",
4561
4588
"serviceRef":{
4562
4589
"name":"traffic-local",
@@ -4605,6 +4632,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4605
4632
},
4606
4633
"targetType":"instance",
4607
4634
"ipAddressType":"ipv4",
4635
+ "vpcId": "vpc-xxx",
4608
4636
"serviceRef":{
4609
4637
"name":"traffic-local",
4610
4638
"port":83
@@ -4906,6 +4934,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4906
4934
},
4907
4935
"targetType":"instance",
4908
4936
"ipAddressType":"ipv4",
4937
+ "vpcId": "vpc-xxx",
4909
4938
"serviceRef":{
4910
4939
"name":"traffic-local",
4911
4940
"port":80
@@ -4953,6 +4982,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4953
4982
},
4954
4983
"targetType":"instance",
4955
4984
"ipAddressType":"ipv4",
4985
+ "vpcId": "vpc-xxx",
4956
4986
"serviceRef":{
4957
4987
"name":"traffic-local",
4958
4988
"port":83
@@ -5135,6 +5165,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5135
5165
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:80/status/targetGroupARN"
5136
5166
},
5137
5167
"targetType":"ip",
5168
+ "vpcId": "vpc-xxx",
5138
5169
"ipAddressType":"ipv4",
5139
5170
"serviceRef":{
5140
5171
"name":"nlb-ip-svc-tls",
@@ -5275,6 +5306,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5275
5306
"spec": {
5276
5307
"targetType": "ip",
5277
5308
"ipAddressType":"ipv4",
5309
+ "vpcId": "vpc-xxx",
5278
5310
"targetGroupARN": {
5279
5311
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/ip-target:80/status/targetGroupARN"
5280
5312
},
@@ -5526,6 +5558,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5526
5558
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/traffic-local:80/status/targetGroupARN"
5527
5559
},
5528
5560
"targetType": "instance",
5561
+ "vpcId": "vpc-xxx",
5529
5562
"serviceRef": {
5530
5563
"name": "traffic-local",
5531
5564
"port": 80
@@ -5709,6 +5742,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5709
5742
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/traffic-local:80/status/targetGroupARN"
5710
5743
},
5711
5744
"targetType": "instance",
5745
+ "vpcId": "vpc-xxx",
5712
5746
"serviceRef": {
5713
5747
"name": "traffic-local",
5714
5748
"port": 80
@@ -5891,6 +5925,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5891
5925
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/awesome/lb-with-class:80/status/targetGroupARN"
5892
5926
},
5893
5927
"targetType": "instance",
5928
+ "vpcId": "vpc-xxx",
5894
5929
"serviceRef": {
5895
5930
"name": "lb-with-class",
5896
5931
"port": 80
@@ -6085,6 +6120,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
6085
6120
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/manual-security-groups:80/status/targetGroupARN"
6086
6121
},
6087
6122
"targetType": "ip",
6123
+ "vpcId": "vpc-xxx",
6088
6124
"serviceRef": {
6089
6125
"name": "manual-security-groups",
6090
6126
"port": 80
@@ -6224,6 +6260,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
6224
6260
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/manual-security-groups:80/status/targetGroupARN"
6225
6261
},
6226
6262
"targetType": "ip",
6263
+ "vpcId": "vpc-xxx",
6227
6264
"serviceRef": {
6228
6265
"name": "manual-security-groups",
6229
6266
"port": 80
@@ -6252,7 +6289,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
6252
6289
}
6253
6290
}
6254
6291
}
6255
- }
6292
+ }
6256
6293
}
6257
6294
}
6258
6295
` ,
0 commit comments