Skip to content

Commit

Permalink
Visiativ/feat/dynamic app config combined objects (#46)
Browse files Browse the repository at this point in the history
* Added cognitive_services_accounts, search_services and cosmos_dbs

* Added tenant_id output managed identity

* Added new output search service
  • Loading branch information
kevindelmont authored Nov 27, 2024
1 parent 70756e6 commit 4526aea
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ locals {
managed_identities = local.combined_objects_managed_identities
resource_groups = local.combined_objects_resource_groups
storage_accounts = local.combined_objects_storage_accounts
cognitive_services_accounts = local.combined_objects_cognitive_services_accounts
search_services = local.combined_objects_search_services
cosmos_dbs = local.combined_objects_cosmos_dbs
}

global_settings = merge({
Expand Down
14 changes: 13 additions & 1 deletion modules/search_service/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,16 @@ output "tags" {

output "id" {
value = azurerm_search_service.search_service.id
}
}

output "primary_key" {
value = azurerm_search_service.search_service.primary_key
}

output "secondary_key" {
value = azurerm_search_service.search_service.secondary_key
}

output "query_keys" {
value = azurerm_search_service.search_service.query_keys
}
4 changes: 4 additions & 0 deletions modules/security/managed_identity/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ output "rbac_id" {
output "name" {
value = azurerm_user_assigned_identity.msi.name
}

output "tenant_id" {
value = azurerm_user_assigned_identity.msi.tenant_id
}

0 comments on commit 4526aea

Please sign in to comment.