app-service
claranet/app-service/azurerm
Terraform module composition (feature) for Azure App Service (Service Plan + WebApp)
Azure App Service Web (Linux or Windows)     This Terraform module creates an Azure Service Plan using our dedicated Terraform module and creates an Azure App Service Web (Linux or Windows) associated with an Application Insights component and activated Diagnostics Logs. Limitations Diagnostics logs only works fine for Windows for now. Untested with App Service slots. Using a single certificate file on multiple domains with the custom_domains variable is not supported. Use a Key Vault certificate instead. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version |
| Name | Type | Description | Default |
|---|---|---|---|
| os_type | string | The O/S type for the App Services to be hosted in this plan. Possible values inc | required |
| location_short | string | Short string for Azure location. | required |
| environment | string | Project environment. | required |
| logs_destinations_ids | list(string) | List of destination resources IDs for logs diagnostic destination. Can be `Stora | required |
| stack | string | Project stack name. | required |
| sku_name | string | The SKU for the plan. Possible values include B1, B2, B3, D1, F1, I1, I2, I3, I1 | required |
| resource_group_name | string | Resource group name. | required |
| client_name | string | Client name/account used in naming. | required |
| backup_enabled | bool | `true` to enable App Service backup. | false |
| backup_storage_account_container | string | Name of the container in the Storage Account if App Service backup is enabled. | "webapps" |
| public_network_access_enabled | bool | Whether enable public access for the App Service. | false |
| scm_allowed_service_tags | list(string) | SCM Service Tags restriction for App Service. See [documentation](https://www.te | [] |
| client_affinity_enabled | bool | Client affinity activation for App Service. See [documentation](https://www.terr | false |
| maximum_elastic_worker_count | number | The maximum number of workers to use in an Elastic SKU Plan. Cannot be set unles | null |
| site_config | any | Site config for App Service. See [documentation](https://www.terraform.io/docs/p | {} |
| backup_retention_period_in_days | number | Retention in days for the App Service backup. | 30 |
| sticky_settings | object({ app_setting_names | Lists of connection strings and app settings to prevent from swapping between sl | null |
| scm_allowed_cidrs | list(string) | SCM IPs restriction for App Service. See [documentation](https://www.terraform.i | [] |
| scm_allowed_subnet_ids | list(string) | SCM subnets restriction for App Service. See [documentation](https://www.terrafo | [] |
| staging_slot_enabled | bool | Create a staging slot alongside the App Service for blue/green deployment purpos | true |
| backup_keep_at_least_one_backup | bool | Should the service keep at least one backup, regardless of age of backup. | true |
| default_tags_enabled | bool | Option to enable or disable default tags. | true |
| app_settings | map(string) | Application settings for App Service. See [documentation](https://www.terraform. | {} |
| staging_slot_mount_points | list(object({ name | Storage Account mount points for staging slot. Name is generated if not set and | [] |
| docker_image | object({ registry | Docker image to use for this App Service. | null |
| staging_slot_site_config | any | Staging slot site config for App Service. See [documentation](https://www.terraf | {} |
| extra_tags | map(string) | Extra tags to add. | {} |
| backup_storage_account_id | string | Storage account ID to use if App Service backup is enabled. | null |
| … and 10 more inputs | |||
module_service_plan — Service Plan output object. Please refer to [module documentation](https://github.com/claranet/terramodule_container — App Service Container (Container WebApp) output object if Container is choosen. Please refer to `./mmodule_linux — App Service Linux (Linux WebApp) output object if Linux is choosen. Please refer to `./modules/linuxmodule_windows — App Service Windows (Windows WebApp) output object if Windows is choosen. Please refer to `./modulesAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,