- Newest
- Most votes
- Most comments
Based on the available information, the "UseAs" parameter for Amazon QuickSight datasets currently has a valid value of "RLS_RULES" (Row-Level Security Rules). This parameter indicates the usage purpose of the dataset.
You're correct that there are limitations in how this parameter can be set and managed through infrastructure as code. The current AWS CLI and API documentation doesn't show support for setting or updating the "UseAs" attribute through the update-data-set command. The CreateDataSet API operation example provided doesn't explicitly show how to set this parameter either.
For customers heavily relying on Terraform for infrastructure management, this presents a challenge since the Terraform AWS provider doesn't currently support the UseAs attribute for QuickSight datasets, as you mentioned.
As for workarounds, you might consider:
-
Using a hybrid approach where most of the dataset configuration is managed through Terraform, but the specific "UseAs" attribute is set manually or through custom scripts using the AWS CLI or SDK after the initial creation.
-
Creating custom scripts that use the AWS SDK to create datasets with the required "UseAs" attribute, which can be integrated into your deployment pipeline.
-
Using AWS CloudFormation with custom resources that can invoke Lambda functions to set these specific attributes that aren't directly supported.
Unfortunately, I don't have information about the roadmap for supporting this feature in Terraform or future AWS API enhancements. I would recommend continuing to follow the GitHub issue you referenced and reaching out to AWS Support for more specific guidance on the roadmap for this feature.
Sources
DataSet - Amazon Quick Sight
DataSetSummary - Amazon Quick Sight
CreateDataSet - Amazon Quick Sight
answered 10 months ago
Relevant content
- AWS OFFICIALUpdated 3 months ago
