File tree Expand file tree Collapse file tree 6 files changed +20
-14
lines changed Expand file tree Collapse file tree 6 files changed +20
-14
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -463,13 +463,14 @@ func MoveResourceStateRequest(in *tfprotov5.MoveResourceStateRequest) *tfprotov6
463
463
}
464
464
465
465
return & tfprotov6.MoveResourceStateRequest {
466
- SourcePrivate : in .SourcePrivate ,
467
- SourceProviderAddress : in .SourceProviderAddress ,
468
- SourceSchemaVersion : in .SourceSchemaVersion ,
469
- SourceState : RawState (in .SourceState ),
470
- SourceTypeName : in .SourceTypeName ,
471
- TargetTypeName : in .TargetTypeName ,
472
- SourceIdentity : RawState (in .SourceIdentity ),
466
+ SourcePrivate : in .SourcePrivate ,
467
+ SourceProviderAddress : in .SourceProviderAddress ,
468
+ SourceSchemaVersion : in .SourceSchemaVersion ,
469
+ SourceState : RawState (in .SourceState ),
470
+ SourceTypeName : in .SourceTypeName ,
471
+ TargetTypeName : in .TargetTypeName ,
472
+ SourceIdentity : RawState (in .SourceIdentity ),
473
+ SourceIdentitySchemaVersion : in .SourceIdentitySchemaVersion ,
473
474
}
474
475
}
475
476
Original file line number Diff line number Diff line change @@ -1360,6 +1360,7 @@ func TestMoveResourceStateRequest(t *testing.T) {
1360
1360
SourceIdentity : & tfprotov5.RawState {
1361
1361
JSON : testBytes ,
1362
1362
},
1363
+ SourceIdentitySchemaVersion : 1 ,
1363
1364
},
1364
1365
expected : & tfprotov6.MoveResourceStateRequest {
1365
1366
SourcePrivate : testBytes ,
@@ -1373,6 +1374,7 @@ func TestMoveResourceStateRequest(t *testing.T) {
1373
1374
SourceIdentity : & tfprotov6.RawState {
1374
1375
JSON : testBytes ,
1375
1376
},
1377
+ SourceIdentitySchemaVersion : 1 ,
1376
1378
},
1377
1379
},
1378
1380
}
Original file line number Diff line number Diff line change @@ -497,13 +497,14 @@ func MoveResourceStateRequest(in *tfprotov6.MoveResourceStateRequest) *tfprotov5
497
497
}
498
498
499
499
return & tfprotov5.MoveResourceStateRequest {
500
- SourcePrivate : in .SourcePrivate ,
501
- SourceProviderAddress : in .SourceProviderAddress ,
502
- SourceSchemaVersion : in .SourceSchemaVersion ,
503
- SourceState : RawState (in .SourceState ),
504
- SourceTypeName : in .SourceTypeName ,
505
- TargetTypeName : in .TargetTypeName ,
506
- SourceIdentity : RawState (in .SourceIdentity ),
500
+ SourcePrivate : in .SourcePrivate ,
501
+ SourceProviderAddress : in .SourceProviderAddress ,
502
+ SourceSchemaVersion : in .SourceSchemaVersion ,
503
+ SourceState : RawState (in .SourceState ),
504
+ SourceTypeName : in .SourceTypeName ,
505
+ TargetTypeName : in .TargetTypeName ,
506
+ SourceIdentity : RawState (in .SourceIdentity ),
507
+ SourceIdentitySchemaVersion : in .SourceIdentitySchemaVersion ,
507
508
}
508
509
}
509
510
Original file line number Diff line number Diff line change @@ -1501,6 +1501,7 @@ func TestMoveResourceStateRequest(t *testing.T) {
1501
1501
SourceIdentity : & tfprotov6.RawState {
1502
1502
JSON : testBytes ,
1503
1503
},
1504
+ SourceIdentitySchemaVersion : 1 ,
1504
1505
},
1505
1506
expected : & tfprotov5.MoveResourceStateRequest {
1506
1507
SourcePrivate : testBytes ,
@@ -1514,6 +1515,7 @@ func TestMoveResourceStateRequest(t *testing.T) {
1514
1515
SourceIdentity : & tfprotov5.RawState {
1515
1516
JSON : testBytes ,
1516
1517
},
1518
+ SourceIdentitySchemaVersion : 1 ,
1517
1519
},
1518
1520
},
1519
1521
}
You can’t perform that action at this time.
0 commit comments