Skip to content

Commit

Permalink
Update outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Darrell Bolger committed Jan 24, 2024
1 parent ffa9ac7 commit 6b33bc2
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/linux-function-app/src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ resource "azurerm_linux_function_app" "main" {
use_custom_runtime = local.application_stack.use_custom_runtime
use_dotnet_isolated_runtime = local.application_stack.use_dotnet_isolated_runtime
}
always_on = var.always_on
ftps_state = "Disabled"
vnet_route_all_enabled = var.vnet_route_all_enabled
application_insights_connection_string = var.application_insights_connection_string
application_insights_key = var.application_insights_key
always_on = var.always_on
ftps_state = "Disabled"
vnet_route_all_enabled = var.vnet_route_all_enabled

dynamic "ip_restriction" {
for_each = var.ip_restriction
Expand Down
4 changes: 4 additions & 0 deletions modules/linux-function-app/src/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ output "hosting_environment_id" {
value = azurerm_linux_function_app.main.hosting_environment_id
}

output "identity" {
value = azurerm_linux_function_app.main.identity[*]
}

output "possible_outbound_ip_addresses" {
value = azurerm_linux_function_app.main.possible_outbound_ip_addresses
}
10 changes: 10 additions & 0 deletions modules/linux-function-app/src/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
variable "application_insights_connection_string" {
type = string
default = null
}

variable "application_insights_key" {
type = string
default = null
}

variable "always_on" {
type = bool
default = true
Expand Down
4 changes: 4 additions & 0 deletions modules/linux-web-app/src/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ output "id" {
value = azurerm_linux_web_app.main.id
}

output "identity" {
value = azurerm_linux_web_app.main.identity[*]
}

output "name" {
value = azurerm_linux_web_app.main.name
}
Expand Down

0 comments on commit 6b33bc2

Please sign in to comment.