Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit bd64f38

Browse files
authored
Update to version v1.0.11
- Node module updates (fixing dependabot warnings) - Enabled Amazon S3 server access logging on logging bucket(s) - Some code formatting
2 parents 8a79c94 + cf615a3 commit bd64f38

File tree

11 files changed

+1711
-4331
lines changed

11 files changed

+1711
-4331
lines changed

CHANGELOG.md

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

8+
## [1.0.11] - 2023-04-18
9+
10+
### Changed
11+
12+
- Node module updates
13+
- Enabled Amazon S3 server access logging on logging bucket(s)
14+
815
## [1.0.10] - 2023-03-06
916

1017
### Added
11-
- Support for GovCloud deployment. Note: because of the absence of Amazon CloudFront in GovCloud, the deployment would need
12-
setting up a webserver outside of the deployment and copying the client app (UI) to the webserver resource for the front-end
13-
to work.
18+
19+
- Support for GovCloud deployment. Note: because of the absence of Amazon CloudFront in GovCloud, the deployment would need
20+
setting up a webserver outside of the deployment and copying the client app (UI) to the webserver resource for the front-end
21+
to work.
1422

1523
### Fixed
24+
1625
- Bug fix - address AWS CodePipeline and hence deployment failure because of an incorrect option in the `aws logs` API call
1726

1827
## [1.0.9] - 2023-02-13

deployment/document-understanding-cicd/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ exports.handler = async (event, context) => {
161161

162162
Logger.log(
163163
Logger.levels.ROBUST,
164-
`Commit successful, resp is ${resp}`
164+
`Commit successful, resp is ${JSON.stringify(resp)}`
165165
);
166166

167167
parentCommitId = resp.commitId;
@@ -170,15 +170,15 @@ exports.handler = async (event, context) => {
170170
} catch (ex) {
171171
Logger.log(
172172
Logger.levels.ROBUST,
173-
`It failed, continuing, error is: ${ex}`
173+
`It failed on ${JSON.stringify(
174+
codeCommitParams
175+
)}, \n continuing, error is: ${ex}`
174176
);
175177

176178
resp = "failed";
177179
// Avoiding throttling
178180
await new Promise((r) => setTimeout(r, 5000));
179181
}
180-
181-
// parentCommitId = resp.commitId;
182182
}
183183

184184
const _responseData = {

0 commit comments

Comments
 (0)