Open
Description
Background:
I have 3 Twilio accounts setup (Staging/Pre-Prod/Prod) and I am attempting to deploy a function into all three environments.
Issue:
I am seeing the following error when attempting to deploy a function to a Twilio account that is different to the details specified in the .twilio_functions
file:
✖ Failed Deployment
│ ERROR Failed API Request 20404
│
│ The requested resource /Services/ZS7b2bbccc6ccd5493c67661868ce2e29a/Environments was not found
│
│ More info: https://www.twilio.com/docs/errors/20404
If the .twilio_functions
file is empty and I deploy my function to Staging then it deploys successfully, creates the environment and amends the .twilio_functions
file. If I then attempt to deploy the function to Pre-Prod it attempts to use the environment now stored in .twilio_functions
which does not exist.
Is there any guidance on this? Thanks
Metadata
Metadata
Assignees
Labels
No labels