A Terraform module for the creation of App Services.
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
}
No requirements.
Name | Version |
---|---|
azurerm | n/a |
Name | Source | Version |
---|---|---|
application_insights | github.com/moneyadviceservice/terraform-module-application-insights | add_module |
Name | Type |
---|---|
azurerm_linux_web_app.this | resource |
azurerm_service_plan.this | resource |
azurerm_windows_web_app.this | resource |
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 |
Name | Description |
---|---|
app_insights_app_id | n/a |
app_service_id | n/a |
app_service_name | n/a |
instrumentation_key | n/a |