diff --git a/controllers/awsmachine_controller.go b/controllers/awsmachine_controller.go index bf3e0a8e2c..b301115f95 100644 --- a/controllers/awsmachine_controller.go +++ b/controllers/awsmachine_controller.go @@ -803,7 +803,7 @@ func (r *AWSMachineReconciler) deleteIgnitionBootstrapDataFromS3(machineScope *s } _, userDataFormat, err := machineScope.GetRawBootstrapDataWithFormat() - if err != nil { + if err != nil && !apierrors.IsNotFound(err) { r.Recorder.Eventf(machineScope.AWSMachine, corev1.EventTypeWarning, "FailedGetBootstrapData", err.Error()) return err }