Skip to content

Commit 6759c91

Browse files
authored
docs(iam_policy): move condition to rule block (#2945)
1 parent 7a229e6 commit 6759c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/resources/iam_policy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ The following arguments are supported:
117117

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

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

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

141141
```shell
142-
scw IAM permission-set list
142+
scw iam permission-set list
143143
```
144144

145145
## Attributes Reference

0 commit comments

Comments
 (0)