New new topic: providers and invoke calls. I'm not...
# general
l
New new topic: providers and invoke calls. I'm not getting the expected caller ID back from this:
Copy code
const provider = new aws.Provider('x", { region: 'us-east-1', profile: 'assumed-role-in-acct-FOO'});
const identity = aws.getCallerIdentity({ provider: provider});
The returned
identity
is the one from the default provider. I expect to see a different arn, accountId and userId in there. Am I doing something wrong?