dbt-labs / terraform-provider-dbtcloud

dbt Cloud Terraform Provider
https://registry.terraform.io/providers/dbt-labs/dbtcloud
MIT License
80 stars 18 forks source link

No docs for dbtCloud User #228

Closed LeoTheGriff closed 5 months ago

LeoTheGriff commented 6 months ago

Describe the bug

No docs for dbtCloud User. Implied existence in: https://registry.terraform.io/providers/dbt-labs/dbtcloud/latest/docs/resources/user_groups, specifically line user_id = dbtcloud_user.my_user.id

Error message

https://registry.terraform.io/providers/dbt-labs/dbtcloud/latest/docs/resources/user

Page Not Found
This documentation page doesn't exist for version 0.2.17 of the dbtcloud provider.

Not in guides when searching, only data sources

image

Resource configuration

NA

Expected behavior

Docs to exist

Config (please complete the following information):

Additional context

Add any other context about the problem here.

b-per commented 6 months ago

Thanks for raising this @LeoTheGriff

The issue here is with the docs. I will get them updated to:

user_id = data.dbtcloud_user.my_user.id

There is no resource today for dbtcloud_user just a datasource to get a User ID form their email.

There is already a feature request to handle users, but it is not trivial as dbt Cloud doesn't create users per-se, but only invites them.

LeoTheGriff commented 6 months ago

Thanks Benoit, that makes sense


From: Benoit Perigaud @.> Sent: Friday, December 22, 2023 3:12:32 PM To: dbt-labs/terraform-provider-dbtcloud @.> Cc: Leo Griffiths @.>; Mention @.> Subject: Re: [dbt-labs/terraform-provider-dbtcloud] No docs for dbtCloud User (Issue #228)

Thanks for raising this @LeoTheGriffhttps://www.google.com/url?q=https://github.com/LeoTheGriff&source=gmail-imap&ust=1703862754000000&usg=AOvVaw3lIzl5cfk3LDTL4sdr4Ja9

The issue here is with the docs. I will get them updated to:

user_id = data.dbtcloud_user.my_user.id

There is no resource today for dbtcloud_user just a datasource to get a User ID form their email.

There is already a feature requesthttps://www.google.com/url?q=https://github.com/dbt-labs/terraform-provider-dbtcloud/issues/202&source=gmail-imap&ust=1703862754000000&usg=AOvVaw3aTYmlv0CXlWe_jeZyVN16 to handle users, but it is not trivial as dbt Cloud doesn't create users per-se, but only invites them.

— Reply to this email directly, view it on GitHubhttps://www.google.com/url?q=https://github.com/dbt-labs/terraform-provider-dbtcloud/issues/228%23issuecomment-1867798251&source=gmail-imap&ust=1703862754000000&usg=AOvVaw0yFolufnw740Wd3Ldf1Y8j, or unsubscribehttps://www.google.com/url?q=https://github.com/notifications/unsubscribe-auth/ACGF7N6EOIJMI5AGYQX4AP3YKWPOBAVCNFSM6AAAAABA75FNJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXG44TQMRVGE&source=gmail-imap&ust=1703862754000000&usg=AOvVaw3lBaIP_5n0RdkusSC7jo4T. You are receiving this because you were mentioned.Message ID: @.***>