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
The azapi_resource is a generic resource to manage all azure resources, so it uses an universal way to compare between configuration and remote states, for example, there's no customized logic to remove the disabled settings from the diagnostic settings.
But I think we could improve this in the future, by introducing a machniesm to suppress the difference when the array returns not-configured items.
When setting diagnostic settings, any that are not enabled should be removed from the items returned.
e.g. for a storage account, if you set "StorageDelete" and "StorageWrite", on subsequent plans you will see this:
The text was updated successfully, but these errors were encountered: