Skip to content

Commit

Permalink
Add nullable = false to prevent precondition to fail (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentLesle authored Sep 20, 2023
1 parent 1208843 commit 44be196
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/static/includes/interfaces/int.diag.schema.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ variable "diagnostic_settings" {
event_hub_name = optional(string, null)
marketplace_partner_resource_id = optional(string, null)
}))
default = {}
default = {}
nullable = false

validation {
condition = alltrue([for _, v in var.diagnostic_settings : contains(["Dedicated", "AzureDiagnostics"], v.log_analytics_destination_type)])
Expand Down

0 comments on commit 44be196

Please sign in to comment.