Skip to content

Commit

Permalink
Merge pull request #36 from bitlogic/master
Browse files Browse the repository at this point in the history
Update RDS server versions, postgres version and moodle version
  • Loading branch information
dgomesbr authored Oct 28, 2022
2 parents 7016726 + 3b2c6d3 commit 0b82925
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions templates/03-rds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ Parameters:
Type: String
DatabaseInstanceType:
AllowedValues:
- db.r4.large
- db.r4.xlarge
- db.r4.2xlarge
- db.r4.4xlarge
- db.r4.8xlarge
- db.r4.16xlarge
- db.r5.large
- db.r5.xlarge
- db.r5.2xlarge
- db.r5.4xlarge
- db.r5.8xlarge
- db.r5.16xlarge
ConstraintDescription: Must be a valid RDS instance class.
Default: db.r4.large
Default: db.r5.large
Description: The Amazon RDS database instance class.
Type: String
# DatabaseMasterUsername:
Expand Down Expand Up @@ -151,7 +151,7 @@ Resources:
DatabaseName: !Ref DatabaseName
DBSubnetGroupName: !Ref DataSubnetGroup
Engine: aurora-postgresql
DBClusterParameterGroupName: default.aurora-postgresql12
DBClusterParameterGroupName: default.aurora-postgresql13
KmsKeyId:
!If [ UseAWS-ManagedCMK, !Ref 'AWS::NoValue', !Ref DatabaseCmk ]
MasterUsername: !Join ['', ['{{resolve:secretsmanager:', !Ref MyRDSInstanceSecretArn, ':SecretString:username}}' ]]
Expand Down
2 changes: 1 addition & 1 deletion templates/04-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ Resources:
/tmp/install_moodle.sh:
content: !Sub |
#!/bin/bash -xe
wget -O /tmp/moodle.tgz https://download.moodle.org/download.php/direct/stable38/moodle-3.8.3.tgz
wget -O /tmp/moodle.tgz https://download.moodle.org/download.php/direct/stable400/moodle-4.0.2.tgz
tar -xvzf /tmp/moodle.tgz --strip-components=1 -C /var/www/moodle/html/
wget -O /var/www/moodle/html/lib/aws.phar https://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.phar
cp /tmp/config.php /var/www/moodle/html/config.php
Expand Down

0 comments on commit 0b82925

Please sign in to comment.