How to Create Tunnels for Different Accounts with `cloudflared`?
I'm trying to use cloudflared to create tunnels for different accounts.
I already have the first created for account "A". It's working fine.
Now, I want to create another tunnel for account "B". -
cloudflared tunnel create smn-dev
cloudflared tunnel create smn-dev
-
cloudflared tunnel list
cloudflared tunnel list
All is good.
Now, I try to add the DNS: -
cloudflared tunnel route dns [TUNNEL_ID] smn-dev
cloudflared tunnel route dns [TUNNEL_ID] smn-dev
When I do this, it adds the dns entry to the domain associated with my first tunnel on account "A" instead of account "B".
I can't find anyway of associating a tunnel to anything but the first account.
Perhaps it's because I just started this off all wrong. Is there a step by step guide to doing something like this? The docs really just seem to assume all your tunnels will be on the same zone and account.