diff --git a/pkg/controller/external_tfpluginfw.go b/pkg/controller/external_tfpluginfw.go index 61785af0..cf5b6971 100644 --- a/pkg/controller/external_tfpluginfw.go +++ b/pkg/controller/external_tfpluginfw.go @@ -279,7 +279,7 @@ func (n *terraformPluginFrameworkExternalClient) getDiffPlanResponse(ctx context // parametrizable attributes. filteredDiff := make([]tftypes.ValueDiff, 0) for _, diff := range rawDiff { - if diff.Value1.IsKnown() && !diff.Value1.IsNull() { + if diff.Value1 != nil && diff.Value1.IsKnown() && !diff.Value1.IsNull() { filteredDiff = append(filteredDiff, diff) } }