MIT License
Bot releases are visible (Hide)
0.1.0
of avm-res-web-serverfarm
from azurerm_service_plan
service_plan
avm-res-storage-storageaccount
inputsnew_service_plan
variable0.2.4
of avm-res-storage-storageaccount
x_fd_health_probe
to properly work when using ip_restriction
/scm_ip_restriction
and Azure Front Doorworker_count
defaults to 3
zone_balancing_enabled
defaults to true
sku_name
defaults to P1v2
Published by donovm4 2 months ago
None
None
linux_function_app
linux_web_app
windows_function_app
windows_web_app
function_app
web_app
Published by donovm4 3 months ago
key
references of dynamic
blocks application_logs
and http_logs
for logs
via Issue #106None
azure_blob_storage
block to reference azure_blob_storage_http
instead of azure_blob_storage
for http_logs
examples
/logs
Published by donovm4 3 months ago
None
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
thumbprints
as new output
exmples
/cusom_domain
/main.tf
filePublished by donovm4 3 months ago
azurerm_app_service_custom_hostname_binding
will likely affect any configurations with existing custom domains managed by terraform
azurerm_app_service_slot_custom_hostname_binding
resource via Issue #101.uses
slot_as_target
incustom_domains
as toggle to differentiate betweenazurerm_app_service_custom_hostname_binding
andazurerm_app_service_slot_custom_hostname_binding
azurerm_app_service_certificate
to accept key_vault_id
argument via Issue #102function_app_active_slot
function_app_deployment_slots
kind
os_type
Published by donovm4 3 months ago
None
modtm
provider (view here)locals.telemetry.tf
locals.telemetry.tf.json
examples
/ storage_uses_managed_identity
storage_uses_managed_identity
for azurerm_(windows | linux)_function_app
via Issue #96Previous:
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
azurerm_linux_function_app
and azurerm_linux_function_app_slot
to account for created storage account's access keystorage_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
Published by donovm4 4 months ago
None
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
output
for the following:
deployment_slot_locks
private_endpoint_locks
resource_lock
storage_account_lock
Published by donovm4 4 months ago
None
system_assigned_mi_principal_id
via RMFR7
private_endpoints
functionality with deployment_slots
via Issue #88role_assignments
functionality with deployment_slots
lock
functionality with function_app_storage_account
examples
/deployment_slot
examples
/deployment_slot_with_interfaces
examples
/ip_restriction
via Issue #85Published by donovm4 4 months ago
terraform
required version set to ~>1.6
client_certificate_mode
now defaults to Required
to match azurerm
resource provider (previously Optional
)web_app_deployment_slots
and web_app_active_slot
identity_principal_id
via #84auto_heal_enabled
auto_heal_enabled
to true
if configuring auto_heal_setting
blockvalidation {
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
ifauto_heal_enabled
is set totrue
or configuration will result in provider issue
examples
/ auto_heal_enabled
via #77examples
/ slot
avm_res_storage_storageaccount
uses enable_telemetry
as toggleazurerm_private_endpoints
(output)var.private_endpoints_manage_dns_zone_group ? azurerm_private_endpoint.this : azurerm_private_endpoint.this_unmanaged_dns_zone_groups
Published by donovm4 4 months ago
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.auto_heal-enabled
is not set to true
, resolves to null
to avoid provider error.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
Published by donovm4 5 months ago
backup
where argument incorrectly referenced as retention_period_in_days
instead of retention_in_days
Published by donovm4 5 months ago
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
storage_account_name
concerning linux function appstorage_account_name = var.function_app_create_storage_account ? module.avm_res_storage_storageaccount[0].name : var.function_app_storage_account_name`
example
\ basic_auth
for basic authenticationPublished by donovm4 5 months ago
v0.1.2
of avm_res_storage_storageaccount
module (source) via Issue #67
location
for function_app_storage_account
variablelocation
will resolve to the location of the function app if not supplied in function_app_storage_account
objectwebdeploy_publish_basic_authentication_enabled
that only allowed for configuration if ftps_state
was set to "AllAllowed"
via Issue #71Initial 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
custom_oidc_v2
blocks reference authorisation_endpoint
but custom_oidc_v2
object had authorization_endpoint
instead via Issue #66auth_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
Published by donovm4 5 months ago
virtual_application
default supported in site_config
for azurerm_windows_web_app
:
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
"APPLICATIONINSIGHTS_CONNECTION_STRING"
and "APPINSIGHTS_INSTRUMENTATIONKEY"
in app_settings
for azurerm_(windows|linux)_function_app
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
accordinglyPublished by donovm4 6 months ago
ip_restriction
dynamic block that wrongly references scm_ip_restriction
instead of ip_restriction
new_service_plan
:
maximum_elastic_worker_count
per_site_scaling_enabled
worker_count
zone_balancing_enabled
Published by donovm4 6 months ago
enable_application_insights
)managed_identites
:
nullable
set to false
private_endpoints
:
inherit_lock
argumentinherit_tags
argumentnullable
set to false
lock
:
kind
is required argumentdefault
set to null
instead of {}
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 {}
inherit_lock
argument in private_endpoints
inherit_tags
argument in private_endpoints
all_child_resources_inherit_tags
all_child_resources_inherit_lock
private_endpoints_inherit_lock
private_endpoints_manage_dns_zone_group
Published by donovm4 7 months ago
Addition outputs:
application_insights
service_plan
storage_account
Published by donovm4 7 months ago
kind
variable to determine functionapp
or webapp
Published by donovm4 7 months ago
locals.version.tf.json
examples
to reference 0.1.2
Published by donovm4 7 months ago