RLS_RULES enabled Dataset deployment failing with error using cli-input-json with "UseAs": "RLS_RULES" property added

Hi Team,

We are trying to deploy a RLS enabled dataset via aws quicksight cli command (aws quicksight create-data-set --cli-input-json “file://$DefinitionPath”).

this was working fine until recently we added the “UseAs”: “RLS_RULES” property to the json file as per new quicksight requirements.

The error says -
arn:aws:quicksight:us-west-2:904191536080:dataset/EBB_Usergroup_Permission_Dataset_qa_mt - is not found

No dataset found

Creating data set EBB_Usergroup_Permission_Dataset_qa_mt

Parameter validation failed:
Unknown parameter in input: “UseAs”, must be one of: AwsAccountId,DataSetId, Name, PhysicalTableMap, LogicalTableMap, ImportMode,ColumnGroups, FieldFolders, Permissions, RowLevelPermissionDataSet,RowLevelPermissionTagConfiguration, ColumnLevelPermissionRules, Tags,DataSetUsageConfiguration, DatasetParameters, FolderArns

and to add here, the deployment works fine when we try to deploy from local laptop to qa env, whereas it doesn’t work with gitlab deployment pipeline. Just wondering is it something related to aws cli version on the local vs gitlab runner?

local aws cli version - aws-cli/2.25.12 Python/3.12.9 Windows/11 exe/AMD64
gitlab runner aws cli version - aws-cli/2.18.10 Python/3.12.6 Linux

Hello @sandeepagrawal921

Would you be able to share the code snippet where that error is coming from?

Hey this is resolved after upgrading the aws cli version in the gitlab runner. thanks a lot for having a look into it

2 Likes