Skip to content

Commit d75e9d0

Browse files
authored
Merge pull request #111 from YikaiHu/main
Update to version v1.0.1
2 parents 1ce7dc8 + 70d0df7 commit d75e9d0

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.0.1] - 2023-04
8+
### Fixed
9+
- Fix deployment failure due to S3 ACL changes
10+
711
## [1.0.0] - 2023-03-16
812
### Added
913
- All files, initial version
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
| Date | Change |
22
|---------------|-------------------|
3+
| April 2023 | Fix deployment failure due to S3 ACL changes. |
34
| March 2023 | Initial release. |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
| 日期 | 更新记录 |
22
|---------------|-------------------|
3+
| 2023 年 4 月 | 修复由于S3 ACL 变化而导致的部署失败问题 |
34
| 2023 年 3 月 | 首次发布版本 1.0.0 |

source/constructs/lib/main-stack.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ export class MainStack extends Stack {
369369
encryption: s3.BucketEncryption.S3_MANAGED,
370370
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
371371
accessControl: s3.BucketAccessControl.LOG_DELIVERY_WRITE,
372+
objectOwnership: s3.ObjectOwnership.OBJECT_WRITER,
372373
versioned: true,
373374
enforceSSL: true,
374375
lifecycleRules: [

source/constructs/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"@types/jest": "27.5.0",
1919
"@types/node": "10.17.27",
2020
"@types/prettier": "2.6.0",
21-
"aws-cdk": "2.59.0",
22-
"aws-cdk-lib": "2.59.0",
21+
"aws-cdk": "2.74.0",
22+
"aws-cdk-lib": "2.74.0",
2323
"aws-sdk": "2.814.0",
2424
"constructs": "10.1.85",
2525
"jest": "27.5.1",
@@ -31,7 +31,7 @@
3131
"@aws-cdk/aws-appsync-alpha": "2.59.0-alpha.0",
3232
"@aws-cdk/aws-kinesisfirehose-alpha": "2.59.0-alpha.0",
3333
"@aws-cdk/aws-kinesisfirehose-destinations-alpha": "2.59.0-alpha.0",
34-
"@aws-solutions-constructs/aws-cloudfront-s3": "2.30.0",
34+
"@aws-solutions-constructs/aws-cloudfront-s3": "2.38.0",
3535
"@typescript-eslint/eslint-plugin": "^5",
3636
"@typescript-eslint/parser": "^5",
3737
"eslint": "^8",
@@ -40,8 +40,8 @@
4040
"eslint-import-resolver-typescript": "^2.7.1",
4141
"eslint-plugin-import": "^2.26.0",
4242
"eslint-plugin-prettier": "^3.4.1",
43-
"aws-cdk": "2.59.0",
44-
"aws-cdk-lib": "2.59.0",
43+
"aws-cdk": "2.74.0",
44+
"aws-cdk-lib": "2.74.0",
4545
"cdk-nag": "2.16.0",
4646
"constructs": "10.1.85",
4747
"source-map-support": "0.5.16"

0 commit comments

Comments
 (0)