Open findajay opened 2 months ago
Hi @findajay ,
The Status=500 Code="Unknown" Message="Unknown service error" Details=[{"code":"InternalServerError","message":""}]
error message should be backend issue which means the API has some error. I am unable to reproduce it with below config. Could you please reproduce it with the latest provider 3.111.0
version and provide the config which can be reproduced? thanks.
We had the same problem and contacted Microsoft support. The product team for the API should have rolled out a fix which inherently fixes the terraform. Maybe it already works for you as well.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.75.0
Affected Resource(s)/Data Source(s)
azurerm_monitor_diagnostic_setting
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Existing Diagnotic settings must be read during plan or new must be created
Actual Behaviour
terraform fails in both step in reading the resource in plan and create in apply step
Steps to Reproduce
Create an azure function and try to enable diagnostic setting on azure function using azurerm_monitor_diagnostic_setting
Important Factoids
No response
References
No response