File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ resource "azurerm_resource_group" "rg" {
17
17
18
18
// Key Vault
19
19
resource "azurerm_key_vault" "example" {
20
- name = " aiagentkvtestbx1 "
20
+ name = var . keyvault_name
21
21
location = azurerm_resource_group. rg . location
22
22
resource_group_name = azurerm_resource_group. rg . name
23
23
tenant_id = data. azurerm_client_config . example . tenant_id
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ subscription_id = "<your_subscription_id>"
2
2
resource_group_name = " RG-ai-foundryx1"
3
3
location = " East US"
4
4
storage_account_name = " aiagentssabx1"
5
+ keyvault_name = " aiagentkvtestbx1"
5
6
openai_account_name = " aoaibx1test"
6
7
search_service_name = " aisearchbx1test"
7
8
developer_principal_id = " <your_developer_principal_id>"
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ variable "resource_group_name" {
14
14
type = string
15
15
}
16
16
17
+ variable "keyvault_name" {
18
+ description = " The name of the key vault"
19
+ type = string
20
+ }
21
+
17
22
variable "storage_account_name" {
18
23
description = " The name of the storage account"
19
24
type = string
You can’t perform that action at this time.
0 commit comments