Skip to content

Commit

Permalink
Fix images
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganeshrockz committed Oct 11, 2023
1 parent c76447f commit 6c16141
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/locality-aware-routing/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ variable "lb_ingress_ip" {
variable "consul_ecs_image" {
description = "Consul ECS image to use in all tasks."
type = string
default = "hashicorppreview/consul-ecs:0.7.0-rc1"
default = "hashicorp/consul-ecs:0.7.0-rc1"
}

variable "consul_server_startup_timeout" {
Expand All @@ -38,5 +38,5 @@ variable "consul_server_startup_timeout" {
variable "consul_image" {
description = "Consul Docker image."
type = string
default = "hashicorppreview/consul-enterprise:1.17-dev"
default = "hashicorp/consul-enterprise:1.17.0-rc1-ent"
}
4 changes: 2 additions & 2 deletions modules/dev-server/consul_1_14_compat.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

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 = true //tonumber(local.consul_image_version_parts[1]) >= 14
consul_image_version_parts = regex(":.*(\\d+)[.](\\d+)[.](\\d+)", var.consul_image)
is_consul_1_14_plus = tonumber(local.consul_image_version_parts[1]) >= 14
}

0 comments on commit 6c16141

Please sign in to comment.