Closed varunchandak closed 4 years ago
I think you have two profiles on your ~/.aws/credentials
file, as you explain in your article Using AWS CLI with Cross Account Access . In this case, you can run dynamocli
passing the AWS_PROFILE
environment variable with the profile you want to use, for example: AWS_PROFILE=testaccount dynamocli erase users
.
okay, the AWS says to use AWS_DEFAULT_PROFILE
use a specific profile. I'll give a try using AWS_PROFILE
. Thanks
Okay, keep me updated :smile:.
I've followed the section Switch Roles (AWS CLI) on Tutorial: Delegate Access Across AWS Accounts Using IAM Roles and I was able to use the commands of
dynamocli
. What error are you getting?