From cdec49979725470463e86e88c93ac71c27df67af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garrido=20S=C3=A1nchez?= Date: Thu, 1 Aug 2024 19:58:21 +0000 Subject: [PATCH] feat: update managed identity assignment and assertions --- tests/testing.tftest.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testing.tftest.hcl b/tests/testing.tftest.hcl index 156b218..384e911 100644 --- a/tests/testing.tftest.hcl +++ b/tests/testing.tftest.hcl @@ -187,7 +187,7 @@ run "plan" { } assert { - condition = azurerm_application_gateway.main.identity[0].identity_ids[0] == run.setup.managed_identity_id + condition = tolist(azurerm_application_gateway.main.identity[0].identity_ids) == tolist([run.setup.managed_identity_id]) error_message = "The Managed Identity ID is not as expected." } }