2021-06-11 16:42:24 +03:00
|
|
|
# ---------------
|
|
|
|
# Azure AD Groups
|
|
|
|
# ---------------
|
2020-11-03 09:39:50 +03:00
|
|
|
|
|
|
|
output "aad_groups" {
|
2021-06-11 16:42:24 +03:00
|
|
|
value = [
|
|
|
|
for group in azuread_group.groups :
|
|
|
|
group.display_name
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
# ------------------------------
|
|
|
|
# Resource Groups ("Workspaces")
|
|
|
|
# ------------------------------
|
|
|
|
|
|
|
|
output "arm_environments" {
|
|
|
|
value = [
|
|
|
|
for env in module.arm_environments : {
|
|
|
|
resource_group = env.resource_group.name
|
|
|
|
storage_account = env.storage_account
|
|
|
|
}
|
|
|
|
]
|
2020-11-03 09:39:50 +03:00
|
|
|
}
|
|
|
|
|
2021-06-11 16:42:24 +03:00
|
|
|
# ------------------
|
|
|
|
# Service Principals
|
|
|
|
# ------------------
|
|
|
|
|
|
|
|
output "service_principals" {
|
|
|
|
value = [
|
|
|
|
for sp in module.service_principals :
|
|
|
|
sp.display_name
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
# ------------------
|
|
|
|
# Azure DevOps (ADO)
|
|
|
|
# ------------------
|
|
|
|
|
2020-11-03 09:39:50 +03:00
|
|
|
output "azure_devops_projects" {
|
2021-06-11 16:42:24 +03:00
|
|
|
value = [
|
|
|
|
for proj in azuredevops_project.team_projects : {
|
|
|
|
name = proj.name
|
|
|
|
description = proj.description
|
|
|
|
features = proj.features
|
|
|
|
visibility = proj.visibility
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
# ADO Security Groups
|
|
|
|
|
|
|
|
output "azure_devops_service_connections" {
|
|
|
|
value = module.service_connections[*]
|
2020-11-03 09:39:50 +03:00
|
|
|
}
|
|
|
|
|
2021-06-11 16:42:24 +03:00
|
|
|
output "azure_devops_team_permissions" {
|
|
|
|
value = module.ado_team_permissions[*]
|
2020-11-03 09:39:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
output "azure_devops_collaboration_permissions" {
|
|
|
|
value = {
|
2021-06-11 16:42:24 +03:00
|
|
|
fruits = module.ado_collaboration_permissions_fruits
|
|
|
|
veggies = module.ado_collaboration_permissions_veggies
|
2020-11-03 09:39:50 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
output "azure_devops_supermarket_permissions" {
|
|
|
|
value = {
|
2021-06-11 16:42:24 +03:00
|
|
|
fruits = module.ado_supermarket_permissions_fruits
|
|
|
|
veggies = module.ado_supermarket_permissions_veggies
|
2020-11-03 09:39:50 +03:00
|
|
|
}
|
|
|
|
}
|