lumigo-io / lambda-telemetry-shipper

Ship your AWS lambda telemetry anywhere. The no-code style.
Apache License 2.0
7 stars 1 forks source link

403 when trying to download the runtime #8

Open CynanX opened 1 year ago

CynanX commented 1 year ago

Hi,

Previously when working on this lambda I was advised for testing I can deploy it myself - which worked fine, thank you.

Just come to test a change and the deploy script now fails for me as I no longer seem to have access to download the Python runtime.

This:

aws s3 cp --quiet s3://lumigo-runtimes/python/python-runtime-38.zip runtime.zip

Now fails with:

fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

Thanks.

CynanX commented 11 months ago

Is this no longer supported? @saartochner

saartochner-lumigo commented 11 months ago

Hi, I'm sorry for the late answer and the missing files. Here's an alternative path to get this file: https://python-runtime-38.s3.us-west-2.amazonaws.com/python-runtime-38.zip

Hope that helps, Saar

CynanX commented 11 months ago

Thanks but...

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>R9DCN4NSZ6M60BVJ</RequestId>
<HostId>
rK580V3Qb4zVFmhg9e+Q2uLozVX4PlhKZF9t1cTA56QlntIApqgtgdGCZLMmxEyAFCyBIizxOw8=
</HostId>
</Error>

:(

saartochner-lumigo commented 11 months ago

I made it open for anyone with an AWS account (I.e. you should be logged in when you access it).

CynanX commented 11 months ago

Forgive, but if I'm logged into the AWS web console, or via the AWS CLI, I still cannot access this file.

saartochner-lumigo commented 11 months ago

@CynanX can you try now?

CynanX commented 11 months ago

That's working now, thanks.

Don't suppose there are any plans to upgrade to Python 3.12? Thanks.

saartochner-lumigo commented 11 months ago

Great!

I don't have a plan to upgrade, but I'm inviting you to do it yourself :) If you'll open the zip, you'll see that this is a simplified version of AWS' python runtime. You can create a similar simplified version for python3.12