@@ -1365,7 +1365,8 @@ func (p *Provider) Create(ctx context.Context, req *pulumirpc.CreateRequest) (*p
13651365 }
13661366
13671367 if p .info .RawStateDeltaEnabled () {
1368- if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , newstate ); err != nil {
1368+ s := res .TF .SchemaType ()
1369+ if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , s , newstate ); err != nil {
13691370 return nil , err
13701371 }
13711372 }
@@ -1515,7 +1516,8 @@ func (p *Provider) Read(ctx context.Context, req *pulumirpc.ReadRequest) (*pulum
15151516 }
15161517
15171518 if p .info .RawStateDeltaEnabled () {
1518- err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , newstate )
1519+ s := res .TF .SchemaType ()
1520+ err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , s , newstate )
15191521 if err != nil {
15201522 return nil , err
15211523 }
@@ -1744,7 +1746,8 @@ func (p *Provider) Update(ctx context.Context, req *pulumirpc.UpdateRequest) (*p
17441746 }
17451747
17461748 if p .info .RawStateDeltaEnabled () {
1747- if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , newstate ); err != nil {
1749+ s := res .TF .SchemaType ()
1750+ if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , s , newstate ); err != nil {
17481751 return nil , err
17491752 }
17501753 }
0 commit comments