Skip to content

Commit

Permalink
fix active-active value
Browse files Browse the repository at this point in the history
  • Loading branch information
Annie Hedgpeth committed Nov 8, 2023
1 parent d444f5c commit cd42576
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ module "tfe_init_fdo" {
distribution = var.distribution
disk_path = var.disk_path
disk_device_name = var.production_type == "disk" ? "disk/azure/scsi1/lun${var.vm_data_disk_lun}" : null
operational_mode = var.production_type
operational_mode = local.active_active ? "active-active" : var.production_type
custom_image_tag = var.custom_image_tag
enable_monitoring = var.enable_monitoring

Expand Down
24 changes: 12 additions & 12 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,18 @@ variable "redis_minimum_tls_version" {

# VM
# --
variable "http_port" {
default = 80
type = number
description = "(Optional if is_replicated_deployment is false) Port application listens on for HTTP. Default is 80."
}

variable "https_port" {
default = 443
type = number
description = "(Optional if is_replicated_deployment is false) Port application listens on for HTTPS. Default is 443."
}

variable "vm_node_count" {
default = 2
type = number
Expand Down Expand Up @@ -998,18 +1010,6 @@ variable "vm_key_secret" {

# Proxy
# -----
variable "http_port" {
default = 80
type = number
description = "(Optional if is_replicated_deployment is false) Port application listens on for HTTP. Default is 80."
}

variable "https_port" {
default = 443
type = number
description = "(Optional if is_replicated_deployment is false) Port application listens on for HTTPS. Default is 443."
}

variable "no_proxy" {
type = list(string)
description = "(Optional) List of IP addresses to not proxy"
Expand Down

0 comments on commit cd42576

Please sign in to comment.