From 1feb82c55952e8f7c1a6175b6359657aa9c614ec Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Thu, 25 Nov 2021 12:47:14 +0000 Subject: [PATCH] azuread_conditional_access_policy: document conditional forcenew for devices block --- docs/resources/conditional_access_policy.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/resources/conditional_access_policy.md b/docs/resources/conditional_access_policy.md index 0a173e1b7b..a6ca6f02a0 100644 --- a/docs/resources/conditional_access_policy.md +++ b/docs/resources/conditional_access_policy.md @@ -32,7 +32,7 @@ resource "azuread_conditional_access_policy" "example" { } devices { - device_filter { + filter { mode = "exclude" rule = "device.operatingSystem eq \"Doors\"" } @@ -113,11 +113,11 @@ The following arguments are supported: `devices` block supports the following: -* `device_filter` - (Optional) A `device_filter` block as described below. +* `filter` - (Optional) A `filter` block as described below. A `device` block can be added to an existing policy, but removing the `device` block forces a new resource to be created. --- -`device_filter` block supports the following: +`filter` block supports the following: * `mode` - (Required) Whether to include in, or exclude from, matching devices from the policy. Supported values are `include` or `exclude`. * `rule` - (Required) Condition filter to match devices. For more information, see [official documentation](https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-condition-filters-for-devices#supported-operators-and-device-properties-for-filters).