Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 4.84 KB

README.md

File metadata and controls

76 lines (61 loc) · 4.84 KB

terraform-module-app-service

A Terraform module for the creation of App Services.

Example

module "this" {
  source  = "[email protected]:moneyadviceservice/terraform-module-app-services?ref=main"
  
  product             = var.product
  env                 = var.env
  name                = var.name
  os_type             = "Linux"
  resource_group_name = data.azurerm_resource_group.this.name
}

Requirements

No requirements.

Providers

Name Version
azurerm n/a

Modules

Name Source Version
application_insights github.com/moneyadviceservice/terraform-module-application-insights add_module

Resources

Name Type
azurerm_linux_web_app.this resource
azurerm_service_plan.this resource
azurerm_windows_web_app.this resource

Inputs

Name Description Type Default Required
account_kind (Optional) Defines the Kind of account string "StorageV2" no
account_replication_type (Required) Defines the type of replication to use for this storage account. string "ZRS" no
app_command_line (Optional) The App command line to launch. string null no
app_settings (Optional) A map of key-value pairs for App Settings and custom values. map(string) {} no
create_service_plan If true a new service plan is created bool true no
dotnet_stack n/a bool false no
dotnet_version (Optional) The version of .NET to use. string "8.0" no
enable_client_affinity (Optional) Should Client Affinity be enabled? bool false no
env The environment to deploy to string n/a yes
ftps_state (Optional) State of FTP / FTPS service for this Windows Function App. string null no
https_only (Optional) Should the Web App require HTTPS connections. bool true no
location n/a string "UK South" no
name The name of your function app string n/a yes
os_type (Required) The O/S type for the App Services to be hosted in this plan. string "Linux" no
product The product name string n/a yes
resource_group_name The resource group your function app will be assigned to string n/a yes
sa_account_tier (Required) Defines the Tier to use for this storage account string "Standard" no
service_plan_id If you want to use an existing service plan string null no
sku_name (Required) The SKU for the plan. string "Y1" no
tags A mapping of tags assigned to the Resource. map(string) {} no

Outputs

Name Description
app_insights_app_id n/a
app_service_id n/a
app_service_name n/a
instrumentation_key n/a