Skip to content

Commit

Permalink
add dev connect role to fah compute sa (#7043)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyjhuang authored Apr 24, 2024
1 parent 95eb94a commit d55fc10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/apphosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ async function provisionDefaultComputeServiceAccount(projectId: string): Promise
await addServiceAccountToRoles(
projectId,
defaultComputeServiceAccountEmail(projectId),
["roles/firebaseapphosting.computeRunner", "roles/firebase.sdkAdminServiceAgent"],
[
"roles/firebaseapphosting.computeRunner",
"roles/firebase.sdkAdminServiceAgent",
"roles/developerconnect.tokenAccessor",
],
/* skipAccountLookup= */ true,
);
}
Expand Down

0 comments on commit d55fc10

Please sign in to comment.