I am trying to create an AppInstanceAdmin using the aws chime-sdk-identity CLI.
- I created an application instance using the command:
aws chime-sdk-identity create-app-instance. - I try to create an AppInstanceAdmin using the command:
aws chime-sdk-identity create-app-instance-admin --app-instance-arn <arn> --app-instance-admin-arn ?
And here's the problem. I can't create an admin instance because I need an admin account to do so.
My IAM user has the AdministratorAccess policy assigned.
I need AppInstanceAdmin to manage other accounts from my application. Now I am using a normal account, but I get an error 403 forbidden request when trying to create a channel for a messaging session.
CreateAppInstanceAdminhas a misleading name.It doesn't create an admin, it promotes a user/bot to admin.
The description for the
AppInstanceAdminArncould also be improved, as it incorrectly insinuates that you need to have the value from somewhere. I've provided feedback to the Chime team for its improvement.--app-instance-admin-arnis used to specify the ARN for the instance user / bot to be promoted.