TomTom
CDCloudflare Developers
•Created by TomTom on 2/6/2024 in #workers-help
Move worker under different Cloudflare account
I need to transfer a preconfigured worker under another Cloudflare account. Is this possible?
My use case is that I develop the worker that I later pass to customers. I would like to do this as fluent as possible for customers so they do not have to do anything on their side just start using the worker. So far I send them the source code that customers deploy using wrangler and there is a lot of room for error.
I was thinking about few options I have with Cloudflare.
1. I create a worker under Cloudflare account, invite customer as Super administrator and later the customer removes me from the list of members. The issue here is that I do not know how to create second account or do it using CLI since I want to make the whole process automatic.
2. Customer invites me as a member into their Account and gives me privileges to deploy under their account. In this scenario I do not know how to switch to a different account and deploy there.
Could you please help me in either scenario or point me to resources that could help me? Thanks in advance.
3 replies