-
Notifications
You must be signed in to change notification settings - Fork 34
Support for content filters #28
Comments
hello @dkmiller , Looking at the terraform-azurerm-openai/main.tf Lines 74 to 89 in 8ba0434
We could implement a PR to configure the Please let me know if you are you interested in proposing a PR for supporting this argument ? Your proposal for custom policies requires the implementation of a new resource Thank you |
Hi @zioproto, this module already supports Thanks for the heads-up, I'll open an issue in the repository you linked. |
@zioproto done here: hashicorp/terraform-provider-azurerm#22822. Should I close this out? |
You are right ! I missed this line when reading the code: terraform-azurerm-openai/main.tf Line 79 in 8ba0434
|
I understand you want to introduce some changes in this Terraform module once the provider eventually supports the new resource |
@zioproto I don't believe any changes will be needed here once the provider supports |
Thanks for clarifying. I think you we close this Issue then. Thank you |
Is there an existing issue for this?
Description
Azure OpenAI has introduced the ability to configure content filters (How to configure content filters with Azure OpenAI Service).
Terraform already supports specifying a custom policy name via
rai_policy_name
. However, it does not appear that Terraform currently supports creating custom policies.The underlying REST call made to create a new content filter is looks like below.
with a body like
New or Affected Resource(s)/Data Source(s)
azurerm_cognitive_rai_policy
Potential Terraform Configuration
References
RBAC docs for
Microsoft.CognitiveServices/accounts/raiPolicies/*
: https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operationsThe text was updated successfully, but these errors were encountered: