https://pulumi.com logo
#automation-api
Title
# automation-api
m

most-lighter-95902

03/16/2022, 6:00 PM
One more weird issue I’ve been stuck with: running
const { accountId: awsAccountId } = await aws.getCallerIdentity({})
in the
index.ts
of the Automation API program gives me the wrong account. The config value has
AWS_ACCESS_KEY_ID
and
AWS_SECRET_ACCESS_KEY
set correctly using client’s aws credentials, but the account id I’m receiving from the code is my own account id, not the client’s account id?