Use Google Cloud Storage Instead of S3

Hi

I testing gcs backup using default config.

DISCOURSE_S3_BACKUP_BUCKET: falcoland-files/backup
DISCOURSE_BACKUP_LOCATION: s3

and add special policy on gcs

policy = {
    "serviceAccount:${google_service_account.discourse.email}" = [
      "roles/storage.legacyBucketOwner"
    ]
  }

it is success send backup to gcs.

I hope it will help someone like me who spend 1 week to apply it.

GCS Storage

6 Likes