Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

feat: add provided.al2 to runtime enum #1101

Closed
wants to merge 2 commits into from
Closed

feat: add provided.al2 to runtime enum #1101

wants to merge 2 commits into from

Conversation

shyim
Copy link

@shyim shyim commented Sep 19, 2024

I am trying to get PHP running in lambda and need provided.al2 as al2023 is not supported yet brefphp/bref#1856

working php lambda:

    const frontend = new sst.aws.Function('php', {
      handler: 'public/index.php',
      bundle: 'app',
      architecture: 'arm64',
      runtime: 'provided.al2',
      url: true,
      layers: [
        'arn:aws:lambda:eu-central-1:534081306603:layer:arm-php-84-fpm:8'
      ],
      link: [table],
      environment: {
        APP_ENV: 'prod',
        APP_DEBUG: '0',
        SHOPWARE_APP_NAME: 'SymfonyServerless',
        SHOPWARE_APP_SECRET: 'SymfonyServerless',
        DYNAMODB_TABLE_NAME: table.name,
      },
      skipHandlerWrapper: true
    });

@thdxr
Copy link
Contributor

thdxr commented Oct 18, 2024

we're in the middle of switching repos (unfortunately github is making this quite messy) - going to close this PR for now feel free to open again once we've moved over to sst/sst

@thdxr thdxr closed this Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants