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

Commit dee640f

Browse files
authored
Update to version v1.0.4
Update to version v1.0.4
2 parents 22c91dd + 1d42f16 commit dee640f

File tree

116 files changed

+15446
-35702
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+15446
-35702
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ 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.4] - 2022-08-10
9+
### Changed
10+
- update `cdk` from 1.132 to 1.158.0
11+
- update `aws-sdk` to 2.1182.0 for Lambdas with Nodejs runtimes
12+
- update `boto3` to 1.24.37 for Lambdas with Python runtimes
13+
- update `react` and `next` node libraries based on compatibility with Node 14.x runtime
14+
- removed `next-sass` as newer version of `next` has the functionality built-in
15+
- removed `node-sass` and added `sass` as the original library is deprecated (https://github.com/sass/node-sass)
16+
817
## [1.0.3] - 2021-11-15
918
- Update `cdk` from 1.42.0 to 1.132.0
1019

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Please ensure you install all requirements before beginning the deployment
113113
`sudo yum -y install jq`
114114

115115
- moto (Required for running the tests)
116-
`pip install moto==1.3.14`
116+
`pip install moto==2.3.2`
117117

118118
- pip3 (Required to install packages)
119119
`curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py`

deployment/document-understanding-cicd/package-lock.json

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

deployment/document-understanding-solution.template

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Metadata:
6565
Mappings:
6666
BuildEnv:
6767
Images:
68-
Standard3: "aws/codebuild/amazonlinux2-x86_64-standard:2.0"
68+
Standard5: "aws/codebuild/standard:5.0"
6969
CDK:
7070
StackName: "DUS"
7171
ClientStackName: "DUSClient"
@@ -178,10 +178,10 @@ Resources:
178178
phases:
179179
install:
180180
runtime-versions:
181-
nodejs: 12
182-
ruby: 2.6
181+
nodejs: 14
182+
ruby: 2.7
183183
commands:
184-
- echo "This buildspec is based on image - aws/codebuild/amazonlinux2-x86_64-standard:2.0"
184+
- echo "This buildspec is based on image - aws/codebuild/amazonlinux2-x86_64-standard:4.0"
185185
- node --version
186186
- echo "Installing jq package"
187187
- wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
@@ -191,8 +191,8 @@ Resources:
191191
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
192192
- python get-pip.py
193193
- echo "Installing moto for running tests"
194-
- pip install moto==1.3.14
195-
- npm install -g cdk@1.42.0
194+
- pip install moto==2.3.2
195+
- npm install -g cdk@1.158.0
196196
- cdk --version
197197
- npm install -g typescript
198198
- tsc --version
@@ -219,8 +219,8 @@ Resources:
219219
files:
220220
- '**/*'
221221
Environment:
222-
ComputeType: BUILD_GENERAL1_SMALL
223-
Image: !FindInMap [BuildEnv, Images, Standard3]
222+
ComputeType: BUILD_GENERAL1_MEDIUM
223+
Image: !FindInMap [BuildEnv, Images, Standard5]
224224
Type: LINUX_CONTAINER
225225
EnvironmentVariables:
226226
- Name: BUILD_OUTPUT_BUCKET
@@ -252,6 +252,10 @@ Resources:
252252
rules_to_suppress:
253253
- id: W58
254254
reason: "Customer resource needs no additional permission to log to Cloudwatch"
255+
- id: W92
256+
reason: "Impossible for us to define the correct concurrency for clients"
257+
- id: W89
258+
reason: "No VPC used in this solution, therefore no need to deploy lambda inside a VPC"
255259
Properties:
256260
Description: "Document Understanding Solution CICD helper"
257261
Code:
@@ -272,7 +276,7 @@ Resources:
272276
],
273277
]
274278
Handler: index.handler
275-
Runtime: nodejs12.x
279+
Runtime: nodejs16.x
276280
Role: !GetAtt CICDHelperRole.Arn
277281
Timeout: 900
278282
MemorySize: 2048
@@ -601,6 +605,7 @@ Resources:
601605
"s3:GetBucketAcl",
602606
"s3:PutBucketAcl",
603607
"s3:GetEncryptionConfiguration",
608+
"s3:PutBucketTagging",
604609
"s3:PutEncryptionConfiguration",
605610
"s3:PutPublicAccessBlock",
606611
"s3:GetPublicAccessBlock",
@@ -930,7 +935,7 @@ Outputs:
930935
Value: !Sub ${CodeCommitRepository}
931936
PipelineBuildImage:
932937
Description: "Image used to build this pipeline"
933-
Value: !FindInMap [BuildEnv, Images, Standard3]
938+
Value: !FindInMap [BuildEnv, Images, Standard5]
934939
PipelineS3Artifacts:
935940
Description: "Bucket for CodePipeline to store build artifacts"
936941
Value: !Ref ArtifactS3Bucket

0 commit comments

Comments
 (0)