add support for topic message duration (#732)
This commit is contained in:
committed by
GitHub
parent
1abfdacd56
commit
d9ea825ea5
@@ -36,10 +36,11 @@ locals {
|
||||
}
|
||||
|
||||
resource "google_pubsub_topic" "default" {
|
||||
project = var.project_id
|
||||
name = var.name
|
||||
kms_key_name = var.kms_key
|
||||
labels = var.labels
|
||||
project = var.project_id
|
||||
name = var.name
|
||||
kms_key_name = var.kms_key
|
||||
labels = var.labels
|
||||
message_retention_duration = var.message_retention_duration
|
||||
|
||||
dynamic "message_storage_policy" {
|
||||
for_each = length(var.regions) > 0 ? [var.regions] : []
|
||||
|
||||
Reference in New Issue
Block a user