File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 5.17.2] ( https://github.com/philips-labs/terraform-aws-github-runner/compare/v5.17.1...v5.17.2 ) (2024-10-21)
4+
5+
6+ ### Bug Fixes
7+
8+ * spot termination watcher output multi runner ([ #4194 ] ( https://github.com/philips-labs/terraform-aws-github-runner/issues/4194 ) ) ([ 367b1b3] ( https://github.com/philips-labs/terraform-aws-github-runner/commit/367b1b38285d63c0cc0fb8a991f69dcbac227222 ) )
9+
310## [ 5.17.1] ( https://github.com/philips-labs/terraform-aws-github-runner/compare/v5.17.0...v5.17.1 ) (2024-10-17)
411
512
Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ module "multi-runner" {
197197| Name | Description |
198198| ------| -------------|
199199| <a name =" output_binaries_syncer_map " ></a > [ binaries\_ syncer\_ map] ( #output\_ binaries\_ syncer\_ map ) | n/a |
200+ | <a name =" output_instance_termination_handler " ></a > [ instance\_ termination\_ handler] ( #output\_ instance\_ termination\_ handler ) | n/a |
200201| <a name =" output_instance_termination_watcher " ></a > [ instance\_ termination\_ watcher] ( #output\_ instance\_ termination\_ watcher ) | n/a |
201202| <a name =" output_queues " ></a > [ queues] ( #output\_ queues ) | SQS queues. |
202203| <a name =" output_runners_map " ></a > [ runners\_ map] ( #output\_ runners\_ map ) | n/a |
Original file line number Diff line number Diff line change @@ -56,9 +56,17 @@ output "queues" {
5656}
5757
5858output "instance_termination_watcher" {
59- value = var. instance_termination_watcher . enable ? {
60- lambda = module.instance_termination_watcher[0 ].lambda.function
61- lambda_log_group = module.instance_termination_watcher[0 ].lambda.log_group
62- lambda_role = module.instance_termination_watcher[0 ].lambda.role
59+ value = var. instance_termination_watcher . enable && var. instance_termination_watcher . features . enable_spot_termination_notification_watcher ? {
60+ lambda = module.instance_termination_watcher[0 ].spot_termination_notification.lambda
61+ lambda_log_group = module.instance_termination_watcher[0 ].spot_termination_notification.lambda_log_group
62+ lambda_role = module.instance_termination_watcher[0 ].spot_termination_notification.lambda_role
63+ } : null
64+ }
65+
66+ output "instance_termination_handler" {
67+ value = var. instance_termination_watcher . enable && var. instance_termination_watcher . features . enable_spot_termination_handler ? {
68+ lambda = module.instance_termination_watcher[0 ].spot_termination_handler.lambda
69+ lambda_log_group = module.instance_termination_watcher[0 ].spot_termination_handler.lambda_log_group
70+ lambda_role = module.instance_termination_watcher[0 ].spot_termination_handler.lambda_role
6371 } : null
6472}
You can’t perform that action at this time.
0 commit comments