Skip to content

Commit

Permalink
unblock sui-tool download-db-snapshot (#16979)
Browse files Browse the repository at this point in the history
## Description 

@tharbert noticed `sui-tool download-db-snapshot` doesn't currently work
against our requester pays bucket. this fixes the problem.

I'll cherry-pick this fix so it's included in the next release and
doesn't break @tharbert's statefulset
  • Loading branch information
johnjmartin authored Apr 1, 2024
1 parent 98d0ee1 commit a267d5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/sui-tool/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,8 @@ impl ToolCommand {
"GCS_SNAPSHOT_SERVICE_ACCOUNT_FILE_PATH",
)
.ok(),
google_project_id: env::var("GCS_SNAPSHOT_SERVICE_ACCOUNT_PROJECT_ID")
.ok(),
object_store_connection_limit: 200,
no_sign_request,
..Default::default()
Expand Down

0 comments on commit a267d5e

Please sign in to comment.