I've created a function that has been working using Python 3.9 but I want to update to Python 3.14.
I've logged into AWS using the "root" account but when I try to update the function's runtime it gives me the following error:
Failed to update the function HomeAssistantFunc: The function's execution role doesn't have permission to perform this operation.
Why is it looking at the function's execution role when I'm logged in as the root user attempting to update the function?