Skip to content

Commit 48e0f35

Browse files
fix type propagation
1 parent 42f324d commit 48e0f35

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/tfbridge/rawstate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ func RawStateComputeDelta(
488488
schemaMap: schemaMap,
489489
schemaInfos: schemaInfos,
490490
logger: log.TryGetLogger(ctx),
491+
schemaType: schemaType,
491492
}
492493
pv := resource.NewObjectProperty(outMap)
493494

pkg/tfbridge/rawstate_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ func Test_rawstate_delta_turnaround(t *testing.T) {
416416
"prop": {Name: "prop"},
417417
}
418418
}
419+
ih.schemaType = valueshim.FromHCtyType(cv.Type())
419420

420421
t.Logf("pv: %v", pv.String())
421422
t.Logf("cv: %v", cv.GoString())

0 commit comments

Comments
 (0)