caf-activity-logs

aztfmod/caf-activity-logs/azurerm

Terraform Module HCL AZURERM ✓ Verified

Azure Activity logs module for Cloud Adoption Framework for Azure landing zones

Install
module "caf-activity-logs" {
source = "aztfmod/caf-activity-logs/azurerm"
version = "3.1.0"
}
⭐ Source on GitHub 📦 Registry page
README

![VScodespaces](https://online.visualstudio.com/environments/new?name=terraform-azurerm-caf-activity-logs&repo=aztfmod/terraform-azurerm-caf-activity-logs) ![Gitter](https://gitter.im/aztfmod/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Configures the Azure Activity Logs for a subscription Configures the Azure Activity Logs rention for a subscription into: 1. Event Hub for short term and fast access (optional). 2. Storage account for long term retention. 3. Log Analytics Reference the module to a specific version (recommended): ``hcl module "activity_logs" { source = "aztfmod/caf-activity-logs/azurerm" version = "0.x.y" convention = local.convention location = local.location name = local.name diagnostic_name = local.diagnostic_name log_analytics_workspace_id = module.

Inputs (12)
NameTypeDescriptionDefault
locationstring(Required) Define the region where the resources will be created. required
log_analytics_workspace_idstring(Required) Id of the Log Analytics workspace required
conventionstring(Required) Naming convention method to use required
namestring(Required) Name for the objects created (before naming convention applied.) required
resource_group_namestring(Required) Name of the resource group to deploy the activity logs. required
diagnostic_namestringname of the diagnostic setting required
tagsstring(Required) Tags for the logs repositories to be created required
audit_settings_objectstring(Required) Contains the settings for Azure Audit activity log retention required
max_lengthstring(Optional) You can speficy a maximum length to the name of the resource""
enable_event_hubstring(Optional) Determine to deploy Event Hub for the configurationtrue
prefixstring(Optional) You can use a prefix to the name of the resource""
postfixstring(Optional) You can use a postfix to the name of the resource""
Outputs (1)
seclogs_map — Ouputs a map with storage account id (activity_sa), eventhub name (activity_eh_name) and id (activit
Resources (4)
azurecaf_naming_conventionazurerm_eventhub_namespaceazurerm_monitor_diagnostic_settingazurerm_storage_account
Details
FrameworkTerraform Module
LanguageHCL
Version3.1.0
Cloud AZURERM
★ Stars2
Forks19
Total downloads57.3k
Inputs12
Outputs1
Resources4
Examples1
LicenseMIT
Namespaceaztfmod
Updated