Skip to content

Commit

Permalink
chore(infra): align the s3 stack with the new defaults (aws-amplify#2958
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF authored and Stivenmore committed Jun 9, 2023
1 parent 616bbc3 commit a0a56a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/lib/storage/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ class StorageIntegrationTestEnvironment extends IntegrationTestStackEnvironment<
transferAcceleration: true,
removalPolicy: RemovalPolicy.DESTROY,
autoDeleteObjects: true,
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
enforceSSL: true,
objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_ENFORCED,
cors: [
// Matches configuration generated by Amplify CLI
{
Expand Down

0 comments on commit a0a56a8

Please sign in to comment.