Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Diagnostics logging module for Cloud Adoption Framework for Azure landing zones

License

Notifications You must be signed in to change notification settings

aztfmod/terraform-azurerm-caf-diagnostics-logging

Repository files navigation

READ ME

Thanks for your interest in Cloud Adoption Framework for Azure landing zones on Terraform. This module is now deprecated and no longer maintained.

As part of Cloud Adoption Framework landing zones for Terraform, we have migrated to a single module model, which you can find here: https://github.com/aztfmod/terraform-azurerm-caf and on the Terraform registry: https://registry.terraform.io/modules/aztfmod/caf/azurerm

In Terraform 0.13 you can now call directly submodules easily with the following syntax:

module "caf_firewall" {
  source  = "aztfmod/caf/azurerm//modules/networking/firewall"
  version = "0.4.18"
  # insert the 9 required variables here
}

VScodespaces Gitter

Deploys the operations log repositories

Creates Storage Account and Event Hubs to be used for diagnostics and operations logs.

Reference the module to a specific version (recommended):

module "diagnostics_logging" {
    source  = "aztfmod/caf-diagnostics-logging/azurerm"
    version = "0.x.y"
  
    convention          = local.convention
    location            = local.location
    name                = local.name
    prefix              = local.prefix
    tags                = local.tags
    resource_group_name = azurerm_resource_group.rg_test.name
    enable_event_hub    = local.azure_diagnostics_logs_event_hub
}

Requirements

No requirements.

Providers

Name Version
azurecaf n/a
azurerm n/a

Inputs

Name Description Type Default Required
convention (Required) Naming convention method to use any n/a yes
enable_event_hub (Optional) Determine to deploy Event Hub for the configuration bool true no
location (Required) Define the region where the resources will be created any n/a yes
max_length (Optional) You can speficy a maximum length to the name of the resource string "" no
name (Required) Name for the objects created (before naming convention applied.) any n/a yes
postfix (Optional) You can use a postfix to the name of the resource string "" no
prefix (Optional) You can use a prefix to the name of the resource string "" no
resource_group_name (Required) Name of the resource group to deploy the operations log. any n/a yes
tags (Required) Tags for the logs repositories to be created any n/a yes

Outputs

Name Description
diagnostics_map Map of diagnostics repositories: diags_sa, diags_sa_name, diags_sa_rg, eh_name (optional), eh_id(optional)

About

Diagnostics logging module for Cloud Adoption Framework for Azure landing zones

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages