Skip to content

Commit

Permalink
Fix access to output_content in outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Mar 7, 2024
1 parent 37b81f2 commit 75d90c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/modules/cog/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ output "speech_key" {
}

output "bing_key" {
value = var.deploy_bing ? jsondecode(azurerm_resource_group_template_deployment.main.output_content).accessKeys.value.key1 : ""
value = var.deploy_bing ? jsondecode(azurerm_resource_group_template_deployment.main[0].output_content).accessKeys.value.key1 : ""
}

0 comments on commit 75d90c3

Please sign in to comment.