From 494270f6b54a6531c698ffb1af09be706cdd5a56 Mon Sep 17 00:00:00 2001 From: Ludo Date: Sat, 28 Jan 2023 09:29:31 +0100 Subject: [PATCH] add missing role for initial user --- fast/stages/00-bootstrap/organization.tf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fast/stages/00-bootstrap/organization.tf b/fast/stages/00-bootstrap/organization.tf index 0700d564e2..33b87820d3 100644 --- a/fast/stages/00-bootstrap/organization.tf +++ b/fast/stages/00-bootstrap/organization.tf @@ -23,9 +23,10 @@ locals { "roles/browser" = [ "domain:${var.organization.domain}" ] - "roles/logging.admin" = [ - module.automation-tf-bootstrap-sa.iam_email - ] + "roles/logging.admin" = concat( + [module.automation-tf-bootstrap-sa.iam_email], + local._iam_bootstrap_user + ) "roles/owner" = local._iam_bootstrap_user "roles/resourcemanager.folderAdmin" = [ module.automation-tf-resman-sa.iam_email