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
{{ message }}
Repository navigation
[Feature Request]: Enable 'Null' on DiagnosticLogs setting to support Azure US Government #3449
Based on PR #3448, this issue aims to enable setting an empty value for diagnosticLogs on all modules.
Original description:
Azure US Government does not support any log collection with Diagnostic Logs (i.e., AllLogs is not supported). Allow selection of " '' " for the diagnosticLogCategoriesToEnable.
Example
For Virtual Networks, no logs can be collected via diagnostic settings, so we need to set this to allow '' (blank) or use other logic. I don't think that this is equally applied across all other diagnostic settings/modules (i.e., For Storage Accounts, we can collect logs of Type 'StorageRead', 'StorageWrite', and 'StorageDelete', but we cannot set this value to 'allLogs'.). Therefore, the CARML Storage Accounts module works, we just have to set the parameter appropriately (cannot use default) for AzureUSGovernment. I have yet to find another module that has the same problem as VirtualNetwork.
A reference implementation can be found in the linked original PR.
Activity