One more weird issue I’ve been stuck with: running...
# automation-api
m
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?