Address reviewer comments.

This commit is contained in:
Israel Herraiz
2022-11-20 16:32:37 +01:00
parent 54e9738c39
commit 3f4fa74729
4 changed files with 26 additions and 26 deletions

View File

@@ -94,6 +94,16 @@ variable "regions" {
default = []
}
variable "schema" {
description = "Topic schema. If set, all messages in this topic should follow this schema."
type = object({
definition = string
msg_encoding = optional(string, "ENCODING_UNSPECIFIED")
schema_type = string
})
default = null
}
variable "subscription_iam" {
description = "IAM bindings for subscriptions in {SUBSCRIPTION => {ROLE => [MEMBERS]}} format."
type = map(map(list(string)))
@@ -114,13 +124,3 @@ variable "subscriptions" {
}))
default = {}
}
variable "schema" {
description = "Topic schema. If set, all messages in this topic should follow this schema."
type = object({
schema_type = string
definition = string
msg_encoding = optional(string, "ENCODING_UNSPECIFIED")
})
default = null
}