N
Novu4mo ago
Madesh

Novu with GCP Storage bucket access issue.

I was trying to access google storage bucket to store my custom logo to use in novu workflow template. But while access the storage bucket from Novu api facing following issue, Permission 'iam.serviceAccounts.signBlob' denied on resource (or it may not exist) Help me on this issue. Do i need to add GCS_DOMAIN environment variable compulsory ?
5 Replies
Bhargav Shirin⚔
Maybe you need to add Iam permissions (principal) in GCP
Madesh
Madesh4mo ago
@Bhargav Shirin⚔ Thanks for your response. If possible can you help with exact permission. @Bhargav Shirin⚔ GCS_DOMAIN: undefined getting this error if I am not passed GCS Domain variable name. Is this mandatory variable for novu api ? @Support any update on this issue ?
Pawan Jain
Pawan Jain4mo ago
@Madesh Yes GCS_DOMAIN is a required environment variable if CDN_URL is not set ref:- https://github.com/novuhq/novu/blob/next/packages/application-generic/src/services/storage/storage.service.ts#L189
Madesh
Madesh4mo ago
@Pawan Jain Thanks for the response. Help me with the GCP DOMAIN url config documentation if you have. Share any sample url so then I will try to find in my GCP project.
Pawan Jain
Pawan Jain4mo ago
@Madesh Guides/documentation for setting up GCP storage in community self hosting is not in our immediate readmap/plan I will share it with team to plan this.