Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

avinor/terraform-azurerm-lighthouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Lighthouse

Terraform module to manage an Azure Lighthouse definition and assignment.

Usage

The example below grants access to log analytics for an Azure B2C tenant, like described in this tutorial.

module "b2clogs" {
  
  source = "github.com/avinor/terraform-azurerm-lighthouse"

  description        = "Allow The B2C tenant to use Log Analytics"
  managing_tenant_id = "00000000-0000-0000-0000-000000000000"

  definition_scope = "/subscriptions/00000000-0000-0000-0000-000000000001"

  principal_id           = "00000000-0000-0000-0000-000000000002"
  role_definition_id     = "b24988ac-6180-42a0-ab88-20f7382dd24c"
  principal_display_name = "Azure AD B2C tenant administrators"

  assignment_scope = "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/log-analytics-rg"
}