76 строки
1.5 KiB
HCL
76 строки
1.5 KiB
HCL
# ---------------
|
|
# Azure AD Groups
|
|
# ---------------
|
|
# Workspaces generally have 2 groups of actors, general
|
|
# team members who are granted "Contributor" permissions
|
|
# and admins who are granted "Owner" permissions.
|
|
|
|
groups = {
|
|
fruits_team = "fruits-team"
|
|
fruits_devs = "fruits-devs"
|
|
fruits_admins = "fruits-admins"
|
|
veggies_team = "veggies-team"
|
|
veggies_devs = "veggies-devs"
|
|
veggies_admins = "veggies-admins"
|
|
infra_team = "infra-team"
|
|
infra_devs = "infra-dev"
|
|
infra_admins = "infra-admins"
|
|
}
|
|
|
|
# ---------------------
|
|
# Azure DevOps Projects
|
|
# ---------------------
|
|
|
|
projects = {
|
|
proj_fruits = {
|
|
name = "project-fruits"
|
|
description = "Demo using AAD groups"
|
|
team = "fruits"
|
|
}
|
|
|
|
proj_veggies = {
|
|
name = "project-veggies"
|
|
description = "Demo using AAD groups"
|
|
team = "veggies"
|
|
}
|
|
|
|
proj_infra = {
|
|
name = "central-it"
|
|
description = "Central IT managed stuff"
|
|
team = "infra"
|
|
}
|
|
}
|
|
|
|
# ----------------
|
|
# ARM Environments
|
|
# ----------------
|
|
# The keys can be referenced in outputs,
|
|
# e.g. module.workspace["shared"]. Suffixes are appended later.
|
|
|
|
environments = {
|
|
fruits_dev = {
|
|
env = "dev"
|
|
team = "fruits"
|
|
}
|
|
|
|
fruits_prod = {
|
|
env = "prod"
|
|
team = "fruits"
|
|
}
|
|
|
|
veggies_dev = {
|
|
env = "dev"
|
|
team = "veggies"
|
|
}
|
|
|
|
veggies_prod = {
|
|
env = "prod"
|
|
team = "veggies"
|
|
}
|
|
|
|
infra_shared = {
|
|
env = "shared"
|
|
team = "infra"
|
|
}
|
|
}
|