Skip to content

Commit

Permalink
Update role assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinbuss committed Aug 23, 2024
1 parent 5974a4e commit f3ffdb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/infra/roleassignments_uai.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "azurerm_role_assignment" "uai_roleassignment_open_ai_user" {
resource "azurerm_role_assignment" "uai_roleassignment_open_ai_contributor" {
description = "Required for accessing azure open ai from the web app"
scope = module.azure_open_ai.cognitive_account_id
role_definition_name = "Cognitive Services OpenAI User"
role_definition_name = "Cognitive Services OpenAI Contributor"
principal_id = module.user_assigned_identity.user_assigned_identity_principal_id
principal_type = "ServicePrincipal"
}

0 comments on commit f3ffdb6

Please sign in to comment.