Skip to content

🎥 Make videos programmatically with React

permissions finalised for deployment

Matt McGillivrayf2e8ce43116b
diff --git a/packages/gcp/readme.md b/packages/gcp/readme.md
index 773ae2b6a6..d5b1882a9c 100644
--- a/packages/gcp/readme.md
+++ b/packages/gcp/readme.md
@@ -36,6 +36,7 @@ Navigate to the [Role](https://console.cloud.google.com/iam-admin/roles) screen
- Under ID, type: `RemotionSA`
- For Role launch stage, select `General Availability`
- Click + Add Permissions, and add the following;
+ - iam.serviceAccounts.actAs
- run.routes.invoke
- run.services.create
- run.services.list
@@ -45,30 +46,40 @@ Navigate to the [Role](https://console.cloud.google.com/iam-admin/roles) screen
- storage.objects.create
- storage.objects.delete
- storage.objects.list
+ - run.services.getIamPolicy
+ - run.services.setIamPolicy
- Click the CREATE button
#### 2a. Permission reasons
For information only, here are the reasons for the above permissions
+- iam.serviceAccounts.actAs
+ - When deploying, act as the default service account, which will grant further permissions required during deployment.
+- run.operations.get
+ - Required during deployment to confirm that deployment was successful.
- run.routes.invoke
- - Call the deployed Cloud Run services, in order to perform a render
+ - Call the deployed Cloud Run services, in order to perform a render.
- run.services.create
- Deploy new, and edit existing, Cloud Run services
- run.services.list
- - Get a list of existing Cloud Run services, to ensure no unintended overwriting
+ - Get a list of existing Cloud Run services, to ensure no unintended overwriting.
- run.services.update
- Update a Cloud Run service, for instance providing it with more Memory or CPU.
- storage.buckets.get
- ToDo...
- storage.buckets.list
- - Get a list of existing Cloud Storage resources, to ensure no unintended overwriting of storage buckets
+ - Get a list of existing Cloud Storage resources, to ensure no unintended overwriting of storage buckets.
- storage.objects.create
- Create new objects in storage. This could be bundled sites, or renders, or logs.
- storage.objects.delete
- ToDo...
- storage.objects.list
- ToDo...
+- run.services.getIamPolicy
+ - used to check the existing IAM policy on a service, before modifying it for (un)authenticated invoking.
+- run.services.setIamPolicy
+ - used to set the IAM policy on a service, to allow unauthenticated invoking, or remove unauthenticated invoking.
### 3. Create a service account in the Google Cloud Console