Skip to content

Commit

Permalink
Merge pull request #3909 from 3scale/fix-s3-confg
Browse files Browse the repository at this point in the history
Fix amazon_s3.yml config for FILE_UPLOAD_STORAGE=filesystem
  • Loading branch information
mayorova authored Oct 8, 2024
2 parents 4d9e14e + e74614b commit 4dbb1d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/examples/amazon_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ s3: &s3
force_path_style: <%= ENV['AWS_PATH_STYLE'].presence || false %>

development:
<<: *<%= ENV['FILE_UPLOAD_STORAGE'].presence || 'default' %>
<<: *<%= ENV['FILE_UPLOAD_STORAGE'] == 's3' ? 's3' : 'default' %>

test: &test
access_key_id: invalid
Expand All @@ -22,4 +22,4 @@ test: &test
region: "us-east-1"

production:
<<: *<%= ENV['FILE_UPLOAD_STORAGE'].presence || 'default' %>
<<: *<%= ENV['FILE_UPLOAD_STORAGE'] == 's3' ? 's3' : 'default' %>

0 comments on commit 4dbb1d6

Please sign in to comment.