diff --git a/controllers/awsmachine_controller.go b/controllers/awsmachine_controller.go index b293eedbb0..3a0f97b21a 100644 --- a/controllers/awsmachine_controller.go +++ b/controllers/awsmachine_controller.go @@ -763,7 +763,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 }