Skip to content

Conversation

@npalm
Copy link
Member

@npalm npalm commented Nov 21, 2025

fix: #4901

This pull request updates the configuration for the webhook module by changing the key used in the runner_matcher_config map from the SQS queue ID to the string "default". This simplifies the configuration and makes it more explicit. This avoid a dynamic key is used and the count cannot be calculated.

@npalm npalm requested a review from a team as a code owner November 21, 2025 08:24
@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@npalm npalm requested a review from Copilot November 21, 2025 09:19
Copilot finished reviewing on behalf of npalm November 21, 2025 09:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request fixes a Terraform planning issue where the count for SSM parameters could not be calculated at plan time. The fix changes the runner_matcher_config map key from a computed value (aws_sqs_queue.queued_builds.id) to a static string ("default"), allowing Terraform to determine resource counts during the plan phase. Additionally, a spelling error in the documentation is corrected.

  • Changed runner_matcher_config map key from dynamic SQS queue ID to static "default" string
  • Corrected spelling error "secreets" → "secrets" in documentation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
main.tf Updated webhook module configuration to use static "default" key instead of dynamic SQS queue ID, enabling Terraform to calculate resource counts at plan time
modules/multi-runner/README.md Fixed typo in ssm_paths variable description

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Invalid count argument error with aws_ssm_parameter.runner_matcher_config in v6.9.0

3 participants