Skip to content

Commit

Permalink
adding environmenttype to bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
fern authored and fern committed Jan 3, 2025
1 parent 095a7f1 commit c4da444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions servers/fdr-deploy/scripts/fdr-deploy-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class FdrDeployStack extends Stack {
publicDocsBucket.grantPublicAccess();

const sophosTestDocsBucket = new Bucket(this, "sophos-test-docs-bucket", {
bucketName: `sophos-test-docs-bucket`,
bucketName: `fdr-${environmentType.toLowerCase()}-sophos-test-docs-bucket`,
blockPublicAccess: {
blockPublicAcls: false,
blockPublicPolicy: false,
Expand All @@ -213,7 +213,7 @@ export class FdrDeployStack extends Stack {
this,
"fdr-docs-files-public-quarantine",
{
bucketName: "fdr-docs-files-public-quarantine",
bucketName: `fdr-${environmentType.toLowerCase()}-docs-files-public-quarantine`,
versioned: true,
encryption: BucketEncryption.S3_MANAGED,
blockPublicAccess: BlockPublicAccess.BLOCK_ALL,
Expand Down

0 comments on commit c4da444

Please sign in to comment.