Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ resource "azurerm_linux_web_app" "web" {
tags = var.tags

site_config {
always_on = true
ftps_state = "FtpsOnly"
app_command_line = var.app_command_line
always_on = var.always_on
use_32_bit_worker = var.use_32_bit_worker
ftps_state = "FtpsOnly"
app_command_line = var.app_command_line
application_stack {
node_version = var.node_version
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ variable "node_version" {
default = "16-lts"
}

variable "always_on" {
description = "The always on setting for the app service."
type = bool
default = true
}

variable "use_32_bit_worker" {
description = "The use 32 bit worker setting for the app service."
type = bool
default = false
}

variable "health_check_path" {
description = "The path to the health check endpoint"
type = string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ resource "azurerm_linux_web_app" "web" {
tags = var.tags

site_config {
always_on = true
ftps_state = "FtpsOnly"
app_command_line = var.app_command_line
always_on = var.always_on
use_32_bit_worker = var.use_32_bit_worker
ftps_state = "FtpsOnly"
app_command_line = var.app_command_line
application_stack {
python_version = var.python_version
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ variable "python_version" {
default = "3.10"
}

variable "always_on" {
description = "The always on setting for the app service."
type = bool
default = true
}

variable "use_32_bit_worker" {
description = "The use 32 bit worker setting for the app service."
type = bool
default = false
}

variable "health_check_path" {
description = "The path to the health check endpoint"
type = string
Expand Down