Search

Please login in for more filter options


Kickstart your project with AVM templates.

web-site

report
Report Package web-site

If you believe that this package or its contents contain harmful information, please inform us.
Please be aware that we will never share your credentials.

Please let us know what this package contains.
Please enter a valid email address.

This Terraform Azure Verified Module deploys: terraform-azurerm-avm-res-web-site

ipm add --package avm-terraform/web-site --version 0.9.1 

Published: 29-07-2025

Project URL: https://ipmhub.io/avm-terraform

Package Type: Terraform

License: MIT


No readme file uploaded for this version

Release History

Version 0.9.1 - 2024-08-19

Breaking Change(s)

None

Feature(s)

None

Update(s)

  • updates for github policies and workflows
  • removed providers from yml templates and markdown documentation
  • removed examples for:
    • linux_function_app
    • linux_web_app
    • windows_function_app
    • windows_web_app
  • created examples for:
    • function_app
    • web_app

Version 0.9.0 - 2024-07-30

Breaking Change(s)

  • changes to key references of dynamic blocks application_logs and http_logs for logs via Issue #106

Feature(s)

None

Update(s)

  • corrected azure_blob_storage block to reference azure_blob_storage_http instead of azure_blob_storage for http_logs
  • added examples/logs

Version 0.8.1 - 2024-07-25

Breaking Change(s)

None

Feature(s)

  • azurerm_app_service_slot_custom_hostname_binding now supports azurerm_[windows|linux]_web_app_slot

Previous Logic:

app_service_slot_id = var.os_type == "Windows" ? azurerm_windows_function_app_slot.this[each.value.app_service_slot_key].id : azurerm_linux_function_app_slot.this[each.value.app_service_slot_key].id

Current Logic:

app_service_slot_id = var.kind == "functionapp" ? (var.os_type == "Windows" ? azurerm_windows_function_app_slot.this[each.value.app_service_slot_key].id : azurerm_linux_function_app_slot.this[each.value.app_service_slot_key].id) : (var.os_type == "Windows" ? azurerm_windows_web_app_slot.this[each.value.app_service_slot_key].id : azurerm_linux_web_app_slot.this[each.value.app_service_slot_key].id)
  • thumbprint can now reference existing thumbprint value with thumbprint_value

Previous Logic:

thumbprint          = azurerm_app_service_certificate.this[each.value.thumbprint_key].thumbprint

Current Logic:

  thumbprint          = each.value.thumbprint_key != null ? azurerm_app_service_certificate.this[each.value.thumbprint_key].thumbprint : each.value.thumbprint_value

Update(s)

  • thumbprints as new output
  • cleaning exmples/cusom_domain/main.tf file

Version 0.8.0 - 2024-07-24

Breaking Change(s)

  • new mapping for azurerm_app_service_custom_hostname_binding

will likely affect any configurations with existing custom domains managed by terraform

Feature(s)

  • functionality for custom domains for deployment slots using azurerm_app_service_slot_custom_hostname_binding resource via Issue #101.

uses slot_as_target in custom_domains as toggle to differentiate between azurerm_app_service_custom_hostname_binding and azurerm_app_service_slot_custom_hostname_binding

  • azurerm_app_service_certificate to accept key_vault_id argument via Issue #102

Update(s)

  • additional outputs added for:
    • function_app_active_slot
    • function_app_deployment_slots
    • kind
    • os_type

Version 0.7.3 - 2024-07-17

Breaking Change(s):

None

Feature(s):

  • new telemetry
    • transition to use of modtm provider (view here)
    • removed locals.telemetry.tf
    • removed locals.telemetry.tf.json

Update(s):

  • added examples / storage_uses_managed_identity
  • fixed logic for storage_uses_managed_identity for azurerm_(windows | linux)_function_app via Issue #96

Previous:

storage_uses_managed_identity                  = var.function_app_storage_uses_managed_identity == true && var.function_app_storage_account_access_key == null && var.function_app_storage_account == null ? var.function_app_storage_uses_managed_identity : null

Current:

storage_uses_managed_identity                  = var.function_app_storage_uses_managed_identity == true && var.function_app_storage_account_access_key == null ? var.function_app_storage_uses_managed_identity : null
  • updated logic for azurerm_linux_function_app and azurerm_linux_function_app_slot to account for created storage account's access key
storage_account_access_key                     = var.function_app_storage_account_access_key != null && var.function_app_storage_uses_managed_identity != true && var.function_app_create_storage_account != true ? var.function_app_storage_account_access_key : var.function_app_storage_account_access_key == null && var.function_app_storage_uses_managed_identity != true && var.function_app_create_storage_account ? module.avm_res_storage_storageaccount[0].resource.primary_access_key : null

Version 0.7.2 - 2024-07-03

Breaking Change(s)

None

Feature(s)

  • lock functionality for function_app_storage_account
  • lock functionality for deployment_slots
  • deployment_slots_inherit_lock defaults to true
  • function_app_storage_account_inherit_lock defaults to true

Update(s)

  • output for the following:
    • deployment_slot_locks
    • private_endpoint_locks
    • resource_lock
    • storage_account_lock

Version 0.7.1 - 2024-06-25

Breaking Change(s)

None

Feature(s)

  • output for system_assigned_mi_principal_id via RMFR7
  • private_endpoints functionality with deployment_slots via Issue #88
  • role_assignments functionality with deployment_slots
  • lock functionality with function_app_storage_account

Update(s)

  • added examples/deployment_slot
  • added examples/deployment_slot_with_interfaces
  • added examples/ip_restriction via Issue #85

Version 0.7.0 - 2024-06-21

Breaking Change(s)

  • terraform required version set to ~>1.6
  • variable client_certificate_mode now defaults to Required to match azurerm resource provider (previously Optional)

Features

  • Deployment Slots via #64
  • outputs for web_app_deployment_slots and web_app_active_slot
  • outputs for identity_principal_id via #84

Update(s)

  • added validation for auto_heal_enabled
    • only set auto_heal_enabled to true if configuring auto_heal_setting block
validation {
    condition     = var.site_config.auto_heal_enabled != null && var.site_config.auto_heal_enabled != true ? contains([true, null], var.site_config.auto_heal_enabled) : true
    error_message = "The value of `auto_heal_enabled` can only be set to `true` or `null`."
  }

Only set auto_heal_setting if auto_heal_enabled is set to true or configuration will result in provider issue

  • added examples / auto_heal_enabled via #77
  • added examples / slot
  • module call for avm_res_storage_storageaccount uses enable_telemetry as toggle
  • configured conditional output for managed and unmanaged private dns zone groups regarding azurerm_private_endpoints (output)
var.private_endpoints_manage_dns_zone_group ? azurerm_private_endpoint.this : azurerm_private_endpoint.this_unmanaged_dns_zone_groups

Version 0.6.3 - 2024-06-12

  • addressing module/provider issue where if auto_heal_enabled was set to true or false, user was still expected to populate auto_heal_setting via Issue #77
    • terraform provider requires user to specify auto_heal_setting if auto_heal_enabled is not set to null in configuration.
    • added conditional that if auto_heal-enabled is not set to true, resolves to null to avoid provider error.
  • bug fixes regarding functionality for dynamic action in auto_heal_setting

bug:

action_type = auto_heal_setting.value.action_type
minimum_process_execution_time = auto_heal_setting.value.minimum_process_execution_time

solution:

action_type                    = auto_heal_setting.value.action.action_type
minimum_process_execution_time = auto_heal_setting.value.action.minimum_process_execution_time

Version 0.6.2 - 2024-06-05

  • addressing fix for backup where argument incorrectly referenced as retention_period_in_days instead of retention_in_days

Version 0.6.1 - 2024-06-04

  • fixes logic for ftps_state affecting ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled for azurerm_windows_function_app, azurerm_linux_web_app, and azurerm_windows_web_app
  • adds logic for storage_account_name concerning linux function app
storage_account_name                     = var.function_app_create_storage_account ? module.avm_res_storage_storageaccount[0].name : var.function_app_storage_account_name`
  • added example \ basic_auth for basic authentication

Version 0.6.0 - 2024-06-03

  • Module to reference v0.1.2 of avm_res_storage_storageaccount module (source) via Issue #67
    • added optional argument for location for function_app_storage_account variable
    • location will resolve to the location of the function app if not supplied in function_app_storage_account object
  • addressed logic for webdeploy_publish_basic_authentication_enabled that only allowed for configuration if ftps_state was set to "AllAllowed" via Issue #71
Initial condition:

webdeploy_publish_basic_authentication_enabled = var.site_config.ftps_state == "AllAllowed" ? var.webdeploy_publish_basic_authentication_enabled : false

Current condition:

webdeploy_publish_basic_authentication_enabled = var.site_config.ftps_state == "Disabled" ? false : var.webdeploy_publish_basic_authentication_enabled
  • addressing bug where dynamic custom_oidc_v2 blocks reference authorisation_endpoint but custom_oidc_v2 object had authorization_endpoint instead via Issue #66
  • addressing bug where optional arguments within auth_settings_v2 were resolving to null instead of empty maps / objects, which caused errors via Issue #69
    • active_directory_v2
    • apple_v2
    • azure_static_web_app_v2
    • custom_oidc_v2
    • facebook_v2
    • github_v2
    • google_v2
    • twitter_v2

Version 0.5.0 - 2024-05-16

  • virtual_application default supported in site_config for azurerm_windows_web_app:
    • This is to address the following issues:
      • Issue #52
      • Provider Issue where always_on is toggled off but provider attempts to add default virtual_application on plan/apply after initial apply.
  • headers to type map(object) instead of object
    • Addresses Issue #53
  • removal of logic for "APPLICATIONINSIGHTS_CONNECTION_STRING" and "APPINSIGHTS_INSTRUMENTATIONKEY" in app_settings for azurerm_(windows|linux)_function_app
    • Addresses Issue #55 / Issue #56
    • use arguments application_insights_connection_string and application_insights_key in site_config variable as provider will set "APPLICATIONINSIGHTS_CONNECTION_STRING" and "APPINSIGHTS_INSTRUMENTATIONKEY" keys in app_settings accordingly

Version 0.4.0 - 2024-05-06

  • fixing bug where module references to undeclared resource:
    • ip_restriction dynamic block that wrongly references scm_ip_restriction instead of ip_restriction
  • addresses addition feature capabilities for new_service_plan:
    • maximum_elastic_worker_count
    • per_site_scaling_enabled
    • worker_count
    • zone_balancing_enabled

Version 0.3.0 - 2024-04-18

  • APRL recommendation:
    • Application Insights enabled by default (via enable_application_insights)
  • Linting fixes for interfaces:
    • managed_identites:
      • nullable set to false
    • private_endpoints:
      • removed inherit_lock argument
      • removed inherit_tags argument
      • nullable set to false
    • lock:
      • kind is required argument
      • default set to null instead of {}
      • removed None as valid values for kind
    • role_assignments:
      • nullable set to false
    • tags:
      • type set to map(string) instead of map(any)
      • default set to null instead of {}
  • Deprecated variables/arguments:
    • inherit_lock argument in private_endpoints
    • inherit_tags argument in private_endpoints
  • New variables:
    • all_child_resources_inherit_tags
    • all_child_resources_inherit_lock
    • private_endpoints_inherit_lock
    • private_endpoints_manage_dns_zone_group

Version 0.2.1 - 2024-04-02

Addition outputs:

  • application_insights
  • service_plan
  • storage_account

Version 0.2.0 - 2024-03-27

  • feat: functionality to deploy web apps
  • kind variable to determine functionapp or webapp
  • feat: functionality to create new storage account within module
  • feat: functionality to create new service plan within module
  • feat: functionality to reference app service environment

Version 0.1.2 - 2024-03-12

  • doc fixes
  • update locals.version.tf.json
  • update examples to reference 0.1.2

Version 0.1.1 - 2024-03-12

  • doc fixes
  • feat: custom domain
  • feat: application insights
 
 {
  "workingFolder": "packages",
  "packages": [
    // packages defined earlier
    {
      "name": "avm-terraform/web-site",
      "version": "0.9.1"
    }
  ]
}

This package has no dependencies

Stats

Selected version:

0.9.1

Downloads this version:

0

Downloads all versions:

0

Latest version:

0.18.0

Latest update:

29-07-2025

avm-terraform

Other versions (39)

0.18.0

0.17.2

0.17.1

0.17.0

0.16.4

0.16.3

0.16.2

0.16.1

0.16.0

0.15.2