08/07/2022, 9:56 AM
Hello everyone! I am trying to get all the users who are members of a group by using this:
export function getUsers({ groupName }: GCPNamespaces) {
  const groupMembers = pulumi.output(
      group: groupName,
and I get this error:
error: Error: invocation of gcp:cloudidentity/getGroupMemberships:getGroupMemberships returned an error: invoking gcp:cloudidentity/getGroupMemberships:getGroupMemberships: 1 error occurred:
        * Error when reading or editing CloudIdentityGroupMemberships "": googleapi: Error 403: Your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the <|>. We recommend configuring the billing/quota_project setting in gcloud or using a service account through the auth/impersonate_service_account setting. For more information about service accounts and how to use them in your application, see <>. If you are getting this error with curl or similar tools, you may need to specify 'X-Goog-User-Project' HTTP header for quota and billing purposes. For more information regarding 'X-Goog-User-Project' header, please check <>.
        "@type": "<|>",
        "domain": "<|>",
        "metadata": {
          "consumer": "projects/764086051850",
          "service": "<|>"
Has anyone run into this and know how to solve it?