Open tylercd100 opened 4 years ago
Getting the same. Seems like the last publish might have messed with the image permissions?
Hi, thanks for reporting. We are unsure why this happens, it seems that something on AWS side has changed as this project hasn't been touched for a while. We hope that we will come up with a solution soon! In the meantime, you can build the layer yourself so you don't need to rely on our provided layer.
Hi @plukevdh and @tylercd100 ,
we investigated the issue and it seems that the AWS API does not grant permissions for this command anymore for accounts outside our own AWS account. Therefore, we updated the README. To get an up-to-date list of the latest layer version in each region, please have a look at the Travis CI build log. For R 3.6.0, the latest version is usually
arn:aws:lambda:$region:131329294410:layer:r-runtime-3_6_0:13
. Sorry for the troubles
Hi,
Just hit this issue, made worse by the fact that i am using serverless framework which seems to require the permission to use the layer at all.
Looking at the docs, it seems possible to make available for all AWS accounts though ...
To grant permission to all AWS accounts, use * for the principal, and omit the organization ID. For multiple accounts or organizations, add multiple statements.
Might be worth looking into, longer term i think i should prob copy the layer into my own account but if you could look into the above it would be massively helpful in the short term.
Thanks, Ed
Hi @ed-sparkes , you can still use our layer (see my comment or the README). You just can't list the versions and thus easily find out which is the latest one.
Unfortunately the way serverless.com implements layers it seems to need a call to list versions and i am using that as my framework for my serverless project
When trying to run:
I get this error
Did something change recently? I have been able to run this before without any issue.