Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Workstations Change Default Scopes #68

Open
Collinbrown95 opened this issue Feb 15, 2024 · 0 comments
Open

Cloud Workstations Change Default Scopes #68

Collinbrown95 opened this issue Feb 15, 2024 · 0 comments
Assignees

Comments

@Collinbrown95
Copy link
Contributor

Description

In addition to having the necessary IAM roles, the VM instances that are created by cloud workstations need to have the sufficient OAuth scopes for requests made from the instances.

This has presented an issue where users on the RStudio cloud workstations can read from GCS buckets in the same project, but cannot write back to those buckets, despite having sufficient IAM permissions. The problem is that, by default, the VM created by the cloud workstation resource has Storage: "Read Only" access scope, which prevents writing to a bucket by a user of the RStudio cloud workstation.

It should be possible to configure service_account_scope directly in Terraform to grant the VM instances created the read-write scope.

Relevant Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants