forked from aztfmod/terraform-azurerm-caf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor function_app.tf and variables.tf to include diagnostic profiles and diagnostics * Added app insight app services Added diagnostics app services * fixed variables
- Loading branch information
1 parent
cbfc1eb
commit cf144d3
Showing
8 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module "diagnostics" { | ||
source = "../../diagnostics" | ||
count = var.diagnostic_profiles == null ? 0 : 1 | ||
|
||
resource_id = azurerm_linux_function_app.linux_function_app.id | ||
resource_location = local.location | ||
diagnostics = var.diagnostics | ||
profiles = var.diagnostic_profiles | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module "diagnostics" { | ||
source = "../../diagnostics" | ||
count = var.diagnostic_profiles == null ? 0 : 1 | ||
|
||
resource_id = azurerm_linux_web_app.linux_web_apps.id | ||
resource_location = local.location | ||
diagnostics = var.diagnostics | ||
profiles = var.diagnostic_profiles | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module "diagnostics" { | ||
source = "../../diagnostics" | ||
count = var.diagnostic_profiles == null ? 0 : 1 | ||
|
||
resource_id = azurerm_windows_function_app.windows_function_app.id | ||
resource_location = local.location | ||
diagnostics = var.diagnostics | ||
profiles = var.diagnostic_profiles | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module "diagnostics" { | ||
source = "../../diagnostics" | ||
count = var.diagnostic_profiles == null ? 0 : 1 | ||
|
||
resource_id = azurerm_windows_web_app.windows_web_apps.id | ||
resource_location = local.location | ||
diagnostics = var.diagnostics | ||
profiles = var.diagnostic_profiles | ||
} |