Use null values for data_overrides

This commit is contained in:
Wiktor Niesiobędzki
2025-04-02 17:07:11 +00:00
committed by Wiktor Niesiobędzki
parent ce05505a2c
commit 46f731fee0
3 changed files with 19 additions and 19 deletions

View File

@@ -83,6 +83,7 @@ variable "data_merges" {
variable "data_overrides" {
description = "Optional values that override corresponding data from files. Takes precedence over file data and `data_defaults`."
type = object({
# data overrides default to null to mark that they should not override
billing_account = optional(string)
contacts = optional(map(list(string)))
factories_config = optional(object({
@@ -111,7 +112,7 @@ variable "data_overrides" {
ADMIN_READ = optional(object({ exempted_members = optional(list(string)) })),
DATA_READ = optional(object({ exempted_members = optional(list(string)) })),
DATA_WRITE = optional(object({ exempted_members = optional(list(string)) }))
})), {})
})))
})
nullable = false
default = {}