Graviton Time <https://64.media.tumblr.com/d8bd886...
# general
t
Do you already have an example of how to configure this? I’m tinkering but the docs are sparse.
t
Found this
the
architectures
field
t
yeah looks like that did it. I was trying to use a string as an architecture option but it wasn’t having it
Copy code
const functions = {
      graphql: new sst.Function(this, "graphql", {
        handler: 'src/lambda/graphql.main',
        environment: env,
        memorySize: 256,
        timeout: 30,
        architectures: [lambda.Architecture.ARM_64]
      }),

      web: new sst.Function(this, "web", {
        handler: 'src/lambda/web.main',
        environment: env,
        memorySize: 256,
        timeout: 30,
        architectures: [lambda.Architecture.ARM_64]
      }),

      worker: new sst.Function(this, "worker", {
        handler: 'src/lambda/worker.main',
        environment: env,
        memorySize: 256,
        timeout: 500,
        architectures: [lambda.Architecture.ARM_64]
      }),

      migrate: new sst.Function(this, "migrate", {
        handler: 'src/lambda/migrate.main',
        environment: env,
        memorySize: 512,
        timeout: 500,
        architectures: [lambda.Architecture.ARM_64]
      })
    };
seems to have worked ^
t
nicee gonna try it out on my stuff tonight