Skip to content

Commit

Permalink
fix(awala): Only subscribe to service messages for VeraId Authority
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Aug 24, 2023
1 parent 842e3c9 commit b1b77be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/awala/awala_pubsub.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ resource "google_pubsub_subscription" "awala_incoming_messages" {
name = "authority-${var.instance_name}-awala.incoming-messages"
topic = var.awala_endpoint_incoming_messages_topic

filter = "hasPrefix(attributes.datacontenttype, \"application/vnd.veraid-authority.\")"

ack_deadline_seconds = 10
message_retention_duration = "259200s" # 3 days
retain_acked_messages = false
Expand Down

0 comments on commit b1b77be

Please sign in to comment.