From 5b1ae0d0d41b566e84086217a25625617d54e53b Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Tue, 26 Dec 2023 17:58:53 +0300 Subject: [PATCH] Set RawConfig on the diff state Signed-off-by: Alper Rifat Ulucinar --- pkg/controller/external_nofork.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controller/external_nofork.go b/pkg/controller/external_nofork.go index 0e7496dd..be4e40a8 100644 --- a/pkg/controller/external_nofork.go +++ b/pkg/controller/external_nofork.go @@ -486,6 +486,7 @@ func (n *noForkExternal) Observe(ctx context.Context, mg xpresource.Managed) (ma } stateValueMap = jsonMap newState.RawPlan = stateValue + newState.RawConfig = n.rawConfig diffState = newState } else if diffState != nil { diffState.Attributes = nil