Azure / Azure/bicep-registry-modules

[AVM Module Issue]: Cognitive Service Account - custom RAI policy support

Open
#6,642 6 comments 0 reactions 3 assignees Claimed by @chanakanissanka View on GitHub
Class: Resource Module :package: Type: AVM :a: :v: :m: Type: Bug :bug:
Dominant language
Bicep
Stars
737
Forks
564
Avg merge
3d 15h
Merged PRs (30d)
30

Description

### Check for previous/existing GitHub issues

- [x] I have checked for previous/existing GitHub issues

### Issue Type?

Bug

### Module Name

avm/res/cognitive-services/account

### (Optional) Module Version

0.14.1

### Description

The Cognitive Service Account module currently supports only predefined RAI policies via `deployments.raiPolicyName`. Using a custom RAI policy is currently not possible because the RAI policy depends on the Cognitive Service Account resource.

**Expected behavior**

The module should support defining or referencing a custom RAI policy so that it can be used for model deployments within the same module.

**Current behavior / workaround**

As a workaround, the account must be deployed without model deployments. The RAI policy and model deployments then need to be created separately using a custom module. This significantly limits the practical usability of the module.

### (Optional) Correlation Id

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.