Azure / terraform-azurerm-avm-res-keyvault-vault

Azure Verified Module for Key Vault
https://registry.terraform.io/modules/Azure/avm-res-keyvault-vault/azurerm/latest
MIT License
21 stars 24 forks source link

Add dependency on private endpoint for Key Vault keys and secrets #130

Closed hjstam closed 1 month ago

hjstam commented 2 months ago

Description

When using a Key Vault with a private endpoint the keys and secrets are dependent on the private endpoint for communication. Without this depends_on the private endpoint is destroyed before the keys and secrets are destroyed and Terraform errors out.

Type of Change

Checklist

microsoft-github-policy-service[bot] commented 2 months ago

[!IMPORTANT] The "Needs: Triage :mag:" label must be removed once the triage process is complete!

[!TIP] For additional guidance on how to triage this issue/PR, see the TF Issue Triage documentation.

matt-FFFFFF commented 1 month ago

Nice catch - thanks