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
Maybe you need to add Iam permissions (principal) in GCP
@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 ?
@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@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.
@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.