check if aws command run successfully, and retry
execute_command_with_retry(
function_name,
function_image_url,
cred,
current_lambda_instance,
max_retries = 3,
sleep_seconds = 5
)a logical value
a string for the function name
a string for FaaSr container image uri
a list form of the credentials
a list form of current Lambda server information: id, keys, region
a integer for the number of maximum tries
a integer for the time for sleep between retries