Google Cloud Storage "create document" node storing to Buildship storage
I am trying to use the GCS node to store to a Google Cloud Storage bucket. I have followed the instructions for setting that up from this doc: https://docs.buildship.com/tutorials/gcp-storage
Buildship seems to be using its GCS though and I haven't been able to figure out how to get it to switch to using my GC account.
Storing Files using GCP File Storage – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
3 Replies
To connect your own Google Cloud Platform (GCP) project with BuildShip and use your own GCS bucket, follow these steps:
1. Access BuildShip Settings:
- Navigate to the Settings section, which is located in the top-left corner of your BuildShip dashboard, next to the Project Name.
- Under the General tab in BuildShip Settings, you will find information about the underlying Firebase Project ID and Service Account details.
- Copy the Service Account details as you will need this information to grant access to your GCP project.
2. Grant Access in Firebase IAM & Admin:
- Open a new browser tab or window and go to your Firebase Project's Google Cloud Platform (GCP) Console.
- Navigate to the IAM & Admin section from the Firebase project's GCP Console.
- Click on the "Grant Access" button to add a new principal.
- Paste the Service Account details you copied from BuildShip into the "New Principal" field.
- Assign the role of "Storage Admin" to the Service Account.
- Hit the "Save" button to grant access to the Service Account.
3. Getting your Storage Bucket ID:
- Go to your Google Cloud Console and navigate to the "Cloud Storage Buckets" section.
- You can either choose an existing bucket or create a new one.
- Click on the name of the bucket you want to use and copy the Bucket ID from this location.
4. Insert a Google Cloud Storage Node:
- From the Node Explorer within BuildShip, insert a Google Cloud Storage integration node into your workflow.
- Add the Bucket ID of your GCP project to which you want to add the data.
For detailed steps and further information, you can refer to the BuildShip GCP Storage documentation.
If you continue to face issues, please submit a request via the in-app support button for further assistance.
The only thing I can think is that I set up the node before I gave the service account Storage Admin permissions. I'm going to try building the workflow from scratch to see if that fixes the issue.
Did not help.
@BeeGee, The Runtime Service Account, sometimes takes time to connect, if you have setup correctly, it should work though, what result are you getting in the node when you test with GCS nodes, if you can share we can help further.