app-service-web

claranet/app-service-web/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure App Service Web

Install
module "app-service-web" {
source = "claranet/app-service-web/azurerm"
version = "5.2.1"
}
plain text: /constructs/tfmod-claranet-app-service-web-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

DEPRECATED - Azure App Service Web ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![TF Registry](https://registry.terraform.io/modules/claranet/app-service-web/azurerm/) | ⚠ This module is deprecated, please use app-service module | |--| This Terraform module creates an Azure App Service Web 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 | AzureRM version | | -------------- | ----------------- | ----------

Inputs (50)
NameTypeDescriptionDefault
resource_group_namestringResource group name required
app_service_plan_idstringId of the App Service Plan that hosts the App Service required
logs_destinations_idslist(string)List of destination resources Ids for logs diagnostics destination. Can be Stora required
locationstringAzure location. required
stackstringProject stack name required
location_shortstringShort string for Azure location. required
client_namestringClient name/account used in naming required
environmentstringProject environment required
application_insights_enabledboolUse Application Insights for this App Servicetrue
backup_retention_period_in_daysnumberRetention in days for the App Service backup.30
backup_storage_account_namestringStorage account name to use if App Service backup is enabled.null
mount_pointslist(map(string))Storage Account mount points. Name is generated if not set and default type is A[]
custom_diagnostic_settings_namestringCustom name of the diagnostics settings, name will be 'default' if not set."default"
application_insights_sampling_percentagenumberSpecifies the percentage of sampled datas for Application Insights. Documentationull
application_insights_idstringID of the existing Application Insights to use instead of deploying a new one.null
authorized_subnet_idslist(string)Subnets restriction for App Service. See documentation https://www.terraform.io/[]
ip_restriction_headersmap(list(string))IPs restriction headers for App Service. See documentation https://www.terraformnull
staging_slot_enabledboolCreate a staging slot alongside the app service for blue/green deployment purpostrue
staging_slot_custom_app_settingsmap(string)Override staging slot with custom app settingsnull
extra_tagsmap(string)Extra tags to add.{}
connection_stringslist(map(string))Connection strings for App Service. See documentation https://www.terraform.io/d[]
backup_storage_account_rgstringStorage account resource group to use if App Service backup is enabled.null
custom_domainsmap(map(string))Custom domains and SSL certificates of the App Service. Could declare a custom dnull
app_service_vnet_integration_subnet_idstringId of the subnet to associate with the app servicenull
application_insights_typestringApplication type for Application Insights resource"web"
app_settingsmap(string)Application settings for App Service. See documentation https://www.terraform.io{}
scm_authorized_subnet_idslist(string)SCM subnets restriction for App Service. See documentation https://www.terraform[]
auth_settingsanyAuthentication settings. Issuer URL is generated thanks to the tenant ID. For ac{}
… and 10 more inputs
Outputs (21)
app_insights_name — Deprecated, use `application_insights_name`
application_insights_app_id — App id of the Application Insights associated to the App Service
app_service_id — Id of the App Service
app_service_source_control — Source Control information block of the App Service
app_service_site_credential — Site credential block of the App Service
app_service_identity_service_principal_id — Id of the Service principal identity of the App Service
app_service_slot_name — Name of the App Service slot
app_service_default_site_hostname — The Default Hostname associated with the App Service
app_service_possible_outbound_ip_addresses — Possible outbound IP adresses of the App Service
application_insights_id — Id of the Application Insights associated to the App Service
app_service_slot_identity_service_principal_id — Id of the Service principal identity of the App Service slot
app_insights_id — Deprecated, use `application_insights_id`
application_insights_name — Name of the Application Insights associated to the App Service
app_insights_app_id — Deprecated, use `application_insights_app_id`
app_insights_application_type — Deprecated, use `application_insights_application_type`
application_insights_application_type — Application Type of the Application Insights associated to the App Service
app_service_plan_id — Id of the App Service Plan
app_service_name — Name of the App Service
app_service_outbound_ip_addresses — Outbound IP adresses of the App Service
app_insights_instrumentation_key — Deprecated, use `application_insights_instrumentation_key`
application_insights_instrumentation_key — Instrumentation key of the Application Insights associated to the App Service
Resources (8)
azurecaf_nameazurerm_app_serviceazurerm_app_service_certificateazurerm_app_service_custom_hostname_bindingazurerm_app_service_slotazurerm_app_service_slot_virtual_network_swift_connectionazurerm_app_service_virtual_network_swift_connectionazurerm_application_insights
Details
FrameworkTerraform Module
LanguageHCL
Version5.2.1
Cloud AZURERM
★ Stars7
Forks17
Total downloads14.3k
Inputs50
Outputs21
Resources8
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated