add support for cmek in gcs module notification topic

This commit is contained in:
Ludo
2024-11-04 09:03:24 +01:00
parent 64cb097bae
commit ffa2602e5e
4 changed files with 52 additions and 34 deletions

View File

@@ -204,11 +204,13 @@ variable "name" {
variable "notification_config" {
description = "GCS Notification configuration."
type = object({
enabled = bool
payload_format = string
topic_name = string
sa_email = string
create_topic = optional(bool, true)
enabled = bool
payload_format = string
sa_email = string
topic_name = string
create_topic = optional(object({
kms_key_id = optional(string)
}))
event_types = optional(list(string))
custom_attributes = optional(map(string))
object_name_prefix = optional(string)