Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

The GET /v2/clusters/{id}/users endpoint does not return all database user fields. #10

Open
jamesrwilkinson opened this issue Feb 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jamesrwilkinson
Copy link
Contributor

The response body from a successful GET /v2/clusters/{id}/users request does not return all the fields required to create a database user. The all_bucket_access field is not returned, so in order to check if that user has access to all buckets, we would have to iterate through all buckets and check that they exist.

The terraform provider can't set access in resourceCouchbaseCapellaDatabaseUserRead. The terraform state file will be out of sync with the infrastructure in Capella upon any changes to bucket access.

@jamesrwilkinson jamesrwilkinson added the enhancement New feature or request label Feb 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant