Skip to content

Commit 329f384

Browse files
authored
Merge pull request #441 from lbl-srg/issue440_deployError
added blockPublicAccess specification
2 parents 40849b1 + 6677045 commit 329f384

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cdk/lib/cdk-stack.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ export class LblCdkStack extends cdk.Stack {
2222
const bucket = new Bucket(this, `lbl-client-${stage}`, {
2323
bucketName: `lbl-client-${stage}`,
2424
publicReadAccess: true,
25+
blockPublicAccess: {
26+
blockPublicAcls: false,
27+
blockPublicPolicy: false,
28+
ignorePublicAcls: false,
29+
restrictPublicBuckets: false,
30+
},
2531
websiteIndexDocument: "index.html",
2632
websiteErrorDocument: "index.html",
2733
autoDeleteObjects: true,

0 commit comments

Comments
 (0)