Replies: 2 comments 2 replies
-
|
Yes, that role seems to have indeed been lost. Let me try to bring it back, and thanks for opening this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
#3454 should fix this, it still needs some cleanup and required a few rounds of changes to the service account module |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
While deploying a new landing zone, using the new stages, I encountered an error with workload identity federation.
My cicd configuration is targeting Gitlab Saas. I solved my issue patching the 0-org-setup locally, and opened a PR describing my problem: #3389.
Following with the answer from @ludoo, I tried to understand the way permissions are set to the right principalSet, but it seems to me as if something is missing in the stage.
If my understanding is correct, permissions would be set using
principal_branchand/orprincipal_repo, that are defined inwif-definitions.tf. It should also used data defined incicd.yaml, underworkflows > <id> > repository,nameandbranch.What puzzle me, is that looking for the string
principalSetin the0-org-setuponly returns results from thewif-definitions.tffile. So it seems to me as if it's unused and something is missing.Looking at stage 0-bootstrap, in file
cicd.tffrom v43, I see some lines related toroles/iam.workloadIdentityUser, that useprincipal_branch,principal_repo,repository.nameandrepository.branch:cloud-foundation-fabric/fast/stages/0-bootstrap/cicd.tf
Lines 79 to 94 in b245abf
I do not see something similar in 0-org-setup starting with v44.
Am I right to think that the configuration of
roles/iam.workloadIdentityUserhas been lost going from v43 to v44 and from 0-bootstrap to 0-org-setup, or have I been missing something while reading the code ?Beta Was this translation helpful? Give feedback.
All reactions