Skip to content

Commit

Permalink
use try function to accept that value can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen authored and lonegunmanb committed May 30, 2022
1 parent c9ae305 commit 80cca3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ output "admin_password" {
}

output "addon_profile" {
value = azurerm_kubernetes_cluster.main.addon_profile.0
value = try(azurerm_kubernetes_cluster.main.addon_profile.0, null)
}

0 comments on commit 80cca3b

Please sign in to comment.