File tree 3 files changed +1
-35
lines changed
3 files changed +1
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ variable "config" {
30
30
type = object ({
31
31
aws_partition = optional (string , null )
32
32
architecture = optional (string , null )
33
- enable_metric = optional (string , null )
34
33
environment_variables = optional (map (string ), {})
35
34
features = optional (object ({
36
35
enable_spot_termination_handler = optional (bool , true )
@@ -72,9 +71,4 @@ variable "config" {
72
71
}), {})
73
72
zip = optional (string , null )
74
73
})
75
-
76
- validation {
77
- condition = var. config . enable_metric == null
78
- error_message = " enable_metric is deprecated, use metrics.enable instead."
79
- }
80
74
}
Original file line number Diff line number Diff line change @@ -888,8 +888,7 @@ variable "instance_termination_watcher" {
888
888
EOF
889
889
890
890
type = object ({
891
- enable = optional (bool , false )
892
- enable_metric = optional (string , null ) # deprectaed
891
+ enable = optional (bool , false )
893
892
features = optional (object ({
894
893
enable_spot_termination_handler = optional (bool , true )
895
894
enable_spot_termination_notification_watcher = optional (bool , true )
@@ -902,10 +901,6 @@ variable "instance_termination_watcher" {
902
901
})
903
902
default = {}
904
903
905
- validation {
906
- condition = var. instance_termination_watcher . enable_metric == null
907
- error_message = " The variable `instance_termination_watcher.enable_metric` is deprecated, use `metrics` instead."
908
- }
909
904
}
910
905
911
906
variable "runners_ebs_optimized" {
You can’t perform that action at this time.
0 commit comments