How Can I Update a Deployed Connector SDK Connector?
Question
I have deployed my Connector SDK code. How can I update and redeploy my code?
Environment
Connector: Connector SDK
Answer
To update and redeploy your Connector SDK code, do the following:
- In your development environment, update the relevant
connector.py,requirements.txt, andconfiguration.jsonfiles as needed. - Test your changes locally. For more information, see our Test your custom connector documentation.
- Redeploy your connector to Fivetran. To learn more, see our Deploy your custom connector documentation.
- Unless you deployed the connector using the
--forceargument, which automatically answers "Yes" to all confirmation prompts, you are prompted to update the connection code and overwriteconfiguration.json. Type "Y" and press Enter for both prompts.
Once the deployment is complete, the new code is used in the next sync. If you are re-deploying a connector when the existing connection is in the middle of a sync, the running sync completes using the old code.