Skip to content

Commit

Permalink
[GCP] Fix minimal roles for users (#2704)
Browse files Browse the repository at this point in the history
Fix GCP minimal roles for users
  • Loading branch information
Michaelvll authored Oct 13, 2023
1 parent 427bd60 commit e6e682f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/cloud-setup/cloud-permissions/gcp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The easiest way to grant permissions to a user access your GCP project without t
roles/iam.securityAdmin
.. note::
If the ``roles/iam.securityAdmin`` role is undesirable, you can do the following. First, include the role and have any user (e.g., the admin) run ``sky launch --cloud gcp`` successfully once. This is to create the necessary service account. Then, remove the role from the list above.
If the ``roles/iam.securityAdmin`` role is undesirable, you can do the following. First, include the role and have any user (e.g., the admin) run ``sky launch --cloud gcp`` successfully once. This is to create the necessary service account. Then, replace the role ``roles/iam.securityAdmin`` with ``roles/iam.roleViewer`` in the list above.


Optionally, to use TPUs, add the following role:
Expand Down

0 comments on commit e6e682f

Please sign in to comment.