Open pmatthews05 opened 1 year ago
This type inconsistency also causes some issues when combining Diagnostic Policies from Enterprise Scale and built-in policies, especially through Terraform
All diagnostic policies in Enterprise Scale uses the type "String" for metricsEnabled
.
This needs to be taken into consideration as well
Details of the scenario you tried and the problem that is occurring
The following Diagnostic policies have both MetricsEnabled and LogsEnabled parameters as type boolean
The following diagnostic policies have both MetricsEnabled and LogsEnabled parameters as type string
Suggested solution to the issue
Make all policies use the same type, either string or boolean. Personally I think they should be boolean as the value is either true or false.