File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ module "pubsub" {
34
34
maximum_backoff = "600s" // optional
35
35
minimum_backoff = "300s" // optional
36
36
filter = "attributes.domain = \"com\"" // optional
37
+ enable_message_ordering = true // optional
37
38
}
38
39
]
39
40
pull_subscriptions = [
Original file line number Diff line number Diff line change @@ -194,6 +194,11 @@ resource "google_pubsub_subscription" "push_subscriptions" {
194
194
" filter" ,
195
195
null ,
196
196
)
197
+ enable_message_ordering = lookup (
198
+ each. value ,
199
+ " enable_message_ordering" ,
200
+ null ,
201
+ )
197
202
dynamic "expiration_policy" {
198
203
// check if the 'expiration_policy' key exists, if yes, return a list containing it.
199
204
for_each = contains (keys (each. value ), " expiration_policy" ) ? [each . value . expiration_policy ] : []
You can’t perform that action at this time.
0 commit comments