diff --git a/modules/project/variables.tf b/modules/project/variables.tf index 30eff53aa..41d3163fa 100644 --- a/modules/project/variables.tf +++ b/modules/project/variables.tf @@ -237,7 +237,7 @@ variable "shared_vpc_host_config" { description = "Configures this project as a Shared VPC host project (mutually exclusive with shared_vpc_service_project)." type = object({ enabled = bool - service_projects = list(string) + service_projects = optional(list(string), []) }) default = null } @@ -247,7 +247,7 @@ variable "shared_vpc_service_config" { # the list of valid service identities is in service-accounts.tf type = object({ host_project = string - service_identity_iam = map(list(string)) + service_identity_iam = optional(map(list(string))) }) default = null }