appleboy / lambda-action

GitHub Action for Deploying Lambda code to an existing function

Home Page:https://github.com/marketplace/actions/aws-lambda-deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ResourceNotReady: exceeded wait attempts

Jademalo opened this issue · comments

Not exactly sure why this error is occuring, no configuration has changed since my last deploy which was 2022/12/10.

Here's a link to the failing log - https://github.com/Jademalo/JadeBots/actions/runs/6699296964/job/18203172897#step:7:26

I will take it.

Thanks, I can confirm that updating the access from

      "Action": [
        "s3:PutObject",
        "iam:ListRoles",
        "lambda:UpdateFunctionCode",
        "lambda:CreateFunction",
        "lambda:UpdateFunctionConfiguration"
      ],

to

      "Action": [
        "s3:PutObject",
        "iam:ListRoles",
        "lambda:UpdateFunctionCode",
        "lambda:CreateFunction",
        "lambda:GetFunction",
        "lambda:UpdateFunctionConfiguration",
        "lambda:GetFunctionConfiguration"
      ],

has solved this issue. Apologies for the issue, I hadn't realised there had been a breaking change.

Thanks!