From e12a916fd18c02e0f484827fc1922b4052935383 Mon Sep 17 00:00:00 2001 From: Jules Casteran Date: Thu, 27 Feb 2025 15:19:29 +0100 Subject: [PATCH] docs(iam_policy): move condition to rule block --- docs/resources/iam_policy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/resources/iam_policy.md b/docs/resources/iam_policy.md index 16f7a15dd7..0f3eacdd64 100644 --- a/docs/resources/iam_policy.md +++ b/docs/resources/iam_policy.md @@ -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 @@ -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