All Modules
AzureIdentity

OIDC

Azure AD application and role assignments for GitHub Actions OIDC

Usage

module "azure_oidc" {
  source = "github.com/fencepencil/fencepencil-azure-modules//azure-oidc"

  trust_subjects = ["<value>"]
  role_assignments = ["<value>"]

  tags = var.tags
}

Inputs (4)

NameTypeDescriptionDefaultRequired
application_namestringDisplay name for the Azure AD appGitHubActionsDeployRoleno
trust_subjectslist(string)GitHub OIDC subject claims to trustyes
role_assignmentslist(string)Azure scope IDs to assign the role toyes
role_definition_namestringAzure RBAC role to assignContributorno

Outputs (4)

NameDescription
application_idApplication (client) ID
service_principal_idService principal object ID
tenant_idAzure AD tenant ID
subscription_idAzure subscription ID

More Azure Modules

Browse our full library of Azure infrastructure modules.

View all Azure modules