Skip to content

Commit

Permalink
changing region; adding outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomArcherMsft committed Nov 1, 2024
1 parent a75d5d0 commit b73933a
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
47 changes: 47 additions & 0 deletions quickstart/101-azure-functions/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
output "resource_group_name" {
value = azurerm_resource_group.rg.name
}

output "sa_name" {
value = azurerm_storage_account.example.name
}

output "asp_name" {
value = azurerm_app_service_plan.example.name
}

output "fa_name" {
value = azurerm_function_app.example.name
}

output "sa_primary_access_key" {
value = azurerm_storage_account.example.primary_access_key
}

output "sa_primary_connection_string" {
value = azurerm_storage_account.example.primary_connection_string
}

output "sa_secondary_access_key" {
value = azurerm_storage_account.example.secondary_access_key
}

output "sa_secondary_connection_string" {
value = azurerm_storage_account.example.secondary_connection_string
}

output "asp_id" {
value = azurerm_app_service_plan.example.id
}

output "fa_id" {
value = azurerm_function_app.example.id
}

output "fa_default_hostname" {
value = azurerm_function_app.example.default_hostname
}

output "fa_outbound_ip_addresses" {
value = azurerm_function_app.example.outbound_ip_addresses
}
2 changes: 1 addition & 1 deletion quickstart/101-azure-functions/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "resource_group_name_prefix" {

variable "resource_group_location" {
type = string
default = "eastus"
default = "westus"
description = "Location of the resource group."
}

Expand Down

0 comments on commit b73933a

Please sign in to comment.