cicd-setup: fix object id exports

This commit is contained in:
Julie Ng 2022-05-01 14:25:04 +02:00
Родитель 12dd35e4f0
Коммит 197f94e50e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 0CBC37BD160B350D
2 изменённых файлов: 12 добавлений и 7 удалений

Просмотреть файл

@ -37,14 +37,20 @@ When this Infrastructure as Code is deployed successfully…
```
aad_superowners_group_id = "73c74b2f-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
headless_owner_sp = {
"application_id" = "89b93e8b-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
headless_owner_service_principal = {
"display_name" = "governance-demo-github-cicd"
"object_id" = "2c05b567-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```
👉 Note the **aad_superowners_group_id** value `73c74b2f-xxxx-xxxx-xxxx-xxxxxxxxxxxx` which you need for this project.
### Required Object IDs for Main Project
These values can be set locally. See [`local.auto.tfvars`](./../../../devops-governance/local.auto.tfvars.example) for details.
👉 Note the **aad_superowners_group_id** value `73c74b2f-xxxx-xxxx-xxxx-xxxxxxxxxxxx` which you need for the `superadmins_aad_object_id` variable in the main project.
👉 Note the **headless_owner_service_principal.object_id** value `2c05b567-xxxx-xxxx-xxxx-xxxxxxxxxxxx` which you need for the `application_owners_ids` variable in the main project.
## ❗️ Last Step - Grant Admin Consent

Просмотреть файл

@ -120,10 +120,9 @@ output "aad_superowners_group_id" {
value = azuread_group.superowners.object_id
}
output "headless_owner_sp" {
output "headless_owner_service_principal" {
value = {
display_name = azuread_application.headless_owner.display_name
object_id = azuread_application.headless_owner.object_id
application_id = azuread_application.headless_owner.application_id
display_name = azuread_service_principal.headless_owner.display_name
object_id = azuread_service_principal.headless_owner.object_id
}
}