@@ -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,7 @@ 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",
2625
2640
"serviceRef": {
2626
2641
"name": "traffic-local",
2627
2642
"port": 80
@@ -2824,6 +2839,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
2824
2839
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/awesome/lb-with-class:80/status/targetGroupARN"
2825
2840
},
2826
2841
"targetType": "instance",
2842
+ "vpcId": "vpc-xxx",
2827
2843
"serviceRef": {
2828
2844
"name": "lb-with-class",
2829
2845
"port": 80
@@ -2992,6 +3008,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
2992
3008
},
2993
3009
"targetType":"ip",
2994
3010
"ipAddressType":"ipv4",
3011
+ "vpcId": "vpc-xxx",
2995
3012
"serviceRef":{
2996
3013
"name":"manual-sg-rule",
2997
3014
"port":80
@@ -3145,6 +3162,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3145
3162
},
3146
3163
"targetType":"ip",
3147
3164
"ipAddressType":"ipv4",
3165
+ "vpcId": "vpc-xxx",
3148
3166
"serviceRef":{
3149
3167
"name":"nlb-ip-svc-tls",
3150
3168
"port":80
@@ -3326,6 +3344,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3326
3344
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:80/status/targetGroupARN"
3327
3345
},
3328
3346
"targetType":"ip",
3347
+ "vpcId": "vpc-xxx",
3329
3348
"ipAddressType":"ipv4",
3330
3349
"serviceRef":{
3331
3350
"name":"nlb-ip-svc-tls",
@@ -3580,6 +3599,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3580
3599
},
3581
3600
"targetType":"ip",
3582
3601
"ipAddressType":"ipv4",
3602
+ "vpcId": "vpc-xxx",
3583
3603
"serviceRef":{
3584
3604
"name":"nlb-ip-svc",
3585
3605
"port":80
@@ -3624,6 +3644,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3624
3644
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc:83/status/targetGroupARN"
3625
3645
},
3626
3646
"targetType":"ip",
3647
+ "vpcId": "vpc-xxx",
3627
3648
"ipAddressType":"ipv4",
3628
3649
"serviceRef":{
3629
3650
"name":"nlb-ip-svc",
@@ -3917,6 +3938,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3917
3938
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:80/status/targetGroupARN"
3918
3939
},
3919
3940
"targetType":"ip",
3941
+ "vpcId": "vpc-xxx",
3920
3942
"ipAddressType":"ipv4",
3921
3943
"serviceRef":{
3922
3944
"name":"nlb-ip-svc-tls",
@@ -3958,6 +3980,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
3958
3980
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:83/status/targetGroupARN"
3959
3981
},
3960
3982
"targetType":"ip",
3983
+ "vpcId": "vpc-xxx",
3961
3984
"ipAddressType":"ipv4",
3962
3985
"serviceRef":{
3963
3986
"name":"nlb-ip-svc-tls",
@@ -4220,6 +4243,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4220
4243
},
4221
4244
"targetType":"instance",
4222
4245
"ipAddressType":"ipv4",
4246
+ "vpcId": "vpc-xxx",
4223
4247
"serviceRef":{
4224
4248
"name":"instance-mode",
4225
4249
"port":80
@@ -4262,6 +4286,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4262
4286
},
4263
4287
"targetType":"instance",
4264
4288
"ipAddressType":"ipv4",
4289
+ "vpcId": "vpc-xxx",
4265
4290
"serviceRef":{
4266
4291
"name":"instance-mode",
4267
4292
"port":83
@@ -4557,6 +4582,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4557
4582
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/app/traffic-local:80/status/targetGroupARN"
4558
4583
},
4559
4584
"targetType":"instance",
4585
+ "vpcId": "vpc-xxx",
4560
4586
"ipAddressType":"ipv4",
4561
4587
"serviceRef":{
4562
4588
"name":"traffic-local",
@@ -4605,6 +4631,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4605
4631
},
4606
4632
"targetType":"instance",
4607
4633
"ipAddressType":"ipv4",
4634
+ "vpcId": "vpc-xxx",
4608
4635
"serviceRef":{
4609
4636
"name":"traffic-local",
4610
4637
"port":83
@@ -4906,6 +4933,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4906
4933
},
4907
4934
"targetType":"instance",
4908
4935
"ipAddressType":"ipv4",
4936
+ "vpcId": "vpc-xxx",
4909
4937
"serviceRef":{
4910
4938
"name":"traffic-local",
4911
4939
"port":80
@@ -4953,6 +4981,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
4953
4981
},
4954
4982
"targetType":"instance",
4955
4983
"ipAddressType":"ipv4",
4984
+ "vpcId": "vpc-xxx",
4956
4985
"serviceRef":{
4957
4986
"name":"traffic-local",
4958
4987
"port":83
@@ -5135,6 +5164,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5135
5164
"$ref":"#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/nlb-ip-svc-tls:80/status/targetGroupARN"
5136
5165
},
5137
5166
"targetType":"ip",
5167
+ "vpcId": "vpc-xxx",
5138
5168
"ipAddressType":"ipv4",
5139
5169
"serviceRef":{
5140
5170
"name":"nlb-ip-svc-tls",
@@ -5275,6 +5305,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5275
5305
"spec": {
5276
5306
"targetType": "ip",
5277
5307
"ipAddressType":"ipv4",
5308
+ "vpcId": "vpc-xxx",
5278
5309
"targetGroupARN": {
5279
5310
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/ip-target:80/status/targetGroupARN"
5280
5311
},
@@ -5526,6 +5557,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5526
5557
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/traffic-local:80/status/targetGroupARN"
5527
5558
},
5528
5559
"targetType": "instance",
5560
+ "vpcId": "vpc-xxx",
5529
5561
"serviceRef": {
5530
5562
"name": "traffic-local",
5531
5563
"port": 80
@@ -5709,6 +5741,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5709
5741
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/traffic-local:80/status/targetGroupARN"
5710
5742
},
5711
5743
"targetType": "instance",
5744
+ "vpcId": "vpc-xxx",
5712
5745
"serviceRef": {
5713
5746
"name": "traffic-local",
5714
5747
"port": 80
@@ -5891,6 +5924,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
5891
5924
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/awesome/lb-with-class:80/status/targetGroupARN"
5892
5925
},
5893
5926
"targetType": "instance",
5927
+ "vpcId": "vpc-xxx",
5894
5928
"serviceRef": {
5895
5929
"name": "lb-with-class",
5896
5930
"port": 80
@@ -6085,6 +6119,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
6085
6119
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/manual-security-groups:80/status/targetGroupARN"
6086
6120
},
6087
6121
"targetType": "ip",
6122
+ "vpcId": "vpc-xxx",
6088
6123
"serviceRef": {
6089
6124
"name": "manual-security-groups",
6090
6125
"port": 80
@@ -6224,6 +6259,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
6224
6259
"$ref": "#/resources/AWS::ElasticLoadBalancingV2::TargetGroup/default/manual-security-groups:80/status/targetGroupARN"
6225
6260
},
6226
6261
"targetType": "ip",
6262
+ "vpcId": "vpc-xxx",
6227
6263
"serviceRef": {
6228
6264
"name": "manual-security-groups",
6229
6265
"port": 80
@@ -6252,7 +6288,7 @@ func Test_defaultModelBuilderTask_Build(t *testing.T) {
6252
6288
}
6253
6289
}
6254
6290
}
6255
- }
6291
+ }
6256
6292
}
6257
6293
}
6258
6294
` ,
0 commit comments