Describe the bug
When deploying a log analytics workspace using the Microsoft.OperationalInsights/workspaces module, the following warning appears:
E:\repos\test\modules\carml\0.5.0\Microsoft.OperationalInsights\workspaces\savedSearches\deploy.bicep(55,5) : Warning BCP037: The property "etag" is not allowed on objects of type "SavedSearchProperties". No other properties are allowed. If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
If this can be confirmed to be an error, it should be enough to remove the following lines:
|
etag: contains(savedSearch, 'eTag') ? savedSearch.etag : '*' |
To reproduce
Deploy a log analytics workspace using the Microsoft.OperationalInsights/workspaces module.
Code snippet
No response
Relevant log output
No response
Describe the bug
When deploying a log analytics workspace using the
Microsoft.OperationalInsights/workspacesmodule, the following warning appears:E:\repos\test\modules\carml\0.5.0\Microsoft.OperationalInsights\workspaces\savedSearches\deploy.bicep(55,5) : Warning BCP037: The property "etag" is not allowed on objects of type "SavedSearchProperties". No other properties are allowed. If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]If this can be confirmed to be an error, it should be enough to remove the following lines:
ResourceModules/arm/Microsoft.OperationalInsights/workspaces/deploy.bicep
Line 206 in 7eaa7ed
ResourceModules/arm/Microsoft.OperationalInsights/workspaces/savedSearches/deploy.bicep
Line 55 in 7eaa7ed
To reproduce
Deploy a log analytics workspace using the Microsoft.OperationalInsights/workspaces module.
Code snippet
No response
Relevant log output
No response