Fix deprecated warnings in Azure KeyVault deployment
-
Describe the bug: Deprecated warnings are showing up while deploying common-infra environment.
-
Warning: module.keyvault_access_policy_aks.azurerm_key_vault_access_policy.keyvault: "resource_group_name": [DEPRECATED] This property has been deprecated as the resource group is now pulled from the vault ID and will be removed in version 2.0 of the provider
-
Warning: module.keyvault_access_policy_aks.azurerm_key_vault_access_policy.keyvault: "vault_name": [DEPRECATED] This property has been deprecated in favour of the key_vault_id property. This will prevent a class of bugs as described in https://github.com/terraform-providers/terraform-provider-azurerm/issues/2396 and will be removed in version 2.0 of the provider
-
Warning: module.keyvault_access_policy_default.azurerm_key_vault_access_policy.keyvault: "resource_group_name": [DEPRECATED] This property has been deprecated as the resource group is now pulled from the vault ID and will be removed in version 2.0 of the provider
-
Warning: module.keyvault_access_policy_default.azurerm_key_vault_access_policy.keyvault: "vault_name": [DEPRECATED] This property has been deprecated in favour of the key_vault_id property. This will prevent a class of bugs as described in https://github.com/terraform-providers/terraform-provider-azurerm/issues/2396 and will be removed in version 2.0 of the provider
-
-
To Reproduce: deploy common-infra environment
-
Expected behavior: No warnings.