Closed rverenich closed 6 months ago
To export data from Cloud SQL to Cloud Storage, the service account should have the roles/storage.legacyBucketWriter role on the bucket. This role allows writing objects to the bucket but doesn't allow listing them
Note: The roles/storage.legacyBucketWriter role is a legacy role and might not be recommended for all use cases. For more granular control, consider using roles like roles/storage.objectCreator or roles/storage.objectAdmin.
Based on this export workflow does not delete exports in bucket, it only exports to bucket so this might be something else
after a while, this workflow started woking again without permissions missing are: [storage.objects.delete]
. This issue may be closed for now
https://github.com/terraform-google-modules/terraform-google-sql-db/blob/fc37d6e6a7c37625ea95770d386e4b3033926926/modules/backup/main.tf#L140-L145
received today stopped working because this permission appeared to be needed
(previously
role = "roles/storage.objectCreator"
was enough)