@@ -1371,7 +1371,8 @@ func (p *Provider) Create(ctx context.Context, req *pulumirpc.CreateRequest) (*p
13711371 }
13721372
13731373 if p .info .RawStateDeltaEnabled () {
1374- if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , newstate ); err != nil {
1374+ s := res .TF .SchemaType ()
1375+ if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , s , newstate ); err != nil {
13751376 return nil , err
13761377 }
13771378 }
@@ -1521,7 +1522,8 @@ func (p *Provider) Read(ctx context.Context, req *pulumirpc.ReadRequest) (*pulum
15211522 }
15221523
15231524 if p .info .RawStateDeltaEnabled () {
1524- err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , newstate )
1525+ s := res .TF .SchemaType ()
1526+ err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , s , newstate )
15251527 if err != nil {
15261528 return nil , err
15271529 }
@@ -1750,7 +1752,8 @@ func (p *Provider) Update(ctx context.Context, req *pulumirpc.UpdateRequest) (*p
17501752 }
17511753
17521754 if p .info .RawStateDeltaEnabled () {
1753- if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , newstate ); err != nil {
1755+ s := res .TF .SchemaType ()
1756+ if err := RawStateInjectDelta (ctx , res .TF .Schema (), res .Schema .Fields , props , s , newstate ); err != nil {
17541757 return nil , err
17551758 }
17561759 }
0 commit comments