https://pulumi.com logo
#getting-started
Title
# getting-started
f

famous-horse-71121

01/21/2024, 2:58 AM
getting this error message when trying to import
gcp:cloudidentity:Group
as follows:
Copy code
[nixos@nixos:~/modulus/modulus-spot-pulumi-project/gcp-infra]$ pulumi import gcp:cloudidentity/group:Group gcp-billing-admins groups/gcp-billing-admins@oxfx.com.au
Previewing import (dev)

View in Browser (Ctrl+O): <https://app.pulumi.com/oxfx-pty-ltd/gcp-infra/dev/previews/6601ae9d-9e17-40bb-89e3-34546490d397>

     Type                        Name                Plan       Info
     pulumi:pulumi:Stack         gcp-infra-dev                  1 error
 =   └─ gcp:cloudidentity:Group  gcp-billing-admins  import     1 error

Diagnostics:
  pulumi:pulumi:Stack (gcp-infra-dev):
    error: preview failed

  gcp:cloudidentity:Group (gcp-billing-admins):
    error: Preview failed: refreshing urn:pulumi:dev::gcp-infra::gcp:cloudidentity/group:Group::gcp-billing-admins: 1 error occurred:
        * Error when reading or editing CloudIdentityGroup "groups/gcp-billing-admins@oxfx.com.au": googleapi: Error 403: Your application is authenticating by using local Application Default Credentials. The <http://cloudidentity.googleapis.com|cloudidentity.googleapis.com> API requires a quota project, which is not set by default. To learn how to set your quota project, see <https://cloud.google.com/docs/authentication/adc-troubleshooting/user-creds> .
    Details:
    [
      {
        "@type": "<http://type.googleapis.com/google.rpc.ErrorInfo|type.googleapis.com/google.rpc.ErrorInfo>",
        "domain": "<http://googleapis.com|googleapis.com>",
        "metadata": {
          "consumer": "projects/764086051850",
          "service": "<http://cloudidentity.googleapis.com|cloudidentity.googleapis.com>"
        },
        "reason": "SERVICE_DISABLED"
      }
    ]
The thing is, my default project is already a quota project, and I've already set it as follows as per the article it gives... Can someone help me here?
2 Views