Skip to content

deploy.js support Serverless redeployment #26

@alexcchan

Description

@alexcchan

What is the feature that you would like to see in the SDK? Please describe.

deploy.js only supports one-time initial deployment. It would nice if it also supported redeployment of updated code.

Is your feature request related to a problem? Please describe.

Running npm run serverless:deploy again creates an extra API key and fails with this Serverless REST API error:

(node:5585) UnhandledPromiseRejectionWarning: conflicting-servicename: Service with name "rtc-diagnostics" already exists with SID "ZS...".

Describe alternatives you've considered

It looks like the intention is for the app to be deleted before being deployed again. (Add to README.md?)

Additional context

As a point of comparison:

https://github.com/twilio/twilio-video-app-react#deploy-the-app-to-twilio

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions