List Scaleway IAM Permission Sets
scaleway_iam_list_permission_setsList available Scaleway IAM permission sets with their scope types to prevent scope mismatch errors when creating policies.
Instructions
List every permission set Scaleway IAM policies can grant (e.g. ObjectStorageReadOnly, IAMPolicyManager). Each entry's scope_type is 'organization' or 'projects' - a single policy rule can only combine permission sets that share the SAME scope_type (mixing them fails with 'permission sets must be of the same scope type'); use separate rules for each scope_type instead. Call this BEFORE scaleway_iam_create_policy to confirm exact names and scope_types - guessing a name or assuming its scope produces an actionable-but-late 400/invalid_arguments error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_filter | No | Case-insensitive substring filter on permission set name, e.g. 'ObjectStorage' or 'IAM'. |