QuickSight subscription and automatic QuickSight Service Role creation

Hi, Can anyone help me out?

I try to subscribe QuickSight account via Terraform and i can’t found a way how to give QuickSight access to AWS services with terraform.

I tried to create aws-quicksight-service-role-v0 role with “aws_iam_role” recource via terraform and i give it right policys to use those aws services i need, but that not worked.

So is there any way to create aws-quicksight-service-role-v0 role thru terraform? if not i dont see how i can automated quicksight deployment if i can’t give Quicksight right permissions to see our data sources from our aws account.

I know that i can login Quicksight console and give those rights from there after terraform created QS subscription but it breaks the idea of automation

any ideas?