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
Current settings through error in clouds not supporting activity log diagnostic settings. Issue #453 tried setting diagnostic settings API to commonly supported version except the underlying API version doesn't support activity settings config. Its likely 453 can be reversed for now until clouds support this setting since the newer API supports it in public and gov clouds.
Steps to Reproduce
Steps to reproduce the behavior:
deploy to non-public/government cloud
Expected behavior
Diagnostic settings are created for activity logs to send to log analytics
Actual behavior
Error message suggesting activitylogdiagnosticsettingsconfig is unavailable.
Screenshots
Additional context
Further work should be created to track this missing capability, for now this is a work around to prevent error so the result will be no activity logs going to central logging.
brooke-hamilton
changed the title
use environment variable to exclude deploying activity log diagnostic settings beyond public and government
Optionally deploy activity log diagnostic settings beyond public and government
Oct 19, 2021
I think opt-in central logging is the right call. 👍
But, unless there's some reason to change all diagnostic settings to an older provider, I don't think we need to revert #453 since the newer provider is already used everywhere else in source and known to work in deployments other than when it is necessary to opt-out of central logging.
Description
Current settings through error in clouds not supporting activity log diagnostic settings. Issue #453 tried setting diagnostic settings API to commonly supported version except the underlying API version doesn't support activity settings config. Its likely 453 can be reversed for now until clouds support this setting since the newer API supports it in public and gov clouds.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Diagnostic settings are created for activity logs to send to log analytics
Actual behavior
Error message suggesting
activitylogdiagnosticsettingsconfig
is unavailable.Screenshots
Additional context
Further work should be created to track this missing capability, for now this is a work around to prevent error so the result will be no activity logs going to central logging.
Operating System:
Terraform Version:
Cloud (public, Azure Government, etc.):
The text was updated successfully, but these errors were encountered: