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 scaling_service terraform #2548

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Fix scaling_service terraform #2548

merged 1 commit into from
Feb 14, 2024

Conversation

kenoir
Copy link
Contributor

@kenoir kenoir commented Feb 6, 2024

What does this change?

This fixes a syntax error in the scaling_service module that prevented terraform init from proceeding. This change was discovered as part of re-applying terraform changes to fix logging in the reindexer.

Related: https://wellcome.slack.com/archives/C02ANCYL90E/p1707216525952379

How to test

  • Do a reindex, does the reindexer log to the expected index pattern now (service-logs-*) ?

How can we measure success?

Less confusing elasticsearch configuration.

@kenoir kenoir requested a review from a team February 6, 2024 15:13
@paul-butcher
Copy link
Contributor

paul-butcher commented Feb 6, 2024

Is this related to #2543? (no, it isn't)

@@ -114,7 +114,6 @@ variable "queue_config" {
visibility_timeout_seconds = number
message_retention_seconds = number
max_receive_count = number
message_retention_seconds = number
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not required here:

message_retention_seconds = var.queue_config.message_retention_seconds
?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a dupe, see line 115.

@kenoir kenoir requested a review from paul-butcher February 12, 2024 09:09
@kenoir kenoir enabled auto-merge (squash) February 12, 2024 09:25
@kenoir kenoir merged commit 667fd55 into main Feb 14, 2024
1 check passed
@kenoir kenoir deleted the rk/scaling_service-tf-fix branch February 14, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants