I am creating some resources to work with QS and I need to give permissions to those services to this role, but after I signup to Quicksight using a Lambda function, this role ’ aws-quicksight-service-role-v0’ gets created only after you manually add the resources. how can i automate this process.
Hello @Tanaya
When setting up QuickSight, you have the option to choose between using a QuickSight-managed role (the default) or an existing IAM role. However since you are using lambda functions to sign up, I assume you are creating QuickSight account though → CreateAccountSubscription API
As documented in [+] create-account-subscription — AWS CLI 2.27.34 Command Reference
You can’t pass an existing IAM role to access other Amazon Web Services services using this API operation. To pass your existing IAM role to Amazon QuickSight, see Passing IAM roles to Amazon QuickSight in the Amazon QuickSight User Guide .
So there are no API calls which we can leverage to automate the process
1 Like