Skip to content

Issues with Node version for custom resources #130

@mnapoli

Description

@mnapoli

See #128 and brefphp/bref#2034

Reproducing with (to force the Node version for custom resources):

service: tmp-test

provider:
    name: aws
    region: us-east-1
    runtime: nodejs16.x
    deploymentMethod: direct

functions:
    resize:
        handler: resize.handler
        events:
            - s3:
                bucket: !Ref TmpBucket
                forceDeploy: true
                event: s3:ObjectCreated:*
                existing: true
                rules:
                    -   prefix: photos/original

resources:
    Resources:
        TmpBucket:
            Type: AWS::S3::Bucket

If I change the version to nodejs18.x then the deployment works.

I believe #114 will help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions