changing region; adding outputs

This commit is contained in:
Tom Archer 2024-11-01 10:58:20 -07:00 committed by lonegunmanb
parent 6b5c659496
commit 6b503a1302
2 changed files with 48 additions and 1 deletions

View File

@ -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
}

View File

@ -12,7 +12,7 @@ variable "resource_group_name_prefix" {
variable "resource_group_location" { variable "resource_group_location" {
type = string type = string
default = "eastus" default = "westus"
description = "Location of the resource group." description = "Location of the resource group."
} }