You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform should exit with code 0, the following resources should be created in Azure and placed inside the terraform state.
Actual Behaviour
The following error shown:
Error: Provider produced inconsistent result after applyWhen applying changes to azurerm_monitor_diagnostic_setting.monitor_logs,provider "provider["registry.terraform.io/hashicorp/azurerm"]" produced anunexpected new value: Root resource was present, but now absent.This is a bug in the provider, which should be reported in the provider's ownissue tracker.
@JoDexsph can you please share a full log with HTTP logs about PUT diagnostic setting and GET diagnostic setting, so I can submit the issue to REST API as suggested in #25697 (review). The log you previously shared is not complete. And I am unable to repro this error on my local.
Thanks for the feedback @teowa , however seems like the issue doesn't; reoccur to us as well in all our environments.
I have to say it is odd, your PR hasn't merged yet with the fix.
Can it be a fix made by Azure API or other components in the Azure end?
Is there an existing issue for this?
Community Note
Terraform Version
1.3.6
AzureRM Provider Version
3.41.0
Affected Resource(s)/Data Source(s)
azurerm_monitor_diagnostic_setting
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Terraform should exit with code 0, the following resources should be created in Azure and placed inside the terraform state.
Actual Behaviour
The following error shown:
Error: Provider produced inconsistent result after applyWhen applying changes to azurerm_monitor_diagnostic_setting.monitor_logs,provider "provider["registry.terraform.io/hashicorp/azurerm"]" produced anunexpected new value: Root resource was present, but now absent.This is a bug in the provider, which should be reported in the provider's ownissue tracker.
Steps to Reproduce
TFVars file
location="eastus"
training_id=""
user_principal_name=""
display_name="user"
mail_nickname=""
password="password$"
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: