Open jeffwmiles opened 2 years ago
@jeffwmiles Thank you for submitting this! I've tried with your config above and things work for me. As said, would you please provide more details like debug log so that we can further take a look into.
Here is a gist of the destroy operation at TF_LOG level DEBUG:
https://gist.github.com/jeffwmiles/a08c400d554d49455c190f24bd6ad71a
Notes to call out:
I'm still working on reproducing the error seen during apply.
Is there an existing issue for this?
Community Note
Terraform Version
1.2.7
AzureRM Provider Version
3.19.1
Affected Resource(s)/Data Source(s)
azurerm_key_vault
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
During Apply: Since Terraform received "Creation complete" from subnet resource, the KeyVault depending on ServiceEndpoint of the subnet for Network ACLs should succeed.
During Destroy: Timing of destroy of Vault should be handled by provider, to avoid error "DeletedVaultNotFound"
Actual Behaviour
When run interactively, I am unable to reliably reproduce the issue. However, when this terraform configuration runs within a Bitbucket Pipeline, I am consistently seeing the error messages.
I will attempt to elevate logging output to Debug and add additional details.
Steps to Reproduce
No response
Important Factoids
No response
References
No response