Skip to content

Latest commit

 

History

History

appserviceplan

Azure App Service Plan Terraform Module

Documentation

Requirements

The following requirements are needed by this module:

Modules

No modules.

Required Inputs

The following input variables are required:

Description: Specifies the location of all resources.

Type: string

Description: Specifies the resource group name in which all resources will get deployed.

Type: string

Description: Specifies the name of the app service plan.

Type: string

Optional Inputs

The following input variables are optional (have default values):

Description: Specifies the diagnostic configuration for the service.

Type:

list(object({
    log_analytics_workspace_id = optional(string, ""),
    storage_account_id         = optional(string, "")
  }))

Default: []

Description: Specifies the maximum elastic worker count of the app service plan. Can only be set for an elastic SKU.

Type: string

Default: null

Description: Specifies the os type of the app service plan.

Type: string

Default: "Linux"

Description: Specifies whether per site scaling should be enabled for the app service plan.

Type: bool

Default: false

Description: Specifies the sku name of the app service plan.

Type: string

Default: "P0v3"

Description: Specifies the worker count of the app service plan.

Type: number

Default: 1

Description: Specifies whether zone balancing should be enabled for the app service plan. Can only be enabled if woker count is >= 3.

Type: bool

Default: false

Description: Specifies a key value map of tags to set on every taggable resources.

Type: map(string)

Default: {}

Outputs

The following outputs are exported:

Description: Specifies the resource ID of the app service plan.

Description: Specifies the os type of the app service plan.