Hi everyone,
I created a QuickSight Topic using CloudFormation, but I’m struggling to assign permissions to it during the deployment.
Here’s what I tried:
- Created the Topic using AWS CDK with
CfnInclude
and a JSON template. - Attempted to add
Permissions
to the Topic in the CloudFormation template, similar to other QuickSight resources (like Analysis or Dashboard), but got the following error:
Properties validation failed for resource <my-topic-resource> with message: [#: extraneous key [Permissions] is not permitted]
I had to manually add permissions later using the CLI:
aws quicksight update-topic-permissions --aws-account-id <account-id> --topic-id <topic-id> --grant-permissions ...
Question:
- Is there a way to assign permissions to a QuickSight Topic directly during its creation using CloudFormation?
- If not, what is the best way to automate permission assignments for a Topic after creation?
Any advice is greatly appreciated!