Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Add to output identity block values #85

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ No modules.

| Name | Description |
|------|-------------|
| <a name="output_cognitive_account_identity"></a> [cognitive\_account\_identity](#output\_cognitive\_account\_identity) | The identity block exports the Principal ID and the Tenant ID associated with this Managed Service Identity. |
| <a name="output_openai_endpoint"></a> [openai\_endpoint](#output\_openai\_endpoint) | The endpoint used to connect to the Cognitive Service Account. |
| <a name="output_openai_id"></a> [openai\_id](#output\_openai\_id) | The ID of the Cognitive Service Account. |
| <a name="output_openai_primary_key"></a> [openai\_primary\_key](#output\_openai\_primary\_key) | The primary access key for the Cognitive Service Account. |
Expand Down
6 changes: 6 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ output "private_ip_addresses" {
for key, pe in azurerm_private_endpoint.this : key => pe.private_service_connection[0].private_ip_address
}
}

output "cognitive_account_identity" {
description = "The identity block exports the Principal ID and the Tenant ID associated with this Managed Service Identity."
value = try(azurerm_cognitive_account.this.identity[0], null)
}

Loading