cloudquery sync rep.yaml bq.yaml
Loading spec(s) from rep.yaml, bq.yaml
Error: failed to get plugin url for source cloudquery/postgresql@v4.0.0: unexpected status code 500
Your current team is not set.
Teams available to you:
To set your current team, run `cloudquery switch <team>`
CLI successfully authenticated.
then when I run my sync I get:
cloudquery sync rep.yaml bq.yaml
Loading spec(s) from rep.yaml, bq.yaml
Error: failed to sync v3 source postgresql: rpc error: code = Internal desc = failed to init plugin: failed to initialize client: failed to initialize usage client: failed to get team name from config: failed to read config file: open /Users/anthonydoran/Library/Application Support/cloudquery/config.json: no such file or directory
Interesting… I will look into that and get back to you.
The issue here that you have found is that upon initial login, there is no team that users are a part of. We are currently working on fixing this issue, but in the meantime, you can go to https://cloud.cloudquery.io/onboarding/create-team to create a team, which will then enable you to use the PostgreSQL source plugin.