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, dependency file (requirements.txtorpyproject.toml), 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.
- If the connection already exists, confirm the overwrite prompt. If you use
--yeswithfivetran deploy, the CLI automatically answersYesto that confirmation prompt.--non-interactiveuses the default answer for eachy/nprompt.
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.