Skip to content

docs(iam_policy): move condition to rule block #2945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/resources/iam_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ The following arguments are supported:

- `name` - (Optional) The name of the IAM policy.
- `description` - (Optional) The description of the IAM policy.
- `condition` - (Optional) The condition of the IAM policy.
- `tags` - (Optional) The tags associated with the IAM policy.
- `organization_id` - (Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the organization the policy is associated with.
- `user_id` - ID of the user the policy will be linked to
Expand All @@ -135,11 +134,12 @@ The following arguments are supported:
~> **Important** One `organization_id` or `project_ids` must be set per rule.

- `permission_set_names` - Names of permission sets bind to the rule.
- `condition` - (Optional) The condition of the rule.

**_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:

```shell
scw IAM permission-set list
scw iam permission-set list
```

## Attributes Reference
Expand Down
Loading