sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.12k stars 136 forks source link

Cron not applying lambda architecture arm64 #332

Open dev2xl opened 2 months ago

dev2xl commented 2 months ago

I have created a Cron with the following code:

new sst.aws.Cron("CronTest", {
      job: {
        handler: "src/cron/test.handler",
        runtime: "nodejs20.x",
        memory: "256 MB",
        timeout: "10 minutes",
        architecture: "arm64",
      },
      schedule: "rate(1 minute)",
    });

The lambda function ends having 256MB, 10 minutes timeout but the architecture is x86 instead of arm64. I tried multiple times, sst deploy, sst dev and always create the lambda with x86.

jayair commented 2 months ago

Can you create a repo app with just this component and reproduce the issue?