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: Missing ami_id_ssm_parameter_name parameter from multi-runner #2883 #2911

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
7 changes: 4 additions & 3 deletions modules/multi-runner/runners.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ module "runners" {
instance_max_spot_price = each.value.runner_config.instance_max_spot_price
block_device_mappings = each.value.runner_config.block_device_mappings

runner_architecture = each.value.runner_config.runner_architecture
ami_filter = each.value.runner_config.ami_filter
ami_owners = each.value.runner_config.ami_owners
runner_architecture = each.value.runner_config.runner_architecture
ami_filter = each.value.runner_config.ami_filter
ami_owners = each.value.runner_config.ami_owners
ami_id_ssm_parameter_name = each.value.runner_config.ami_id_ssm_parameter_name

sqs_build_queue = { "arn" : each.value.arn }
github_app_parameters = local.github_app_parameters
Expand Down
1 change: 1 addition & 0 deletions modules/multi-runner/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ variable "multi_runner_config" {
})
ami_filter = optional(map(list(string)), null)
ami_owners = optional(list(string), ["amazon"])
ami_id_ssm_parameter_name = optional(string, null)
create_service_linked_role_spot = optional(bool, false)
delay_webhook_event = optional(number, 30)
disable_runner_autoupdate = optional(bool, false)
Expand Down