Skip to content

Commit 2a5d738

Browse files
authored
fix: update for s3 policy change (#185)
1 parent 0e67f2d commit 2a5d738

File tree

6 files changed

+160
-26
lines changed

6 files changed

+160
-26
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
# Change Log
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
56
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
67

8+
## [1.0.2] - 2023-04-19
9+
10+
### Fix
11+
12+
- [source]: resolve the issues caused by S3 policy change
13+
714
## [1.0.1] - 2022-07-01
15+
816
### Fix
17+
918
- [notebook]: pin the source code in experimental notebook
1019

1120
## [1.0.0] - 2022-05-20
21+
1222
### Added
23+
1324
- All files, initial version

source/cdk.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"app": "npx ts-node --prefer-ts-exts src/main.ts"
2+
"app": "npx ts-node --prefer-ts-exts src/main.ts",
3+
"context": {
4+
"@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": true
5+
}
36
}

source/package-lock.json

Lines changed: 141 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
"typescript": "^4.3.5"
4242
},
4343
"dependencies": {
44-
"@aws-cdk/aws-batch-alpha": "^2.20.0-alpha.0",
44+
"@aws-cdk/aws-batch-alpha": "2.59.0-alpha.0",
4545
"@aws-sdk/client-cloudformation": "^3.48.0",
46-
"aws-cdk": "^2.20.0",
47-
"aws-cdk-lib": "^2.20.0",
46+
"aws-cdk": "2.74.0",
47+
"aws-cdk-lib": "2.74.0",
4848
"cdk-bootstrapless-synthesizer": "^2.2.0",
4949
"constructs": "^10.0.0",
5050
"mustache": "^4.2.0",

source/src/molecular-unfolding/cdk/stack-main.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ export class MainStack extends SolutionStack {
185185
serverAccessLogsPrefix: `accesslogs/${bucketName}/`,
186186
});
187187

188-
s3bucket.node.addDependency(logS3bucket);
189-
190188
new CfnOutput(this, 'BucketName', {
191189
value: s3bucket.bucketName,
192190
description: 'S3 Bucket Name',

source/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "1.0.1"
2+
"version": "1.0.2"
33
}

0 commit comments

Comments
 (0)