File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ output "queues" {
5353}
5454
5555output "instance_termination_watcher" {
56- value = var. instance_termination_watcher . enable ? {
57- lambda = module.instance_termination_watcher[0 ].lambda.function
58- lambda_log_group = module.instance_termination_watcher[0 ].lambda.log_group
59- lambda_role = module.instance_termination_watcher[0 ].lambda.role
56+ value = var. instance_termination_watcher . enable && var . instance_termination_watcher . features . enable_spot_termination_notification_watcher ? {
57+ lambda = module.instance_termination_watcher[0 ].spot_termination_notification.lambda
58+ lambda_log_group = module.instance_termination_watcher[0 ].spot_termination_notification.lambda_log_group
59+ lambda_role = module.instance_termination_watcher[0 ].spot_termination_notification.lambda_role
6060 } : null
6161}
6262
You can’t perform that action at this time.
0 commit comments