https://pulumi.com logo
#google-cloud
Title
# google-cloud
b

best-zebra-72130

03/05/2024, 8:57 AM
Importing a service account for GCP doesn’t work, although I’m following the documentation’s syntax.
Copy code
pulumi import gcp:serviceaccount/account:Account default projects/{{project_id}}/serviceAccounts/{{email}}
Getting this error:
Copy code
Diagnostics:
  pulumi:pulumi:Stack (<project-name>):
    error: preview failed

  gcp:serviceaccount:Account (<service-account-name>):
    error: Preview failed: Resource type 'gcp:serviceaccount/account:Account' not found.
b

brash-monkey-31522

03/05/2024, 10:10 PM
try
gcp:serviceaccount:Account
2 Views