-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix load generation function for Terraform 3.0 (#304)
* use appinsights connstring attribute * run from package out * run from package out * no appsettings * settings back * runtime back * node runtime out * runtime out * move appinsights to LAW mode * fix law name * rename * try env * back to stack * package out * update tf to 3.3.0 * try setting * try ignore
- Loading branch information
Showing
7 changed files
with
51 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,21 @@ | ||
resource "azurerm_log_analytics_workspace" "deployment" { | ||
name = "${local.prefix}-loadgen-log" | ||
location = azurerm_resource_group.deployment.location | ||
resource_group_name = azurerm_resource_group.deployment.name | ||
sku = "PerGB2018" | ||
retention_in_days = 30 # has to be between 30 and 730 | ||
daily_quota_gb = 30 | ||
|
||
tags = local.default_tags | ||
} | ||
|
||
resource "azurerm_application_insights" "deployment" { | ||
name = "${local.prefix}-loadgen-appi" | ||
location = azurerm_resource_group.deployment.location | ||
resource_group_name = azurerm_resource_group.deployment.name | ||
application_type = "web" | ||
workspace_id = azurerm_log_analytics_workspace.deployment.id | ||
daily_data_cap_in_gb = 30 | ||
|
||
tags = local.default_tags | ||
} |
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