diff --git a/modules/dev-server/consul_1_14_compat.tf b/modules/dev-server/consul_1_14_compat.tf index 5a0a50f6..f78b468c 100644 --- a/modules/dev-server/consul_1_14_compat.tf +++ b/modules/dev-server/consul_1_14_compat.tf @@ -4,5 +4,5 @@ locals { // parse the consul version from the provided image: ["1", "12", "2"] consul_image_version_parts = regex(":.*(\\d+)[.](\\d+)[.](\\d+)", var.consul_image) - is_consul_1_14_plus = tonumber(local.consul_image_version_parts[1]) >= 14 + is_consul_1_14_plus = tonumber(local.consul_image_version_parts[1]) >= 14 }