Skip to content

Plugin destroys deployments with provider.runtime other than python. #741

@mklenbw

Description

@mklenbw

Are you certain it's a bug?

  • Yes, it looks like a bug

Are you using the latest plugin release?

  • Yes, I'm using the latest plugin release

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Issue description

If runtime in provider section is set to something not python (nodejs16.x) it will break the whole deployment.

Source:
index.js

40:  pythonBin:
41:     process.platform === 'win32'
42:       ? 'python.exe'
43:       : this.serverless.service.provider.runtime || 'python',

Service configuration (serverless.yml) content

N/A

Command name and used flags

serverless package

Command output

Error: spawn nodejs16.x ENOENT

Environment information

Environment: linux, node 16.13.0, framework 3.17.0, plugin 6.2.2, SDK 4.3.2

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