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

Latest commit

 

History

History
28 lines (19 loc) · 972 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 972 Bytes

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"
}