Skip to content

Commit

Permalink
Merge pull request #2096 from Especially/patch-1
Browse files Browse the repository at this point in the history
FIX: Missing Parameters in Function App result in failed execution
  • Loading branch information
arnaudlh authored Mar 2, 2025
2 parents 55946c7 + 71f9ebd commit 7bd5b35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/webapps/function_app/module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@ resource "azurerm_function_app" "function_app" {

content {
ip_address = lookup(ip_restriction.value, "ip_address", null)
service_tag = lookup(scm_ip_restriction.value, "service_tag", null)
virtual_network_subnet_id = lookup(ip_restriction.value, "virtual_network_subnet_id", null)
name = lookup(scm_ip_restriction.value, "name", null)
priority = lookup(scm_ip_restriction.value, "priority", null)
action = lookup(scm_ip_restriction.value, "action", null)
}
}
dynamic "scm_ip_restriction" {
Expand Down

0 comments on commit 7bd5b35

Please sign in to comment.