diff --git a/internal/services/cognitive/cognitive_account_rai_policy_resource.go b/internal/services/cognitive/cognitive_account_rai_policy_resource.go index 8730cdb964ec..df95c1009a28 100644 --- a/internal/services/cognitive/cognitive_account_rai_policy_resource.go +++ b/internal/services/cognitive/cognitive_account_rai_policy_resource.go @@ -29,7 +29,7 @@ type AccountRaiPolicyContentFilter struct { } type AccountRaiPolicyCustomBlock struct { - Id string `tfschema:"id"` + Id string `tfschema:"rai_blocklist_id"` BlockEnabled bool `tfschema:"block_enabled"` Source string `tfschema:"source"` } @@ -104,7 +104,7 @@ func (r CognitiveAccountRaiPolicyResource) Arguments() map[string]*pluginsdk.Sch Optional: true, Elem: &pluginsdk.Resource{ Schema: map[string]*pluginsdk.Schema{ - "id": { + "rai_blocklist_id": { Type: pluginsdk.TypeString, Required: true, ValidateFunc: raiblocklists.ValidateRaiBlocklistID, diff --git a/website/docs/r/cognitive_account_rai_policy.html.markdown b/website/docs/r/cognitive_account_rai_policy.html.markdown index 275ddd68dfad..63da29c5ff2a 100644 --- a/website/docs/r/cognitive_account_rai_policy.html.markdown +++ b/website/docs/r/cognitive_account_rai_policy.html.markdown @@ -80,7 +80,7 @@ A `content_filter` block supports the following: A `custom_blocklist` block supports the following: -* `id` - (Required) The ARM resource ID of the custom blocklist. +* `rai_blocklist_id` - (Required) The ARM resource ID of the custom blocklist. * `block_enabled` - (Required) Whether the custom blocklist should block content. Possible values are `true` or `false`.