From ec48276f933adde276b311a1a966ff1ac4aaa967 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Wed, 13 Feb 2019 12:08:24 +0100 Subject: [PATCH] r/key_vault_access_policy: fixing a test failure Tests pass: ``` $ acctests azurerm TestAccAzureRMKeyVaultAccessPolicy_basicClassic === RUN TestAccAzureRMKeyVaultAccessPolicy_basicClassic === PAUSE TestAccAzureRMKeyVaultAccessPolicy_basicClassic === CONT TestAccAzureRMKeyVaultAccessPolicy_basicClassic --- PASS: TestAccAzureRMKeyVaultAccessPolicy_basicClassic (252.79s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 254.648s ``` --- azurerm/resource_arm_key_vault_access_policy_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azurerm/resource_arm_key_vault_access_policy_test.go b/azurerm/resource_arm_key_vault_access_policy_test.go index eaf01bda0512..c3f67e4aec73 100644 --- a/azurerm/resource_arm_key_vault_access_policy_test.go +++ b/azurerm/resource_arm_key_vault_access_policy_test.go @@ -247,7 +247,8 @@ func testAccAzureRMKeyVaultAccessPolicy_basicClassic(rString string, location st %s resource "azurerm_key_vault_access_policy" "test" { - vault_uri = "${azurerm_key_vault.test.vault_uri}" + vault_name = "${azurerm_key_vault.test.name}" + resource_group_name = "${azurerm_key_vault.test.resource_group_name}" key_permissions = [ "get",