Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix active-active value #240

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading