-3

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?

1
  • It's referring to the role attached to the AWS Lambda function, not your own permissions. Commented Nov 26 at 0:01

1 Answer 1

-1

Best
You can’t update the AWS Lambda function because the function’s execution role (or your IAM user/role) doesn’t have the required IAM permissions (such as lambda:UpdateFunctionCode, lambda:UpdateFunctionConfiguration, or related permissions on the execution role or attached resources).

New contributor
user31941698 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.