Name | Version |
---|---|
terraform | >= 1.6.3 |
azurerm | 4.14.0 |
Name | Version |
---|---|
azurerm | 4.14.0 |
Name | Type |
---|---|
azurerm_application_insights.main | resource |
azurerm_log_analytics_workspace.main | resource |
azurerm_client_config.current | data source |
azurerm_resource_group.rg | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
application_insights_daily_data_cap_in_gb | The daily data volume cap in GB for the Application Insights component. The default is 100 GB. | number |
100 |
no |
application_insights_name | The name of the Application Insights resource. Changing this forces a new resource to be created. | string |
n/a | yes |
application_insights_type | The type of Application Insights to create. Valid values are ios, java, MobileCenter, Node.JS, other, phone, store, and web (for ASP.NET). Changing this forces a new resource to be created. | string |
"web" |
no |
default_tags | A mapping of tags to assign to the resource. These tags can help categorize and organize the resource within Azure. | map(any) |
n/a | yes |
environment | Variable used for backend container name key, typically used to distinguish between different environments such as dev, prod, etc. | string |
"dev" |
no |
log_analytics_workspace_daily_quota_gb | The daily data ingestion quota in GB for the Log Analytics Workspace. If omitted, the default value is -1 (unlimited). | number |
-1 |
no |
log_analytics_workspace_name | The name of the Log Analytics Workspace. The name should be between 4 and 63 characters, consisting of letters, digits, and hyphens. Changing this forces a new resource to be created. | string |
n/a | yes |
log_analytics_workspace_retention_in_days | The number of days to retain data in the Log Analytics Workspace. The Free tier supports only 7 days, while other tiers can range from 30 to 730 days. | number |
30 |
no |
log_analytics_workspace_sku | The SKU for the Log Analytics Workspace. Options include Free, PerNode, Premium, Standard, Standalone, Unlimited, CapacityReservation, and PerGB2018. The default is PerGB2018. | string |
"PerGB2018" |
no |
region | The Azure region in which resources will be deployed, for example, 'weu' (West Europe). | string |
"weu" |
no |
resource_group_location | The location/region where the Application Insights is created. Changing this forces a new resource to be created. | string |
"West Europe" |
no |
resource_group_name | The name of the resource group in which to create the virtual network. This is an important organizational construct in Azure. | string |
n/a | yes |
Name | Description |
---|---|
app_id | The App ID associated with this Application Insights component, used for identifying the Application Insights resource. |
id | The ID of the Application Insights component. |
instrumentation_key | The Instrumentation Key associated with this Application Insights component, used for tracking and monitoring telemetry data. |