aws-cli
aws-cli copied to clipboard
aws servicecatalog accessLevelFilter issue
For some reason, aws servicecatalog doesn't take accessLevelFilter parameter from IAM. E.g. I have following described n IAM role:
{
"Effect": "Allow",
"Action": [
"servicecatalog:DescribeRecord",
"servicecatalog:ListRecordHistory",
"servicecatalog:ScanProvisionedProducts",
"servicecatalog:TerminateProvisionedProduct",
"servicecatalog:UpdateProvisionedProduct"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"servicecatalog:roleLevel": "self"
}
}
},
But if I am trying to run aws --region=us-east-1 servicecatalog scan-provisioned-products without --access-level-filter Key="Role",Value="self" keys on the instance with corresponding IAM role assigned, I'm getting following :
{
"ProvisionedProducts": []
}
Is this normal behavior or should I see all products launched by this role?
Since this is a service usage question and I don't know the answer offhand this question would probably be best addressed through either stack overflow or a support ticket.