From 7b2c7b67faf4db401beb6582fda7b61694bc56d8 Mon Sep 17 00:00:00 2001 From: yhortuk <17699384+yhortuk@users.noreply.github.com> Date: Sun, 22 Jan 2023 20:47:58 +0200 Subject: [PATCH] fix: public-read option typo --- app/Constructs/BucketConstruct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Constructs/BucketConstruct.php b/app/Constructs/BucketConstruct.php index dbd6dda..1c66cf9 100644 --- a/app/Constructs/BucketConstruct.php +++ b/app/Constructs/BucketConstruct.php @@ -19,7 +19,7 @@ protected function setupBuckets(): self $bucketRef = ['BucketName' => new TaggedValue('GetAtt', "$bucketStack.Outputs.BucketName"),]; $bucketAccess = [ 'private' => 'Private', - 'pulic-read' => 'PublicRead' + 'public-read' => 'PublicRead' ][Arr::get($bucketDefinition, 'access')] ?? 'Private'; $this->append('Policies', [