Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use of govuk_chat_retry_message-ttl variable #1837

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions terraform/projects/app-publishing-amazonmq/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ resource "local_sensitive_file" "amazonmq_rabbitmq_definitions" {
for user, pw in random_password.mq_user : user => pw.result
}
publishing_amazonmq_broker_name = var.publishing_amazonmq_broker_name
govuk_chat_retry_message-ttl = var.govuk_chat_retry_message-ttl
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"apply-to": "queues",
"definition": {
"dead-letter-exchange": "govuk_chat_dlx",
"message-ttl":"${govuk_chat_retry_message-ttl}",
"message-ttl":${govuk_chat_retry_message-ttl},
"ha-mode": "all",
"ha-sync-mode": "automatic"
},
Expand Down
4 changes: 2 additions & 2 deletions terraform/projects/app-publishing-amazonmq/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ variable "publishing_amazonmq_broker_name" {
}

variable "govuk_chat_retry_message-ttl" {
type = string
type = number
description = "Time in miliseconds before messages in the govuk_chat_retry queue expires and are sent back to the govuk_chat_published_ducoments queue through the dead letter mechanism"
default = "300000"
default = 300000
}

variable "elb_internal_certname" {
Expand Down
Loading