diff --git a/CHANGELOG.md b/CHANGELOG.md index b6fa5cff..d33b5d1c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.1] - 2023-04 +### Fixed +- Fix deployment failure due to S3 ACL changes + ## [1.0.0] - 2023-03-16 ### Added - All files, initial version diff --git a/docs/en/implementation-guide/release-notes.md b/docs/en/implementation-guide/release-notes.md index 1effa909..d97946fa 100644 --- a/docs/en/implementation-guide/release-notes.md +++ b/docs/en/implementation-guide/release-notes.md @@ -1,3 +1,4 @@ | Date | Change | |---------------|-------------------| +| April 2023 | Fix deployment failure due to S3 ACL changes. | | March 2023 | Initial release. | \ No newline at end of file diff --git a/docs/zh/implementation-guide/release-notes.md b/docs/zh/implementation-guide/release-notes.md index f3d77392..9c6137e6 100755 --- a/docs/zh/implementation-guide/release-notes.md +++ b/docs/zh/implementation-guide/release-notes.md @@ -1,3 +1,4 @@ | 日期 | 更新记录 | |---------------|-------------------| +| 2023 年 4 月 | 修复由于S3 ACL 变化而导致的部署失败问题 | | 2023 年 3 月 | 首次发布版本 1.0.0 | \ No newline at end of file diff --git a/source/constructs/lib/main-stack.ts b/source/constructs/lib/main-stack.ts index ff882ca4..e6502a88 100644 --- a/source/constructs/lib/main-stack.ts +++ b/source/constructs/lib/main-stack.ts @@ -369,6 +369,7 @@ export class MainStack extends Stack { encryption: s3.BucketEncryption.S3_MANAGED, blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL, accessControl: s3.BucketAccessControl.LOG_DELIVERY_WRITE, + objectOwnership: s3.ObjectOwnership.OBJECT_WRITER, versioned: true, enforceSSL: true, lifecycleRules: [ diff --git a/source/constructs/package.json b/source/constructs/package.json index 5235eb63..051b0103 100644 --- a/source/constructs/package.json +++ b/source/constructs/package.json @@ -18,8 +18,8 @@ "@types/jest": "27.5.0", "@types/node": "10.17.27", "@types/prettier": "2.6.0", - "aws-cdk": "2.59.0", - "aws-cdk-lib": "2.59.0", + "aws-cdk": "2.74.0", + "aws-cdk-lib": "2.74.0", "aws-sdk": "2.814.0", "constructs": "10.1.85", "jest": "27.5.1", @@ -31,7 +31,7 @@ "@aws-cdk/aws-appsync-alpha": "2.59.0-alpha.0", "@aws-cdk/aws-kinesisfirehose-alpha": "2.59.0-alpha.0", "@aws-cdk/aws-kinesisfirehose-destinations-alpha": "2.59.0-alpha.0", - "@aws-solutions-constructs/aws-cloudfront-s3": "2.30.0", + "@aws-solutions-constructs/aws-cloudfront-s3": "2.38.0", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", "eslint": "^8", @@ -40,8 +40,8 @@ "eslint-import-resolver-typescript": "^2.7.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-prettier": "^3.4.1", - "aws-cdk": "2.59.0", - "aws-cdk-lib": "2.59.0", + "aws-cdk": "2.74.0", + "aws-cdk-lib": "2.74.0", "cdk-nag": "2.16.0", "constructs": "10.1.85", "source-map-support": "0.5.16"