Terraform secret rule of thumb - keyvault has to depend on policy :)
Did you know when you create a new secret, you need to add "depend_on", to associate it to a key policy. That means Vault -> Policy -> Secret (you need to specifically add "depend_on" in your secret resource provisioning section.
Comments