https://pulumi.com logo
#general
Title
# general
f

faint-motherboard-95438

12/04/2018, 11:20 AM
this error is not really helpful :
Copy code
error: Error: Invoke of 'gcp:serviceAccount/getAccount:getAccount' failed: undefined (undefined)
        at Object.<anonymous> ([...]/node_modules/@pulumi/pulumi/runtime/invoke.js:82:23)
        at Generator.next (<anonymous>)
        at fulfilled ([...]/node_modules/@pulumi/pulumi/runtime/invoke.js:17:58)
coming from :
const account = gcp.serviceAccount.getAccount({ accountId: '[account_id]' })
I followed the function declaration from
getAccount.d.ts
, I’m missing something here