File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -634,8 +634,12 @@ variable "instance_termination_watcher" {
634634 EOF
635635
636636 type = object ({
637- enable = optional (bool , false )
638- enable_metrics = optional (string , null ) # deprecated
637+ enable = optional (bool , false )
638+ enable_metrics = optional (string , null ) # deprecated
639+ features = optional (object ({
640+ enable_spot_termination_handler = optional (bool , true )
641+ enable_spot_termination_notification_watcher = optional (bool , true )
642+ }), {})
639643 memory_size = optional (number , null )
640644 s3_key = optional (string , null )
641645 s3_object_version = optional (string , null )
Original file line number Diff line number Diff line change 1+ module "termination_notification" {
2+ count = var. config . features . enable_spot_termination_notification_watcher ? 1 : 0
3+ source = " ./notification"
4+
5+ config = local. config
6+ }
You can’t perform that action at this time.
0 commit comments