Skip to content

Commit

Permalink
chore: Update AMS resource identifier handling in outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimmo Forss committed Sep 4, 2024
1 parent 010c1b6 commit 5f771f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ output "iSCSI_servers" {

output "ams_resource_id" {
description = "Azure resource identifier for the AMS resource"
value = local.create_ams_instance ? azapi_resource.ams_instance[0].id : ""
value = local.create_ams_instance ? try(azapi_resource.ams_instance[0].id, "") : ""
}

###############################################################################
Expand Down

0 comments on commit 5f771f1

Please sign in to comment.