Skip to content

Commit 88c0e1c

Browse files
authored
Have subscriptions live indefinitely. (#70)
By default pubsub subscriptions live for 31d since their last activity. We don't want our subscriptions to expire. Signed-off-by: Matt Moore <[email protected]>
1 parent f45d781 commit 88c0e1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/cloudevent-trigger/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,8 @@ resource "google_pubsub_subscription" "this" {
7777
write_metadata = true
7878
}
7979
}
80+
81+
expiration_policy {
82+
ttl = "" // This does not expire.
83+
}
8084
}

0 commit comments

Comments
 (0)