diff --git a/modules/pubsub/main.tf b/modules/pubsub/main.tf index de065029..3d080256 100644 --- a/modules/pubsub/main.tf +++ b/modules/pubsub/main.tf @@ -77,6 +77,14 @@ resource "google_pubsub_subscription" "default" { } } + dynamic "retry_policy" { + for_each = each.value.retry_policy == null ? [] : [""] + content { + maximum_backoff = each.value.retry_policy.maximum_backoff + minimum_backoff = each.value.retry_policy.minimum_backoff + } + } + dynamic "push_config" { for_each = each.value.push == null ? [] : [""] content {