Skip to content

Commit f547908

Browse files
committed
Update Aurora PostgreSQL version. Remove package-lock.json before React
build to avoid ansi-html-community version errors.
1 parent 96208a9 commit f547908

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

resources/lab1.template

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ Resources:
823823
RDSClusterParameterGroup:
824824
Type: AWS::RDS::DBClusterParameterGroup
825825
Properties:
826-
Family: aurora-postgresql10
826+
Family: aurora-postgresql13
827827
Description: saas-factory-srvls-wrkshp-rds-cluster-parameters
828828
Parameters:
829829
ssl: true
@@ -835,7 +835,7 @@ Resources:
835835
AvailabilityZones: [ !Select [0, !GetAZs ''], !Select [1, !GetAZs ''] ]
836836
DBSubnetGroupName: !Ref RDSSubnetGroup
837837
Engine: aurora-postgresql
838-
EngineVersion: 10.14
838+
EngineVersion: 13.6
839839
Port: 5432
840840
DBClusterParameterGroupName: !Ref RDSClusterParameterGroup
841841
VpcSecurityGroupIds:
@@ -875,7 +875,7 @@ Resources:
875875
AvailabilityZones: [ !Select [0, !GetAZs ''], !Select [1, !GetAZs ''] ]
876876
DBSubnetGroupName: !Ref RDSSubnetGroup
877877
Engine: aurora-postgresql
878-
EngineVersion: 10.14
878+
EngineVersion: 13.6
879879
Port: 5432
880880
DBClusterParameterGroupName: !Ref RDSClusterParameterGroup
881881
VpcSecurityGroupIds:
@@ -915,7 +915,7 @@ Resources:
915915
AvailabilityZones: [ !Select [0, !GetAZs ''], !Select [1, !GetAZs ''] ]
916916
DBSubnetGroupName: !Ref RDSSubnetGroup
917917
Engine: aurora-postgresql
918-
EngineVersion: 10.14
918+
EngineVersion: 13.6
919919
Port: 5432
920920
DBClusterParameterGroupName: !Ref RDSClusterParameterGroup
921921
VpcSecurityGroupIds:
@@ -955,7 +955,7 @@ Resources:
955955
AvailabilityZones: [ !Select [0, !GetAZs ''], !Select [1, !GetAZs ''] ]
956956
DBSubnetGroupName: !Ref RDSSubnetGroup
957957
Engine: aurora-postgresql
958-
EngineVersion: 10.14
958+
EngineVersion: 13.6
959959
Port: 5432
960960
DBClusterParameterGroupName: !Ref RDSClusterParameterGroup
961961
VpcSecurityGroupIds:

resources/website-lab2.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ sed -i -r -e 's|(^\s+)(base_url: )(process.env.REACT_APP_BASE_URL,)|//\1\2\3\n\1
4747

4848
echo
4949
echo "Installing NodeJS dependencies"
50+
rm -f package-lock.json
5051
npm install npm-force-resolutions
5152
npm install
5253

resources/website-lab3.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ sed -i -r -e 's|(^\s+)(base_url: )("https://.+\.execute-api\..+\.amazonaws\.com/
4949

5050
echo
5151
echo "Installing NodeJS dependencies"
52+
rm -f package-lock.json
53+
npm install npm-force-resolutions
5254
npm install
5355

5456
echo

resources/website-lab4.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ sed -i -r -e 's|(^\s+)(base_url: )("https://.+\.execute-api\..+\.amazonaws\.com/
4949

5050
echo
5151
echo "Installing NodeJS dependencies"
52+
rm -f package-lock.json
53+
npm install npm-force-resolutions
5254
npm install
5355

5456
echo

0 commit comments

Comments
 (0)